Last active
August 29, 2015 14:18
-
-
Save imrvelj/ad17b379bf6777930fdb to your computer and use it in GitHub Desktop.
Disabling Mouse Acceleration -- bash script
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
#!/bin/bash | |
#wait for the desktop to settle | |
sleep 5 | |
# turn off mouse acceleration | |
# number after '--set-prop' is your mouse id which you can find out by running 'xinput list' | |
xinput --set-prop 14 'Device Accel Profile' -1 | |
xinput --set-prop 15 'Device Accel Profile' -1 | |
xinput --set-prop 14 'Device Accel Velocity Scaling' 1 | |
xinput --set-prop 15 'Device Accel Velocity Scaling' 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment