Skip to content

Instantly share code, notes, and snippets.

@gbishop
Created November 16, 2012 00:04
Show Gist options
  • Save gbishop/4082593 to your computer and use it in GitHub Desktop.
Save gbishop/4082593 to your computer and use it in GitHub Desktop.
nVidia X11 configuration for dual portrait mode monitors
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "SHARP HDMI"
HorizSync 15.0 - 75.0
VertRefresh 23.0 - 76.0
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "metamodes" "DFP-0: 1920x1080_60 +0+0 { Rotation=right }, DFP-1: 1920x1080_60 +1080+0 { Rotation=right }"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
# generated from default
EndSection
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9300 GE"
Option "NoLogo" "True"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment