Skip to content

Instantly share code, notes, and snippets.

@cuevasclemente
Created March 13, 2017 18:41
Show Gist options
  • Save cuevasclemente/217880da5febb6463036f47c86d1e731 to your computer and use it in GitHub Desktop.
Save cuevasclemente/217880da5febb6463036f47c86d1e731 to your computer and use it in GitHub Desktop.
My X11 Synaptics config
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "FingerLow" "29"
Option "FingerHigh" "34"
Option "FingerPress" "73"
Option "HorizTwoFingerScroll" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "VertScrollDelta" "-111"
Option "HorizScrollDelta" "-111"
Option "PalmDetect" "1"
Option "PalmMinWidth" "5"
Option "PalmMinZ" "25"
# 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" "50% 0 82% 0 0 0 0 0"
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