Skip to content

Instantly share code, notes, and snippets.

@giioohbernini
Created April 22, 2017 05:34
Show Gist options
  • Save giioohbernini/86255ac32237777fbab1153c4b67c616 to your computer and use it in GitHub Desktop.
Save giioohbernini/86255ac32237777fbab1153c4b67c616 to your computer and use it in GitHub Desktop.
This script show how change the mouse's aceleration
#!/bin/bash
# The number "12" below will represent your device
# If you don't know your device code, use: xinput --list
# If you want see the others property, use: xinput -list-props X
# X = your device code
xinput --set-prop 12 "Device Accel Constant Deceleration" 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment