Skip to content

Instantly share code, notes, and snippets.

@penguin2716
Last active August 29, 2015 14:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save penguin2716/e8af16a1178a5134aef9 to your computer and use it in GitHub Desktop.
Save penguin2716/e8af16a1178a5134aef9 to your computer and use it in GitHub Desktop.
a part of /etc/X11/xorg.conf.d/50-mtrack.conf (and add "xset m 40/10" to your .xprofile)
Section "InputClass"
Identifier "touchpad catchall"
Driver "mtrack"
MatchIsTouchpad "on"
EndSection
Section "InputClass"
# available options: https://github.com/BlueDragonX/xf86-input-mtrack
Identifier "Multitouch driver settings"
MatchProduct "Apple|bcm5974"
MatchDriver "mtrack"
Option "Sensitivity" "0.25" # between 0 to 1
Option "IgnoreThumb" "true"
Option "IgnorePalm" "true"
Option "FingerHigh" "7"
Option "FingerLow" "7"
Option "ClickTime" "70"
Option "TapButton1" "1" # 1 finger tap
Option "TapButton2" "3" # 2 finger tap
Option "TapButton3" "0" # 3 finger tap
Option "ClickFinger1" "3" # 2 finger click
Option "ClickFinger2" "2" # 3 finger click
Option "ScrollUpButton" "5" # 2 finger swipe up to scroll down
Option "ScrollDownButton" "4" # 2 finger swipe down to scroll up
Option "ScrollLeftButton" "7" # 2 finger swipe left to scroll right
Option "ScrollRightButton" "6" # 2 finger swipe right to scroll left
Option "SwipeDistance" "1400"
Option "SwipeUpButton" "0" # disable back button
Option "SwipeDownButton" "0" # disable next button
Option "SwipeLeftButton" "9" # next
Option "SwipeRightButton" "8" # back
# Option "Swipe4Distance" "1400"
# Option "Swipe4LeftButton" "9" # next
# Option "Swipe4RightButton" "8" # back
Option "TapDragWait" "30" # msec
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment