Last active
August 2, 2022 18:25
-
-
Save DavidYKay/9875676 to your computer and use it in GitHub Desktop.
X11 Config for dual / single screen NVIDIA TwinView.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nvidia-settings: X configuration file generated by nvidia-settings | |
# nvidia-settings: version 280.13 (buildd@rothera) Fri Aug 5 12:28:41 UTC 2011 | |
Section "ServerLayout" | |
Identifier "Layout0" | |
Screen 0 "Screen0" 0 0 | |
InputDevice "Keyboard0" "CoreKeyboard" | |
InputDevice "Mouse0" "CorePointer" | |
Option "Xinerama" "0" | |
EndSection | |
Section "Files" | |
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 "InputDevice" | |
# generated from default | |
Identifier "Keyboard0" | |
Driver "kbd" | |
EndSection | |
Section "Monitor" | |
# HorizSync source: edid, VertRefresh source: edid | |
Identifier "Monitor0" | |
VendorName "Unknown" | |
ModelName "CRT-1" | |
HorizSync 30.0 - 70.0 | |
VertRefresh 50.0 - 160.0 | |
Option "DPMS" | |
EndSection | |
Section "Device" | |
Identifier "Device0" | |
Driver "nvidia" | |
VendorName "NVIDIA Corporation" | |
BoardName "GeForce 6200 TurboCache(TM)" | |
EndSection | |
Section "Screen" | |
# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +1024+0" | |
# Removed Option "metamodes" "CRT: 1680x1050 +0+0, DFP: nvidia-auto-select +1024+0" | |
# Removed Option "metamodes" "CRT: 1680x1050 +0+0, DFP: nvidia-auto-select +1680+0" | |
# Removed Option "metamodes" "CRT: 1920x1080 +0+0, DFP: nvidia-auto-select +1920+0" | |
# Removed Option "metamodes" "CRT: 1920x1080 +1920+0, DFP: nvidia-auto-select +0+0" | |
# Removed Option "metamodes" "CRT: 1920x1080 +1920+0, DFP: nvidia-auto-select +0+250" | |
Identifier "Screen0" | |
Device "Device0" | |
Monitor "Monitor0" | |
DefaultDepth 24 | |
Option "TwinView" "1" | |
Option "TwinViewXineramaInfoOrder" "DFP-0" | |
Option "metamodes" "CRT: 1920x1080 +1920+110, DFP: nvidia-auto-select +0+0" | |
SubSection "Display" | |
Depth 24 | |
EndSubSection | |
EndSection | |
a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nvidia-settings: X configuration file generated by nvidia-settings | |
# nvidia-settings: version 280.13 (buildd@rothera) Fri Aug 5 12:28:41 UTC 2011 | |
Section "ServerLayout" | |
Identifier "Layout0" | |
Screen 0 "Screen0" 0 0 | |
InputDevice "Keyboard0" "CoreKeyboard" | |
InputDevice "Mouse0" "CorePointer" | |
Option "Xinerama" "0" | |
EndSection | |
Section "Files" | |
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 "InputDevice" | |
# generated from default | |
Identifier "Keyboard0" | |
Driver "kbd" | |
EndSection | |
Section "Monitor" | |
# HorizSync source: edid, VertRefresh source: edid | |
Identifier "Monitor0" | |
VendorName "Unknown" | |
ModelName "LG Electronics IPS236" | |
HorizSync 30.0 - 83.0 | |
VertRefresh 56.0 - 75.0 | |
Option "DPMS" | |
EndSection | |
Section "Device" | |
Identifier "Device0" | |
Driver "nvidia" | |
VendorName "NVIDIA Corporation" | |
BoardName "GeForce 6200 TurboCache(TM)" | |
EndSection | |
Section "Screen" | |
# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +1024+0" | |
# Removed Option "metamodes" "CRT: 1680x1050 +0+0, DFP: nvidia-auto-select +1024+0" | |
# Removed Option "metamodes" "CRT: 1680x1050 +0+0, DFP: nvidia-auto-select +1680+0" | |
# Removed Option "metamodes" "CRT: 1920x1080 +0+0, DFP: nvidia-auto-select +1920+0" | |
# Removed Option "metamodes" "CRT: 1920x1080 +1920+0, DFP: nvidia-auto-select +0+0" | |
# Removed Option "metamodes" "CRT: 1920x1080 +1920+0, DFP: nvidia-auto-select +0+250" | |
# Removed Option "TwinView" "1" | |
# Removed Option "metamodes" "CRT: 1920x1080 +1920+110, DFP: nvidia-auto-select +0+0" | |
Identifier "Screen0" | |
Device "Device0" | |
Monitor "Monitor0" | |
DefaultDepth 24 | |
Option "TwinView" "0" | |
Option "TwinViewXineramaInfoOrder" "DFP-0" | |
Option "metamodes" "DFP: nvidia-auto-select +0+0" | |
SubSection "Display" | |
Depth 24 | |
EndSubSection | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/DavidYKay/9875676#file-singlehead-xorg-conf-L1 should begin with
#