Skip to content

Instantly share code, notes, and snippets.

@jorgejch
Forked from csarven/touchpadconf.sh
Last active April 21, 2017 04:36
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 jorgejch/5ba0ce781cc1f17bb426e63bd9cf54c2 to your computer and use it in GitHub Desktop.
Save jorgejch/5ba0ce781cc1f17bb426e63bd9cf54c2 to your computer and use it in GitHub Desktop.
Update @aloiscochard's xorg conf with @csarven's touchpadconf.sh mods
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
#1 finger = left click, 2 finger = right click, 3 finger = middle click
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "ClickFinger2" "3"
Option "ClickFinger3" "2"
# enable horizontal two-finger scrolling (vertical is enabled by default)
Option "HorizTwoFingerScroll" "1"
# disable the top edge of the touchpad to prevent jittering when using the trackpoint
Option "AreaTopEdge" "2500"
# configure trackpoint buttons
Option "RightButtonAreaLeft" "3700"
Option "RightButtonAreaRight" "0"
Option "RightButtonAreaTop" "0"
Option "RightButtonAreaBottom" "2300"
Option "MiddleButtonAreaLeft" "2900"
Option "MiddleButtonAreaRight" "3500"
Option "MiddleButtonAreaTop" "0"
Option "MiddleButtonAreaBottom" "2300"
# enable palm detection to disable the touchpad while typing
Option "PalmDetect" "1"
Option "PalmMinWidth" "8"
Option "PalmMinZ" "100"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment