Skip to content

Instantly share code, notes, and snippets.

@shakesoda
Created October 22, 2011 03:24
Show Gist options
  • Save shakesoda/1305558 to your computer and use it in GitHub Desktop.
Save shakesoda/1305558 to your computer and use it in GitHub Desktop.
# shakesoda's xorg.conf with modelines for 640x480 and 800x600 arcade monitors
# tested with a Makvision M2929D4G-TS (h freqs 30-40KHz, v freqs 47-90Hz)
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "DontZap" "false"
Option "DontZoom" "true"
Option "DontVTSwitch" "true"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "void"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# Modeline "800x600" 38.21 800 832 976 1008 600 612 618 631
# Modeline "640x480" 24.11 640 672 760 792 480 490 495 505
#HorizSync 15.75
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 40.0
VertRefresh 60.0
ModeLine "640x480" 12.324 640 648 706 784 480 483 489 524 -hsync +vsync
ModeLine "800x600" 39.63 800 832 912 1024 600 602 608 644 -hsync +vsync
Option "UseEDID" "false"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "UseEDID" "false"
SubSection "Display"
Depth 24
Modes "640x480" "800x600"
EndSubSection
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment