How to configure Wacom tablet area on Ubuntu 14.04?

I started using Ubuntu 14.04 recently, but I'm having problems to configure my wacom tablet settings.

The main problem is I want to reduce the tablet area, but I don't see that option on the wacom tablet settings. Could someone help me, please?


I do not think that there is a graphical configuration interface. Nevertheless, you can do it via scripts...

Find the correct name of your device/input:

[romano:~/personal/varios] 1 % xsetwacom --list devices
Wacom Intuos PT S Finger touch      id: 12  type: TOUCH     
Wacom Intuos PT S Finger pad        id: 13  type: PAD       
Wacom Intuos PT S Pen stylus        id: 14  type: STYLUS    
Wacom Intuos PT S Pen eraser        id: 15  type: ERASER 

And now you can reduce for example to the top left corner:

xsetwacom --set "Wacom Intuos PT S Pen stylus" MapToOutput 500x400+0+0

or in a rectangle in the center (more or less):

xsetwacom --set "Wacom Intuos PT S Pen stylus" MapToOutput 500x400+500+500 

Go back by telling the full resolution:

xsetwacom --set "Wacom Intuos PT S Pen stylus" MapToOutput 1980x1080+0+0

There is a way to make the thing permanent, but I never tried it --- if you need it, the Arch page (as ever) is full of interesting info.


The excellent arch wiki recommends that you use the name of the display directly into the MapToOutput parameter. You can obtain the display names using the xrandr command:

xrandr
xsetwacom --set 11 MapToOutput DVI-0

This way you don't need to mess up with any numbers. Please also mind that each time you set the above parameter, the orientation needs to be set again using the Rotate parameter.

In my particular setup I have two displays and I made a small script to switch the wacom between the displays. Then I assigned the script to a custom keyboard shortcut:

#!/bin/bash
WFILE=/tmp/wacom
if [ -f $WFILE ]; then
  WACOM="`cat /tmp/wacom`"
else
  WACOM="DVI-1"
fi

if [ "$WACOM" = "DVI-0" ]; then
  WACOM="DVI-1"
else
  WACOM="DVI-0"
fi

echo "$WACOM" > $WFILE
xsetwacom --set 11 MapToOutput "$WACOM"
xsetwacom --set 11 Rotate "half"