LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > LINUX mostly DEBIAN - hardware and software
User Name
Password

Notices


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

Posted 02-17-2019 at 04:15 AM by error_401
Updated Yesterday at 01:00 PM by error_401

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.

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 net is not very specific and complicated for a normal user, therefor I assembled the information in a short

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:
i.e.

First display as "eDP1"
Second display as "HDMI1"

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

Code:
xrandr
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.

Code:
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.

Code:
xinput
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:

Code:
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:

Code:
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 357 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 11:56 PM.

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