xorg.conf

No-content post ahoy!

No-one wants to see my xorg.conf, I know, but it took me forever to track down the right things for my touchpad. Damn thing doesn’t support multitouch though :(

(Also, man synaptics is useful.)

Section "Files"
EndSection

Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "gb" EndSection

Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection

Section "InputDevice" Identifier "ALPS Touchpad" Driver "synaptics"

Option "SendCoreEvents" "true"

Option      "Device"        "/dev/input/event5"
Option      "Protocol"      "event"
Option      "SHMConfig"         "true"

Option "HorizEdgeScroll" "1"

Option      "AccelFactor"       "0.2"
Option      "MaxSpeed"          "0.5"

Option      "HorizScrollDelta"  "50"
Option      "VertScrollDelta"   "50"

Option      "TopEdge"           "130"
Option      "LeftEdge"          "130"
Option      "BottomEdge"        "640"
Option      "RightEdge"         "840"

EndSection

Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" Option "Type" "stylus"

Option "ForceDevice" "ISDV4" # Tablet PC ONLY

EndSection

Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" Option "Type" "eraser"

Option "ForceDevice" "ISDV4" # Tablet PC ONLY

EndSection

Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" Option "Type" "cursor"

Option "ForceDevice" "ISDV4" # Tablet PC ONLY

EndSection

Section "Device" Identifier "Generic Video Card" Driver "vesa" BusID "PCI:0:2:0" EndSection

Section "Monitor" Identifier "Generic Monitor" Option "DPMS" EndSection

Section "Screen" Identifier "Default Screen" Device "Generic Video Card" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Modes "1280x800" EndSubSection EndSection

Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse"

Uncomment if you have a wacom tablet

InputDevice     "stylus"    "SendCoreEvents"
InputDevice     "cursor"    "SendCoreEvents"
InputDevice     "eraser"    "SendCoreEvents"
InputDevice "ALPS Touchpad"

EndSection

Tags:

Leave a Reply

You must be logged in to post a comment.