With a little side of applesauce...

Wednesday, March 5, 2008

Gutsy - Dual Monitors

Don't use the displayconfig-gtk tool under Administration, if you have a:

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)

Instead, read this page:
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2

And, read the following section to get your virtual screen size:
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2#Using_xrandr_to_do_useful_things

The following explains the virtual screen concept:
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2#the_Virtual_screen

The previous link broke the concept free in my mind. I then ran:


xrandr --output LVDS --auto --output VGA --auto --right-of LVDS


Noted that my max screen size was 3120x1050, and add the following line to the Display section of /etc/X11/xorg.conf:

Virtual 3120 1050


Pulled the laptop out of the docking station, and restarted X, (ctrl-alt-backspace). I then logged back in, docked the laptop, and ran the following:

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


The first line works with my laptop on the left, and the external monitor on the right. The second line puts the gnome-panel back on the laptop display.

No comments: