Alan Chandler wrote: > I am now in the middle of trying to configure X support across two monitors.
A lot of things changed in the Squeeze release timeframe and dual monitor support was one of the big ones. Make sure you have x11-xserver-utils installed in order to get the 'xrandr' program. x11-xserver-utils: /usr/bin/xrandr Then run 'xrandr' without options to have it print out your currently active setup. $ xrandr This should provide some very useful information about attached devices and modes. On mine it shows this: $ xrandr Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 8192 x 8192 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm 1600x1200 60.0*+ 1280x1024 75.0 60.0 1280x960 60.0 1152x864 75.0 1024x768 75.1 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 72.8 75.0 66.7 60.0 720x400 70.1 DP1 disconnected (normal left inverted right x axis y axis) HDMI2 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 408mm x 306mm 1600x1200 60.0*+ 1280x1024 75.0 60.0 1280x960 60.0 1152x864 75.0 1024x768 75.1 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 72.8 75.0 66.7 60.0 720x400 70.1 DP2 disconnected (normal left inverted right x axis y axis) This shows that my two LCD displays are HDMI1 and HDMI2 and both are running at a resolution of 1600x1200. To tell X that these monitors should be positioned relative to the other one I use the following command. $ xrandr --auto --output HDMI2 --right-of HDMI1 I put that in my ~/.xsession file where it is active before starting my window manager. Note that I am running an fvwm configuration, the way I like it. (GNOME for example has an option to do this after session startup and so it isn't needed there.) if xrandr --query | grep -q HDMI2; then xrandr --auto --output HDMI2 --right-of HDMI1 fi Use of xrandr is useful at other times such as when games like SpringRTS crashes and leaves me with one monitor at a reduced resolution. I can then use xrandr to reset the displays and start the game again. :-) Bob
signature.asc
Description: Digital signature