Meine xorg.conf ist eine von nvidia-xconfig erstellte, lediglich einige Comments entfernt und die deutsche Tastaturbelegung hinzugefügt.
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
Option "XkbModel" "pc105"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LEN"
HorizSync 53.0 - 63.0
VertRefresh 50.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 570M"
Option "NoLogo" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1400x1050_60 +0+0; nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Wenn ich per nvidia-settings nun den 2. Monitor aktiviere, sieht es wie folgt aus:
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "CRT: 1920x1200_60 +1400+0, DFP: 1400x1050_60 +0+150; CRT: NULL, DFP: nvidia-auto-select +0+0; CRT: NULL, DFP: 1400x1050_40 +0+0; CRT: NULL, DFP: 1400x1050_50 +0+0; CRT: NULL, DFP: 1280x1024 +0+0; CRT: NULL, DFP: 1280x960 +0+0; CRT: NULL, DFP: 800x512 +0+0; CRT: NULL, DFP: 720x450 +0+0; CRT: NULL, DFP: 640x512 +0+0; CRT: NULL, DFP: 640x480 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Der Code steht so jedoch nie in der xorg.conf, ich klicke immer nur auf "Apply" um beim nächsten Start den Laptop wieder die normale Einstellung zu haben 🙂