Skip to content

Instantly share code, notes, and snippets.

@hkaya

hkaya/xorg.conf Secret

Created September 11, 2019 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkaya/737f2b2cdc0e0bcf6528573887c0e6c0 to your computer and use it in GitHub Desktop.
Save hkaya/737f2b2cdc0e0bcf6528573887c0e6c0 to your computer and use it in GitHub Desktop.
Section "Monitor"
Identifier "HDMI-1"
Option "PreferredMode" "2048x1280_60.00"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "HDMI-2"
Option "PreferredMode" "2048x1280_60.00"
Option "RightOf" "HDMI-1"
EndSection
Section "Device"
Identifier "Intel0"
Driver "intel"
Option "AccelMethod" "sna"
BusID "PCI:0:2:0"
Option "ZaphodHeads" "HDMI1"
Option "TearFree" "true"
Screen 0
EndSection
Section "Device"
Identifier "Intel1"
Driver "intel"
Option "AccelMethod" "sna"
BusID "PCI:0:2:0"
Option "ZaphodHeads" "HDMI2"
Option "TearFree" "true"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Intel0"
Option "AutoServerLayout" "on"
Monitor "HDMI-1"
DefaultDepth 24
EndSection
Section "Screen"
Identifier "Screen1"
Device "Intel1"
Monitor "HDMI-2"
Option "AutoServerLayout" "on"
DefaultDepth 24
EndSection
Section "ServerLayout"
Identifier "default"
Option "AutoServerLayout" "on"
Screen 0 "Screen0"
Screen 1 "Screen1" LeftOf "Screen0"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment