Skip to content

Instantly share code, notes, and snippets.

@JayWalker512
Created October 7, 2012 05:02
Show Gist options
  • Save JayWalker512/3847163 to your computer and use it in GitHub Desktop.
Save JayWalker512/3847163 to your computer and use it in GitHub Desktop.
Settings for a flawless (working) dual screen setup on my desktop
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 304.51 (buildd@pluot) Tue Sep 25 01:59:08 UTC 2012
#Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
# Identifier "Monitor1"
# VendorName "Unknown"
# ModelName "DELL 1704FPT"
# HorizSync 30.0 - 81.0
# VertRefresh 56.0 - 76.0
# Option "DPMS"
#EndSection
#Section "Device"
# Identifier "Device1"
# Driver "nvidia"
# VendorName "NVIDIA Corporation"
# BoardName "GeForce 210"
# Option "Coolbits" "1"
# BusID "PCI:3:0:0"
#EndSection
#Section "Device"
# Identifier "Device2"
# Driver "nvidia"
# VendorName "NVIDIA Corporation"
# BoardName "GeForce 8800 GT"
# BusID "PCI:1:0:0"
# Screen 1
#EndSection
#Section "Screen"
# Identifier "Screen1"
# Device "Device1"
# Monitor "Monitor1"
# DefaultDepth 24
# Option "TwinViewXineramaInfoOrder" "DFP-0"
# Option "TwinView" "0"
# Option "metamodes" "nvidia-auto-select +0+0"
# SubSection "Display"
# Depth 24
# EndSubSection
#EndSection
#Section "Screen"
# Identifier "Screen2"
# Device "Device2"
# Monitor "Monitor2"
# DefaultDepth 24
# Option "TwinView" "0"
# Option "TwinViewXineramaInfoOrder" "DFP-0"
# Option "metamodes" "DFP: 1920x1080 +0+0"
# SubSection "Display"
# Depth 24
# EndSubSection
#EndSection
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "ServerFlags"
Option "AllowDeactivateGrabs" "True"
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 "Ancor Communications Inc VE228"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Unknown"
ModelName "ACI VE228"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9800 GT"
Option "Coolbits" "1"
EndSection
Section "Screen"
#nvidia why you remove my good configs?
# Removed Option "metamodes" "CRT: 1280x1024 +0+0, DFP: 1920x1080 +1280+0; CRT: 1280x1024 +0+0, DFP: nvidia-auto-select +1280+0; CRT: NULL, DFP: 1920x1080 +0+0; CRT: NULL, DFP: 960x540 +0+0; CRT: NULL, DFP: 800x600 +0+0; CRT: NULL, DFP: 640x480 +0+0;"
#Option "metamodes" "CRT: 1280x1024 +1920+0, DFP: 1920x1080 +0+0; CRT: 1280x1024 +0+0, DFP: nvidia-auto-select +1280+0; CRT: NULL, DFP: 1920x1080 +0+0; CRT: NULL, DFP: 960x540 +0+0; CRT: NULL, DFP: 800x600 +0+0; CRT: NULL, DFP: 640x480 +0+0"
# Removed Option "metamodes" "CRT: 1280x1024 +0+0, DFP: 1920x1080 +1280+0; CRT: 1280x1024 +0+0, DFP: nvidia-auto-select +1280+0; CRT: NULL, DFP: 1920x1080 +0+0; CRT: NULL, DFP: 960x540 +0+0; CRT: NULL, DFP: 800x600 +0+0; CRT: NULL, DFP: 640x480 +0+0;"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
#broken config?
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP: 1920x1080 +0+0, CRT: 1280x1024 +1920+0; DFP: nvidia-auto-select +0+0, CRT: 1280x1024 +1920+0; DFP: 1920x1080 +0+0; DFP: 800x600 +0+0; DFP: 640x480 +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