Skip to content

Instantly share code, notes, and snippets.

@yvesf
Last active April 11, 2017 21:53
Show Gist options
  • Save yvesf/236a317694d2d17e8e85e7c685a82b4a to your computer and use it in GitHub Desktop.
Save yvesf/236a317694d2d17e8e85e7c685a82b4a to your computer and use it in GitHub Desktop.
Using touchpad as single scrolling area on Thinkpad X1 Carbon 5thgen/2017
#
# Completely disable the touchpad functionality but enable the whole touchpad for single-finger scrolling
#
# Disable touchpad mouse movements
xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 100000
# Disable touchpad mouse button events
xinput set-button-map 'SynPS/2 Synaptics TouchPad' map button 0
# Disable two finger scroll
xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Synaptics Two-Finger Scrolling' 0, 0
# Enable Edge scrolling
xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Synaptics Edge Scrolling' 1, 0, 0
# Use whole touchpad for single-finger scroll
xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Synaptics Edges' 0, 0, 1350, 4504
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment