Last active
April 11, 2017 21:53
-
-
Save yvesf/236a317694d2d17e8e85e7c685a82b4a to your computer and use it in GitHub Desktop.
Using touchpad as single scrolling area on Thinkpad X1 Carbon 5thgen/2017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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