dual head config problem
pkaplan1 at comcast.net
pkaplan1 at comcast.net
Thu Nov 15 14:26:57 PST 2007
I'm running Gutsy on a Thinkpad T43 (intel 915 video card and 1024x768 panel) and a Sony X-95 external monitor (1280x1024) with the xorg.conf file shown at the end of this message.
When X first starts, a 1280x1024 desktop appears on the external monitor and a mirrored 1024x768 desktop appears both on the internal monitor and placed on top and at the upper right of the external monitor. The output of xrandr is:
--------------------------
$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2304 x 1024
VGA connected 1280x1024+0+0 (normal left inverted right) 376mm x 301mm
1280x1024 60.0*+ 75.0 59.9
1280x960 59.9
1024x768 75.1 70.1 60.0
800x600 72.2 75.0 60.3
640x480 75.0 72.8 60.0
720x400 70.1
LVDS connected 1024x768+0+0 (normal left inverted right) 0mm x 0mm
1024x768 57.6*+ 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 72.2 75.0 60.3 56.2
640x480 85.0 72.8 75.0 59.9
720x400 85.0
640x400 85.1
640x350 85.1
TV disconnected (normal left inverted right)
$
----------------------------------
Even though I have the line:
Option "LeftOf" "Monitor-LVDS"
in the monitor stanza for the external monitor (see below), I have to manually execute:
xrandr --output VGA --left-of LVDS
to get a full 2304x1024 virtual desktop with the external monitor to the left of the internal monitor.
How can I hard code this into the xorg.conf file so I don't have to execute everytime I boot the machine with the external monitor?
TIA
Paul
xorg.conf:
--------------------------------------
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Driver "intel"
Option "Monitor-LVDS"
Option "Monitor-VGA"
EndSection
Section "Monitor"
Identifier "Monitor-LVDS"
EndSection
Section "Monitor"
Identifier "Monitor-VGA"
Option "LeftOf" "Monitor-LVDS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Monitor "Monitor-LVDS"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 2304 1024
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
--------------------------------------
More information about the xorg
mailing list