Created
February 27, 2015 10:37
-
-
Save jakubjedelsky/5c9e0c01d60d97733046 to your computer and use it in GitHub Desktop.
Touchpad Synaptics Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# source: https://major.io/2013/08/24/get-a-rock-solid-linux-touchpad-configuration-for-the-lenovo-x1-carbon/ | |
# softlink this file into: | |
# /etc/X11/xorg.conf.d | |
# and prevent the settings app from overwriting our settings: | |
# gsettings set org.gnome.settings-daemon.plugins.mouse active false | |
Section "InputClass" | |
Identifier "touchpad catchall" | |
MatchIsTouchpad "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "synaptics" | |
# Option "TapButton1" "1" | |
# # three fingers for the middle button | |
# Option "TapButton3" "2" | |
# # disable drag lock | |
# Option "LockedDrags" "0" | |
# # accurate tap-to-click! | |
# Option "FingerLow" "35" | |
# Option "FingerHigh" "45" | |
# | |
# # prevents too many intentional clicks | |
# Option "PalmDetect" "0" | |
# | |
# # "natural" vertical and horizontal scrolling | |
# Option "VertTwoFingerScroll" "1" | |
# #Option "VertScrollDelta" "-75" | |
# Option "HorizTwoFingerScroll" "1" | |
# #Option "HorizScrollDelta" "-75" | |
# | |
# Option "MinSpeed" "1" | |
# Option "MaxSpeed" "1" | |
# | |
# Option "AccelerationProfile" "2" | |
# Option "ConstantDeceleration" "4" | |
Option "LeftEdge" "1766" | |
Option "RightEdge" "5384" | |
Option "TopEdge" "1640" | |
Option "BottomEdge" "4500" | |
Option "FingerLow" "35" | |
Option "FingerHigh" "35" | |
Option "MaxTapTime" "180" | |
Option "MaxTapMove" "235" | |
Option "MaxDoubleTapTime" "180" | |
Option "SingleTapTimeout" "180" | |
Option "ClickTime" "100" | |
Option "EmulateMidButtonTime" "0" | |
Option "EmulateTwoFingerMinZ" "282" | |
Option "EmulateTwoFingerMinW" "7" | |
Option "VertScrollDelta" "107" | |
Option "HorizScrollDelta" "107" | |
Option "VertEdgeScroll" "0" | |
Option "HorizEdgeScroll" "0" | |
Option "CornerCoasting" "0" | |
Option "VertTwoFingerScroll" "1" | |
Option "HorizTwoFingerScroll" "1" | |
Option "MinSpeed" "1" | |
Option "MaxSpeed" "1" | |
Option "AccelFactor" "0.0373134" | |
Option "TouchpadOff" "0" | |
Option "LockedDrags" "0" | |
Option "LockedDragTimeout" "5000" | |
Option "RTCornerButton" "0" | |
Option "RBCornerButton" "0" | |
Option "LTCornerButton" "0" | |
Option "LBCornerButton" "0" | |
Option "TapButton1" "1" | |
Option "TapButton2" "3" | |
Option "TapButton3" "0" | |
Option "ClickFinger1" "1" | |
Option "ClickFinger2" "3" | |
Option "ClickFinger3" "2" | |
Option "CircularScrolling" "0" | |
Option "CircScrollDelta" "0.1" | |
Option "CircScrollTrigger" "0" | |
Option "CircularPad" "0" | |
Option "PalmDetect" "0" | |
Option "PalmMinWidth" "10" | |
Option "PalmMinZ" "200" | |
Option "CoastingSpeed" "20" | |
Option "CoastingFriction" "50" | |
Option "PressureMotionMinZ" "30" | |
Option "PressureMotionMaxZ" "160" | |
Option "PressureMotionMinFactor" "1" | |
Option "PressureMotionMaxFactor" "1" | |
Option "GrabEventDevice" "0" | |
Option "TapAndDragGesture" "1" | |
Option "AreaLeftEdge" "0" | |
Option "AreaRightEdge" "0" | |
Option "AreaTopEdge" "0" | |
Option "AreaBottomEdge" "0" | |
Option "HorizHysteresis" "40" | |
Option "VertHysteresis" "40" | |
Option "ClickPad" "1" | |
Option "RightButtonAreaLeft" "3575" | |
Option "RightButtonAreaRight" "0" | |
Option "RightButtonAreaTop" "4133" | |
Option "RightButtonAreaBottom" "0" | |
Option "MiddleButtonAreaLeft" "0" | |
Option "MiddleButtonAreaRight" "0" | |
Option "MiddleButtonAreaTop" "0" | |
Option "MiddleButtonAreaBottom" "0" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment