Created
January 12, 2016 17:12
-
-
Save mlsteele/4349fb9c226a8f913493 to your computer and use it in GitHub Desktop.
Start google chrome with the right X touch input device.
This file contains 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
#!/usr/bin/env bash | |
# Start google-chrome with the right X touch input device. | |
TOUCHID=`xinput list | ag touchscreen | grep -P "id=\K\d+" -o` | |
google-chrome --touch-devices=$TOUCHID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment