Skip to content

Instantly share code, notes, and snippets.

@irfn
Created January 5, 2010 01:43
Show Gist options
  • Save irfn/269061 to your computer and use it in GitHub Desktop.
Save irfn/269061 to your computer and use it in GitHub Desktop.
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
# FontPath "/usr/share/fonts/100dpi/"
# FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "dbe"
Load "dri"
Load "freetype"
Load "type1"
Load "synaptics"
# Load "GLcore"
# Load "vbe"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
# Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "SHMConfig" "true"
Option "LeftEdge" "100"
Option "RightEdge" "1120"
Option "TopEdge" "50"
Option "BottomEdge" "310"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "50"
Option "MinSpeed" "0.79"
Option "MaxSpeed" "0.88"
Option "AccelFactor" "0.0015"
# Option "HorizScrollDelta" "0"
EndSection
Section "Device"
Identifier "nvidia"
VendorName "nVidia Corporation"
BoardName "Geforce"
Driver "nvidia"
BusID "PCI:0:2:0"
Screen 0
Option "RenderAccel" "True"
Option "CursorShadow" "True"
Option "AGPFastWrite" "True"
Option "EnablePageFlip" "True"
Option "NoLogo" "True"
Option "Coolbits" "1"
Option "UseFBDev" "True"
Option "AllowGLXWithComposite" "True"
EndSection
Section "Monitor"
Identifier "Built-in LCD"
VendorName "APP"
ModelName "9c5f"
HorizSync 28-64
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Screen 0"
Device "nvidia"
Monitor "Built-in LCD"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Section "ServerLayout"
Identifier "MacBook"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Synaptics Touchpad"
Screen "Screen 0"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment