Tuesday, November 11, 2008

[UPDATED] Xorg: How to make your synaptics touchpad work the way its supposed to...

UPDATE: it seems that the latest version of synaptics doesn't tap-click with my current settings... I had to add the "TapButton1" option to make it work again. Ive made it bold :)

If you are looking for a way to make your stupid touchpad work correctly under xorg, including the side/scroller, use the following config in xorg.conf:

* NOTE: the following works nicely on a Dell XPS m1530. It might require some tweaking to work with your laptop's touchpad.

Section "InputDevice"
  Identifier "Synaptics Touchpad"
  Driver "synaptics"
  Option "SendCoreEvents" "true"
  Option "Device" "/dev/psaux"
  Option "Protocol" "auto-dev"
  Option "LeftEdge" "120"
  Option "RightEdge" "830"
  Option "TopEdge" "120"
  Option "BottomEdge" "650"
  Option "FingerLow" "14"
  Option "FingerHigh" "15"
  Option "MaxTapTime" "180"
  Option "MaxTapMove" "110"
  Option "ClickTime" "0"
  Option "EmulateMidButtonTime" "75"
  Option "VertScrollDelta" "10"
  Option "HorizScrollDelta" "0"
  Option "MinSpeed" "0.45"
  Option "MaxSpeed" "1.50"
  Option "AccelFactor" "0.040"
  Option "EdgeMotionMinSpeed" "200"
  Option "EdgeMotionMaxSpeed" "200"
  Option "UpDownScrolling" "1"
  Option "CornerCoasting" "true"
  Option "CoastingSpeed" "2"
  Option "VertTwoFingerScroll" "false"
  Option "HorizTwoFingerScroll" "false"
  Option "CircularScrolling" "0"
  Option "SHMConfig" "true"
  Option "TapButton1" "1" # Needed for tap-clicking
EndSection

Don't forget to add it in your layout section:

Section "ServerLayout"
  Identifier "X.Org Configured"
  Screen 0 "Screen0" 0 0
  InputDevice "Keyboard0" "CoreKeyboard"
  InputDevice "Synaptics Touchpad" "AlwaysCore"
  InputDevice "USB Mouse" "AlwaysCore"
EndSection

:)

No comments:

Powered By Blogger