Skip to content

Instantly share code, notes, and snippets.

@chetankothari
Forked from tfg13/touchpadconf.sh
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chetankothari/32ea090f5094c064dc0a to your computer and use it in GitHub Desktop.
Save chetankothari/32ea090f5094c064dc0a to your computer and use it in GitHub Desktop.
Touchpad configuration for the newer series of Lenovo ThinkPad laptops which do not have dedicated keys for mouse clicks. This will disable touchpad but the buttons can be clicked and that is what I wanted. The Left section is for Right click, the Middle section is for Middle click and the Right section is for Left click. Mouse navication is not…
#!/bin/sh
# these changes are not persistent, you may want to include this in your autostart
# disable the touchpad to prevent jittering when using the trackpoint
synclient AreaTopEdge=5000
#this will divide the touchpad as follows
# RRRRRR MMMM LLLLLL
# RRRRRR MMMM LLLLLL
# RRRRRR MMMM LLLLLL
# RRRRRR MMMM LLLLLL
#
# R -> Right button click
# M -> Middle button click
# L -> Left button click
# configure trackpoint buttons
synclient RightButtonAreaLeft=0
synclient RightButtonAreaRight=2500
synclient RightButtonAreaTop=0
synclient RightButtonAreaBottom=0
synclient MiddleButtonAreaLeft=2500
synclient MiddleButtonAreaRight=3500
synclient MiddleButtonAreaTop=0
synclient MiddleButtonAreaBottom=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment