Skip to content

Instantly share code, notes, and snippets.

@brianfay
Created June 6, 2015 22:23
Show Gist options
  • Save brianfay/37fb213354321d9c1107 to your computer and use it in GitHub Desktop.
Save brianfay/37fb213354321d9c1107 to your computer and use it in GitHub Desktop.
map touch screen
#!/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