Configuring Lenovo T440s touchpad in Linux

tagged under   linux  

The first (and only) thing I disliked when I moved from using the Lenovo T420 to the Lenovo T440s laptop was the touchpad on the T440s. T440s has a Apple-ish touchpad which can seem unfriendly (compared to the fantastic T420 touchpad with physical touch buttons), but becomes quite usable with experience. The following configuration tweaks the touchpad driver to allow the following.

  • Two finger touch for right click
  • Three finger touch for middle click
  • Two finger vertical and horizontal scroll
  • Edge scroll
  • Palm detect (to avoid unwanted clicks while typing)

To get the above features, add the following to the end of the file /usr/share/X11/xorg.conf.d/50-synaptics.conf (edit as root).

# custom touchpad settings
# view current values with synclient -l
Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Option "TapButton1" "1"
    Option "TapButton2" "3"
    Option "TapButton3" "2"
    Option "HorizTwoFingerScroll" "on"
    Option "VertTwoFingerScroll" "on"
    Option "HorizEdgeScroll" "1"
    Option "VertEdgeScroll" "1"
    Option "HorizHysteresis" "30"
    Option "VertHysteresis" "30"
    Option "PalmDetect" "1"
    Option "RTCornerButton" "0"
    Option "RBCornerButton" "0"
    Option "LTCornerButton" "0"
    Option "LBCornerButton" "0"

The RTCornerButton, RBCornerButton, LTCornerButton, LBCornerButton options specify what clicking on the corners of the toucpad does. In this case, they don't do anything special, but can be configured to do something special like a right click or middle click.

You can view all the current options for your touchpad with

$ synclient -l

You can then use these options to further configure your touchpad.

« older posts

other articles you might like
  • Alternatives to Truecrypt on Linux
  • Connecting to wired/wireless networks via command line
  • Android reverse USB tethering
  • Linux command line tools and tricks - Part 3
  • Basic dwm setup in (L)ubuntu
  • Basic Xmonad setup in (L)ubuntu
  • EOM a.k.a End of Mail a.k.a Emacs + offlineimap + mu4e
  • First attempt at developing a Firefox addon
  • Bash script to perform super-fast file transfer using netcat and tar
  • Jekyll : Handling Github page build failure and Jekyll plugins on Github
  • Emacs newbie cheat sheet -- from a vim convert
  • ncmpcpp : ncurses based music player for Linux
  • How to create a custom CWM recovery flash-able android apps zip file in Linux via command line
  • Task Warrior - The best CLI task manager for Linux
  • Custom kernel in Ubuntu (also generate .deb package)
  • Linux command line tools and tricks - Part 2
  • Superb Linux command line tools and tricks for Linux geeks
  • RSA encryption using Tcl

  • Share this post ⇒  

    blog comments powered by Disqus