Skip to content

Instantly share code, notes, and snippets.

@kassner kassner/xorg.conf Secret
Created Jun 27, 2018

Embed
What would you like to do?
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "nvidia" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Module"
Load "modesetting"
Load "glx"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
Option "AccelMethod" "none"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVidia Corporation"
BusID "PCI:1:0:0"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0 - 90.0
VertRefresh 43.0 - 90.0
DisplaySize 344 194
Option "DPMS" "true"
Modeline "1920x1080@60" 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Virtual 1920 1080
Modes "1920x1080@60"
Depth 24
EndSubSection
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.