Skip to content

Instantly share code, notes, and snippets.

@JosephCastro
Created June 18, 2020 18:21
Show Gist options
  • Save JosephCastro/552a3a6f1cff9d6458f90be46b89b871 to your computer and use it in GitHub Desktop.
Save JosephCastro/552a3a6f1cff9d6458f90be46b89b871 to your computer and use it in GitHub Desktop.
Lenovo touchpad works like a mac (something like that)
#!/bin/sh
# this script sets some parameters to get a useable configuration
# these changes are not persistent, you may want to include this in your autostart
# 1 finger = left click, 2 finger = right click, 3 finger = middle click
synclient TapButton2=3
synclient TapButton3=2
synclient ClickFinger2=3
synclient ClickFinger3=2
# enable horizontal two-finger scrolling (vertical is enabled by default)
synclient HorizTwoFingerScroll=1
# disable the top edge of the touchpad to prevent jittering when using the trackpoint
synclient AreaTopEdge=500
# configure trackpoint buttons
synclient RightButtonAreaLeft=0
synclient RightButtonAreaRight=0
synclient RightButtonAreaTop=0
synclient RightButtonAreaBottom=0
synclient MiddleButtonAreaLeft=0
synclient MiddleButtonAreaRight=0
synclient MiddleButtonAreaTop=0
synclient MiddleButtonAreaBottom=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment