Skip to content

Instantly share code, notes, and snippets.

@GirlBossRush
Created April 12, 2013 00:20
Show Gist options
  • Save GirlBossRush/5368285 to your computer and use it in GitHub Desktop.
Save GirlBossRush/5368285 to your computer and use it in GitHub Desktop.
Adjust mouse acceleration on Chrome OS
#!/bin/sh
DEVICE_ID=`xinput list | grep "Logitech" | sed 's/.*id=\([0-9]*\).*/\1/'`
xinput set-prop $DEVICE_ID "Device Accel Profile" 7
xinput set-prop $DEVICE_ID "Device Accel Constant Deceleration" 240
xinput set-prop $DEVICE_ID "Evdev Wheel Emulation Inertia" 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment