Created
August 20, 2014 20:36
-
-
Save DennisLfromGA/94314ab98e207ecc1c49 to your computer and use it in GitHub Desktop.
Shell (.bashrc, etc.) excerpt to turn off the Chromebook's touchpad
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
# Turnoff the Chromebook Touchpad - always - | |
# NOTE: 'tpstat.sh' & 'tpoff.sh' should be in your PATH | |
## Get state of Touchpad - 1=on, 0=off | |
TP_STATE="`tpstat.sh`" | |
# | |
# Turn off Touchpad | |
if [ "$TP_STATE" = 0 ]; # TOUCHPAD IS OFF | |
then echo "'touchpad' already off" | |
else echo "Turning Touchpad off to ignore inadvertent touching..." ; tpoff.sh | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment