Skip to content

Instantly share code, notes, and snippets.

@aurelienpierre
Last active May 15, 2016 12:41
Show Gist options
  • Save aurelienpierre/8640785 to your computer and use it in GitHub Desktop.
Save aurelienpierre/8640785 to your computer and use it in GitHub Desktop.
Manualy assign buttons configuration to Wacom Intuos Tablet. Save this into /usr/bin/tablette.sh
#!/bin/bash
export LANG="fr_FR.UTF-8"
## Pad
PAD="Wacom Intuos PT M Finger pad"
xsetwacom set "$PAD" Button 3 "key Ctrl Super T" #up left button ## configured as touch switch - Ctrl Super T is set to call Touch switch script in the OS
xsetwacom set "$PAD" Button 1 "key super" #bottom left button ## configured as "Menu"
xsetwacom set "$PAD" Button 9 "key Ctrl Z" #top right button ## configured as "Undo"
xsetwacom set "$PAD" Button 8 "key Ctrl Y" #bottom right button ## configured as "Redo"
TOUCH="Wacom Intuos PT M Finger touch"
xsetwacom set "$TOUCH" ScrollDistance 5
xsetwacom set "$TOUCH" TapTime 250
xsetwacom set "$TOUCH" ZoomDistance 20
xsetwacom set "$TOUCH" touch off #touch pad is disabled by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment