Skip to content

Instantly share code, notes, and snippets.

@erm3nda
Created July 24, 2020 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erm3nda/3eda9fbcb7a1c18dc91990f1d306c512 to your computer and use it in GitHub Desktop.
Save erm3nda/3eda9fbcb7a1c18dc91990f1d306c512 to your computer and use it in GitHub Desktop.
Configure touchscreen area of touch device when having dual screen
# configure touchscreen area properly
pointer_id=`xinput | grep ELAN | cut -d " " -f30 | egrep -o '[0-9]{2}'`
xinput map-to-output $pointer_id eDP1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment