Skip to content

Instantly share code, notes, and snippets.

@aggrolite
Created February 21, 2015 06:51
Show Gist options
  • Save aggrolite/325850389ea688f53899 to your computer and use it in GitHub Desktop.
Save aggrolite/325850389ea688f53899 to your computer and use it in GitHub Desktop.
Section "ServerLayout"
Identifier "X.org Configured"
Screen 1 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "TouchScreen0" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
# This may be needed to prevent X from ignoring keyboard
# and mouse devices in xorg.conf.
#
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF/"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe"
Load "dri"
Load "dri2"
Load "extmod"
Load "record"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "imps/2"
Option "Device" "/dev/cyapa0-67"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/ums0"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Identifier "TouchScreen0"
Driver "elographics"
Option "Device" "/dev/atmel1-4a"
# Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
#Option "NoAccel" "true" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "DRI" # <str>
Identifier "Card0"
Driver "intel"
#Option "ReprobeOutputs" "true"
#BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment