Skip to content

Instantly share code, notes, and snippets.

@fumihito
Created December 24, 2013 10:11
Show Gist options
  • Save fumihito/8111225 to your computer and use it in GitHub Desktop.
Save fumihito/8111225 to your computer and use it in GitHub Desktop.
ThinkPad T540p clickpad config with Upstart User Session Usage: copy to your ~/.init/clickpad.conf
# Clickpad Control
#
description "Clickpad initialize for Thinkpad's TrackPoint"
start on starting xsession-init and started dbus
pre-start script
synclient PalmDetect=1
# use with: `xinput list "SynPS/2 Synaptics TouchPad" |grep Range `
synclient TopEdge=0
synclient BottomEdge=3834
synclient LeftEdge=0
synclient RightEdge=5112
# # setup hi-Hysterisis for button clicking
synclient HorizHysteresis=180
synclient VertHysteresis=180
# RightButtonArea Left / Right
# RightButtonArea Top / Bottom
# MiddleButtonArea Left / Right
# MiddleButtonArea Top / Bottom
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Soft Button Areas" \
3105 5112 \
0 2600 \
2300 3104 \
0 2600
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment