Forked from thursby/gist:8ac6cb96c84b6d20a3fb1bf3048d46ed
Created
March 25, 2017 16:21
-
-
Save vinicius73/4088c95bf8bacb37bfc8c1c587f5c0eb to your computer and use it in GitHub Desktop.
Set the sensitivity for the Logitech M570 in Linux. For whatever reason most controls won't let you set sensitivity less than 1. My trackball likes 0.4. The way this is set is weird because the IDs seem to change whenever the USB is connected and disconnected. I wrote this oneliner to find 'em and change it.
This file contains hidden or 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
xinput list --short | grep Logitech | awk '{print $5}' | cut -f2 -d"=" | xargs -I id xinput set-prop id "Device Accel Constant Deceleration" 0.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment