Skip to content

Instantly share code, notes, and snippets.

@alifa98
Last active October 9, 2021 05:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alifa98/a3d21b559fa850cc894dad72e31ced02 to your computer and use it in GitHub Desktop.
Save alifa98/a3d21b559fa850cc894dad72e31ced02 to your computer and use it in GitHub Desktop.
I have a Genius EasyPen i405X, and I want to limit this pen to one of my monitors.
  • Command for list outputs: xrandr
  • Command to list available input devices: xinput
  • Map movements of x input device to specific output device: xinput map-to-output <Input Device ID> <Output Device Name>

for example: xinput map-to-output 15 DP-1

In Manjaro distro you can install xinput command by installig xorg-xinput package. (sudo pamac install xorg-xinput)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment