Skip to content

Instantly share code, notes, and snippets.

@hub-cap
Created April 9, 2014 17:56
Show Gist options
  • Save hub-cap/10297360 to your computer and use it in GitHub Desktop.
Save hub-cap/10297360 to your computer and use it in GitHub Desktop.
baz@rainicorn:~$ cat /usr/share/X11/xorg.conf.d/99-x1-synaptics.conf
section "InputClass"
Identifier "nathan touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "synaptics"
# three fingers for the middle button
Option "TapButton3" "2"
# drag lock
Option "LockedDrags" "1"
# accurate tap-to-click!
Option "FingerLow" "10"
Option "FingerHigh" "16"
# prevents too many intentional clicks
Option "PalmDetect" "0"
# "natural" vertical and horizontal scrolling
Option "VertTwoFingerScroll" "1"
Option "VertScrollDelta" "-40"
Option "HorizTwoFingerScroll" "1"
Option "HorizScrollDelta" "-75"
Option "MinSpeed" "1"
Option "MaxSpeed" "1"
Option "AccelerationProfile" "2"
Option "ConstantDeceleration" "4"
EndSection
section "InputClass"
Identifier "t440 top buttons"
MatchDriver "synaptics"
# right btn|middle btn
Option "SoftButtonAreas" "60% 0 0 0 40% 60% 0 0"
Option "AreaTopEdge" "2500"
Option "TapButton1" "1"
Option "TapButton2" "3"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment