Skip to content

Instantly share code, notes, and snippets.

@johntyree
Created August 14, 2009 04:26
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 johntyree/167645 to your computer and use it in GitHub Desktop.
Save johntyree/167645 to your computer and use it in GitHub Desktop.
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# Load "freetype" # This loads the font modules
Load "glx" # This loads the GLX module
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
#Section "InputDevice"
# Identifier "Keyboard0"
# Driver "evdev"
# Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
# Option "evBits" "+1"
# Option "keyBits" "~1-255 ~352-511"
# Option "Pass" "3"
# Option "AutoRepeat" "500 30"
# Option "XkbRules" "xorg"
# Option "XkbModel" "evdev"
# Option "XkbLayout" "us.cust"
# Option "XkbVariant" "intl"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
#EndSection
# These are the specifics for my touchpad and evdev.
# I use the metadevice /dev/input/mice to combine them, for now.
#Section "InputDevice"
# Identifier "Touchpad0"
# Driver "evdev"
# Option "Protocol" "Auto"
# Option "Device" "/dev/input/by-path/platform-i8042-serio-1-event-mouse"
# Option "ZAxisMapping" "4 5 6 7"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "2"
#EndSection
#Section "InputDevice"
# Identifier "Mouse0"
# Driver "evdev"
# Option "Protocol" "Auto"
# Option "Device" "/dev/input/evdev1"
# Option "ZAxisMapping" "4 5 6 7"
#EndSection
#Section "InputDevice"
# Identifier "Mice"
# Driver "evdev"
# Option "Protocol" "Auto"
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5 6 7"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
#EndSection
Section "Monitor"
Identifier "Laptop LCD"
VendorName "Unknown"
ModelName "HPDV 15.4"
HorizSync 31.5 - 64.3
VertRefresh 60
Option "DPMS" "On"
EndSection
Section "Monitor"
Identifier "Hanns.g LCD"
VendorName "Hanns.g"
ModelName "HSD Hanns.G Hi221"
HorizSync 31 - 80
VertRefresh 56 - 75
Option "DPMS" "On"
EndSection
#Section "Device"
# Identifier "s-video"
# Driver "nvidia"
# VendorName "Videocard vendor"
# BoardName "NVIDIA GeForce FX (generic)"
# Option "TVStandard" "NTSC"
# Option "TVOutFormat" "SVIDEO"
# Option "SecondMonitorHorizSync" "30-50"
# Option "SecondMonitorVertRefresh" "60"
# Option "TwinViewOrientation" "CLONE"
# Option "ConnectedMonitor" "TV"
# Option "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480"
#EndSection
Section "Device"
Identifier "Integrated Video"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7150M / nForce 630M"
BusID "PCI:0:18:0"
# Option "ConnectedMonitor" "CRT,DFP,TV"
Option "NvAgp" "1"
Option "NoPowerConnectorCheck"
Option "RenderAccel" "On"
Option "NoLogo" "On"
Option "InitialPixmapPlacement" "2"
EndSection
#Section "Screen"
# Identifier "Screen0"
# Device "Integrated Video"
# Monitor "Laptop LCD"
# DefaultDepth 24
# Option "UseEdidDpi" "DFP-0" #Keep laptop's DPI settings
# Option "TwinView" "1"
# Option "TwinViewXineramaInfoOrder" "DFP-0" #Default X Screen
# Option "metamodes" "1680x1050,1280x800;NULL,1280x800"
# Subsection "Display"
# Depth 24
# EndSubsection
# Option "AddARGBGLXVisuals" "True"
# Option "InitialPixmapPlacement" "2"
#EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
# Screen "Screen0"
# InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "Mice" "CorePointer"
# InputDevice "Touchpad0" "CorePointer"
# InputDevice "Mouse0" "SendCoreEvents" #USB evdev
# Option "AllowEmptyInput" "False"
Option "Xinerama" "off" # was "off"
Option "BlankTime" "5"
Option "StandbyTime" "5"
Option "SuspendTime" "5"
Option "OffTime" "5"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment