PDA

View Full Version : [ubuntu] Changing Resolution when undocking Thinkpad - External Monitor



NewProggie
August 3rd, 2009, 10:08 PM
Hello everybody,

i keep my Thinkpad T61 (with nVidia graphics) at home in a docking station, working on an external monitor. I set up the resolution with the nvidia-settings Tool.
Using the Thinkpad in the docking station, I have a 1680x1050 resolution on my external monitor, using just the Thinkpad I use 1400x1050.

However, every time I try to undock the Thinkpad, I still have the 1680x1050 resolution on it (-> wrong rendering) and can't change it back to 1400x1050. Here's the error message from nvidia-settings:



Unable to load X Server Display Configuration page:

Failed to find display device 0x00000001 on screen 0 (on GPU-0)
while parsing metamode:

'CRT-0: 680x384 @680x384 +0+0'


Can somebody please tell me what to do, that Ubuntu automatically changes the resolution, when I'm docking/undocking the Thinkpad?

Thanks in advance

Here's also my xorg.conf



# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Sun Feb 1 20:21:04 UTC 2009


Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Module"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "AL2216W"
HorizSync 31.0 - 84.0
VertRefresh 56.0 - 77.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 31.0 - 84.0
VertRefresh 56.0 - 77.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 140M"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Default Device"
Monitor "AL2216W"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
Modes "1680x1050" "1280x1024" "1024x768"
EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: 1680x1050_60 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection