Created
June 6, 2015 22:23
-
-
Save brianfay/37fb213354321d9c1107 to your computer and use it in GitHub Desktop.
map touch screen
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
#!/bin/sh | |
#map laptop's touch screen to appropriate display (the laptop screen) | |
TOUCH_ID=`xinput list | grep SYNAPTIC | awk -F '\t' '{print $2}' | cut -c 4-` | |
xinput --map-to-output $TOUCH_ID eDP1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment