With a little side of applesauce...

Wednesday, March 5, 2008

Gutsy - Dual Monitors - On and Off

Following the following post:

I created an on/off scripts for using dual monitors, and tied them to Control-F7 and Control-F8. Here are the scripts:

speeves@mylaptop:~$ cat bin/dual_monitor_off.sh

xrandr --output VGA --off
speeves@mylaptop:~$ cat bin/dual_monitor_work.sh

xrandr --output LVDS --auto --output VGA --auto --right-of LVDS
gconftool --type int --set /apps/panel/toplevels/top_panel_screen0/monitor 1

No comments: