-
-
Save soyuka/0c4205927195f50b08b398459f94bd94 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