Skip to content

Instantly share code, notes, and snippets.

@emaxerrno
Created December 4, 2015 21:38
Show Gist options
  • Select an option

  • Save emaxerrno/a40133114c4c2854c23d to your computer and use it in GitHub Desktop.

Select an option

Save emaxerrno/a40133114c4c2854c23d to your computer and use it in GitHub Desktop.
ibm trackpoint.sh
#!/bin/bash --login
device=$(find /sys/devices/platform/i8042 -name name | xargs grep -Fl TrackPoint | sed 's/\/input\/input[0-9]*\/name$//')
echo 255 | sudo tee $device/sensitivity
echo 255 | sudo tee $device/speed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment