Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jrgleason/4fe002d1a076dc69902fd96ce38ed148 to your computer and use it in GitHub Desktop.
Save jrgleason/4fe002d1a076dc69902fd96ce38ed148 to your computer and use it in GitHub Desktop.
Basic xorg
Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
BusID "PCI:1:0:0" # Adjust this if necessary
Option "Monitor0" "Monitor0"
Option "Monitor1" "Monitor1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device0"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment