Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Switch touchpad/mouse buttons then back again to fix missing trackpad button presses bug
#!/bin/sh
# Switch touchpad/mouse buttons then back again to fix
# missing touchpad button presses bug
case "$1" in
resume | thaw )
export DISPLAY=:0
su -c - todd /home/todd/.scripts/bugfixes/touchpad-button-fix
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment