Review your favorite Linux distribution.
Go Back > Blogs > LINUX mostly DEBIAN - hardware and software
User Name


15 years of DEBIAN starting from version 5 "Sid" until the recent 9.5 "Stretch".
Before that done 6 years of system administration including a SCO UNIX Server and a couple of Windows Servers and dozens of workstations. The largest system was nearly 100 PC's, devices etc. at 3 locations with LAN and VPN's, Firewall and Phone via landline and VoIP.

Have fun, and maybe share your knowledge with me.
Rate this Entry

WACOM DTU-2231 on Debian Jessie(8) & Stretch (9)

Posted 02-17-2019 at 04:15 AM by error_401
Updated 04-11-2019 at 07:53 AM by error_401 (Update)

Lately got this great display-tablet for my laptop. It can be used either as a display mapped to the screen or as a separate monitor. When not connected to the VGA/HDMI it will act as a digitizer tablet inputting onto the active screen. After having messed up my hard-drive I had to re-install Debian and went for the Debian 9.7 (Stretch).
I found out that it works the exact same way as with Debian 8 (Jessie).

When connected to the HDMI/VGA it acts as a separate display. The problem now is that it mixes up the two screens for the input area as it does not know how to handle the different areas.

The information on the internet is not very specific and complicated for a normal user, therefore I assembled the information in a short how-to.

I like to work on the DTU-2231 only with the stylus and leave the laptop's screen for mouse or touchpad control. With the current version this is very easily achieved by using the xsetwacom command, mapping it to the second display as used in linux.

Setting up dual displays

We will have to detect two things. First the actual linux setup for the displays.
This can be done via the GUI in the settings and checking on the outputs which will show:

First display as "eDP-1"
Second display as "HDMI-1"

or you can use the xserver output by looking at the output of

The second set of data we need to be able to assign the WACOM input devices to the respective monitor is the input device name, respecively id. There we use the xsetwacom command.

xsetwacom --list devices
which will show in my example:

Wacom DTU2231 stylus id: 12 type: STYLUS
Wacom DTU2231 eraser id: 17 type: ERASER

Another means to detect the inputs is by using the x-server inputs.

Rendering the tablet inputs to the respective display

I want to use the whole DTU-2231 display for the pen inputs, so I can work with GIMP, Inkscape and such, using the stylus on their drawing area which I put on the WACOM, while using the laptop's monitor and the mouse for the toolboxes and Dolphin, the web-browser etc.

we use the xsetwacom MapToOutput command:

xsetwacom set 12 MapToOutput HDMI1
This will map the stylus to the DTU-2231's area only, and in addition we need to map the eraser as well using:

xsetwacom set 17 MapToOutput HDMI1
which does the same for the eraser.

Now we can use the full area of the tablet without interfering with the laptop's display.
Views 461 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 08:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration