Hello, I’m having an issue with my XP-Pen Deco 01 V2 tablet on Manjaro Linux.
The problem is that the side button on the pen, which should act as right-click (BTN_RIGHT), does not work in my X11 session.
What I’ve tried so far:
Tested the device on Wayland: the right-click button works correctly there, but unfortunately Wayland is unstable on my system (random freezes and graphical glitches), so I need to stay on X11.
Checked raw input events with libinput debug-events → the button does emit a BTN_RIGHT pressed signal.
Verified the device with xinput list and xinput list-props → it shows up as “XP-Pen Pen stylus” with Wacom properties.
Tried remapping the buttons with:
xinput set-button-map → no effect.
xsetwacom set "XP-Pen Pen stylus" Button 2 "button 3" (also tried Button 3, Button All) → no effect.
Installed and tested input-remapper to intercept BTN_RIGHT and map it to button 3 → the tool detects the device, but the button does not generate any usable event under X11 (even though it appears in libinput logs).
Summary:
On Wayland the button works fine.
On X11, BTN_RIGHT is detected at the kernel/libinput level, but neither xsetwacom, xinput, nor input-remapper can map it to a usable right-click.
This seems to be a driver issue with Wacom/libinput on X11 when handling this XP-Pen model.
Question:
Is there a way to properly map this pen button under X11, or is Wayland the only option?
Are there any patches, configuration tweaks, or XP-Pen-specific drivers available for Arch/Manjaro that could fix this?
While I can’t help directly with your apparent issue, providing your system information as described (below) may help others identify possible contributors.
Regards.
Welcome to the Manjaro community
As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements, and the many ways to use the forum to your benefit.
To that end, links are provided (below) - Please use them.
Be prepared to provide outputs from various commands when asked. It’s equally important to provide as much actionable information as possible in your first post, rather than simply indicating there is a problem.
Waiting for someone to blindly ask questions is also counter-productive – typically, nobody has a at their disposal – Instead, please help others to make informed suggestions, based on information you provide.
Update Announcements
The Update Announcements contain important information and a Known Issues and Solutions section that should generally be checked before posting a request for support.
System Information
While information from *-fetch type apps might be fine for someone wishing to buy your computer, for Support purposes it’s better to ask your system directly;
Output of the inxi command (with appropriate parameters, and formatted according to forum guidelines) will generate information useful for those wishing to help: