Created
July 26, 2014 10:36
-
-
Save asmaps/fb8cb97675e7aef6bcde to your computer and use it in GitHub Desktop.
/usr/share/X11/xorg.conf.d/52-custom-synaptics.conf
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
Section "InputClass" | |
Identifier "touchpad catchall" | |
Driver "synaptics" | |
MatchIsTouchpad "on" | |
# disable synaptics driver pointer acceleration | |
Option "MinSpeed" "1" | |
Option "MaxSpeed" "20" | |
# tweak the X-server pointer acceleration | |
Option "AccelerationProfile" "2" | |
Option "AdaptiveDeceleration" "10" | |
Option "ConstantDeceleration" "10" | |
Option "VelocityScale" "54" | |
Option "TapButton1" "1" # left click with one finger tap | |
Option "TapButton2" "3" # middle click with three finger tap | |
Option "TapButton3" "2" # right click with two finger tap | |
# This option is recommend on all Linux systems using evdev, but cannot be | |
# enabled by default. See the following link for details: | |
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html | |
MatchDevicePath "/dev/input/event*" | |
EndSection | |
Section "InputClass" | |
Identifier "touchpad ignore duplicates" | |
MatchIsTouchpad "on" | |
MatchOS "Linux" | |
MatchDevicePath "/dev/input/mouse*" | |
Option "Ignore" "on" | |
EndSection | |
# This option enables the bottom right corner to be a right button on | |
# non-synaptics clickpads. | |
# This option is only interpreted by clickpads. | |
Section "InputClass" | |
Identifier "Default clickpad buttons" | |
MatchDriver "synaptics" | |
Option "SoftButtonAreas" "60% 0 0 8% 40% 60% 0 8%" | |
# To disable the bottom edge area so the buttons only work as buttons, | |
# not for movement, set the AreaBottomEdge | |
Option "AreaTopEdge" "8%" | |
EndSection | |
# This option disables software buttons on Apple touchpads. | |
# This option is only interpreted by clickpads. | |
Section "InputClass" | |
Identifier "Disable clickpad buttons on Apple touchpads" | |
MatchProduct "Apple|bcm5974" | |
MatchDriver "synaptics" | |
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment