The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)

20120206

ubuntu 11.10 configure multiple desktops, laptop to external monitor with hdmi cable

in ubuntu 11.10 unity, in order to connect my laptop to an LG flatron L246WH monitor that i've rotated to the left so it stands tall, on its side, you have to first enable ubuntu's fglrx driver using jockey-gtk. then open system settings > displays, then select the goldstar company ltd 24" monitor and choose rotation: clockwise. (note: these settings get saved in ~/.config/monitors.xml)

then every time you switch between single and dual desktop mode you have to (at least when switching back to dual mode) go into displays again and set it up.


to automate this process, i made a script i use in a terminal to quickly and easily switch between single and dual desktop mode, called xto:
http://ideone.com/AhmWC

put the script here:
~/

make sure you set it to executable:
chmod +x ~/xto

to set system to dual mode:
cd./xto -m


to set system to single desktop mode:
cd./xto -s


below are the configuration files for single and desktop modes that the script copies to set things up, depending on the command line arg you send to xto.

xorg.single.confhttp://ideone.com/CkIB2
xorg.dual.confhttp://ideone.com/sU5XO
monitors.single.confhttp://ideone.com/XFv5l
monitors.dual.confhttp://ideone.com/2tzhF

place these files in ~/Documents

No comments:

Post a Comment