Skip to content

Instantly share code, notes, and snippets.

@gchiappe
Last active January 31, 2020 00:29
Show Gist options
  • Save gchiappe/76e540f86a3e70eb36eda4f38b069a64 to your computer and use it in GitHub Desktop.
Save gchiappe/76e540f86a3e70eb36eda4f38b069a64 to your computer and use it in GitHub Desktop.
X11 Thinkpad Synaptics Touchpad Settings
# 52-thinkpad.conf
# This is a X11 configuration file that tunes up the synaptics touchpad using the
# synaptics libinput driver, I made this recopilating settings from different sources.
# Tested in elementaryOS 5.1
# Install HWE synaptics driver for Ubuntu 18.04.3+
# sudo apt install xserver-xorg-input-synaptics-hwe-18.04
# Install this file in:
# /usr/share/X11/xorg.conf.d/52-thinkpad.conf
# Set this to prevent overriding from Gnome Settings:
# gsettings set org.gnome.settings-daemon.plugins.mouse active false
# Reboot is required for synaptics driver to start and logout/login for the settings.
Section "InputClass"
Identifier "gchiappe thinkpad touchpad"
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" "30"
Option "FingerHigh" "35"
# 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 "VertHysteresis" "40"
Option "HorizHysteresis" "40"
Option "ClickTime" "0"
Option "SingleTapTimeout" "0"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment