Created
July 28, 2017 22:39
-
-
Save tbranyen/0eb89e8e2517d9205b0fe33127e6cb5c to your computer and use it in GitHub Desktop.
ThinkPad X1 Carbon 5th Generation libinput acceleration
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
touchpad_id=$(xinput --list | grep "TouchPad" | xargs -n 1 | grep "id=" | sed 's/id=//g') | |
accel_speed_code=$(xinput --list-props $touchpad_id | awk '/Accel Speed \(/ {print $4}' | grep -o '[0-9]\+') | |
# Default acceleration is too slow (non-existent) | |
xinput --set-prop $touchpad_id $accel_speed_code .75 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment