

This won't work for you as you have another tablet so try first xsetwacom

What I usually do is run in a terminal: xsetwacom -set "Wacom BambooPT 2FG 4x5 Finger touch" touch off I set up my Pen & Touch over a year ago so I may be wrong here. You'll have to try different combinations. Here beware: not all the buttons will be recognised (3 out of 4 for my Bamboo) and not all keystroke will work (I can't get any with the Super key to work). To know which button is which you can first assign them letters with no modifier, select a text field and press the buttons to see which letter they correspond to. and assign the keystroke you chose to your button. Open System Settings > Wacom Tablet > Map Buttons. Assign the shortcut's Keystroke to your button.Avoid the Super key since it may not always work in step 3.Īs command, put the name of your script file (full path, between single quotes, if you're not sure then drag-drop the file in a terminal and use the created command). In Unity open System Settings > Keyboard > Shortcuts and create a new shortcut.

That's because you can't assign a command directly to the tablet's buttons (but you can assign a keystroke. If you want to run this without the terminal, you need to save the script in a file, make it executable and create a keyboard shortcut for it. You don't need that if you already have your own script or command line of course, but it's a convenient way of toggling the touch of connected tablets without knowing the tablets' name or id. Randompast's solution with a 1-line command is nice and can be turned into a more convenient 1-line toggle command: xsetwacom -list | grep -line-buffered "TOUCH" | awk ''
