Skip to content

Instantly share code, notes, and snippets.

@Gydo194
Created January 9, 2020 18:08
Show Gist options
  • Save Gydo194/51172df598fc9fae0c2d4ee524648797 to your computer and use it in GitHub Desktop.
Save Gydo194/51172df598fc9fae0c2d4ee524648797 to your computer and use it in GitHub Desktop.
Monitor binding and keybindings for Wacom Intuos S on Linux
#!/bin/bash
# Map button 1 to Ctrl-Z, button 2 to Shift-Ctrl-Z and map the tablet area to the "eDP1" monitor
xsetwacom set "Wacom Intuos S Pad pad" Button 1 "key +ctrl z -ctrl"
xsetwacom set "Wacom Intuos S Pad pad" Button 2 "key +ctrl +shift z -ctrl -shift"
xsetwacom set "Wacom Intuos S Pen stylus" MapToOutput eDP1
xsetwacom set "Wacom Intuos S Pen cursor" MapToOutput eDP1
xsetwacom set "Wacom Intuos S Pen eraser" MapToOutput eDP1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment