Closed rubienr closed 2 years ago
The issue is most likely caused by Gnome interfering with xsetwacom. Please take a close look at Tablet Configuration 3: GNOME 3 and xsetwacom.
Thank you for the reply. I tried again to get it running with gnome-shell but i wasn't able to fix it.
What I did:
gsd-wacom
; didn't find out how to do on Ubuntu 22.04 (it is not a system service as it was in 20.04 LTS)killall gsd-wacom
However, my solution is to switch from gnome-shell to plasma (KDE). Unfortunately gnome-shell is still way to unstable.
Thanks for your effort!
Description
If a button on the pad is configured to emit X11 mouse button events, this events are not emitted. In contrast if configured to emit key stroke events, those are emitted.
How to reproduce
log in with gnome-shell using X11 (no Wayland).
Attach device (USB or Bluetooth) and list devices:
xsetwacom list devices Wacom Intuos Pro L Pad pad id: 13 type: PAD ...
Define button event (unexpected behaviour):
xsetwacom --set 13 Button 13 button 1 xsetwacom --get 13 Button 13
button +1 -1
Test with
xev
: no mouse event is emitted whenButton 13
is pressed on pad, whereas if the left mouse button is clicked thenbutton 1
events (press + release) are emitted.Expected behaviour
Follow steps 1-3 described above.
Define key press event (expected behaviour):
xsetwacom --set 13 Button 13 key x xsetwacom --get 13 Button 13
key +x -x
Test with
xev
:x
key stroke events (press + release) are emitted whenButton 13
is pressed on pad. Similarly button events should also be emitted.Environment
I am heavily dependent on
xsetwacom
+ self baked scripts to configure a decent behaviour, since the gnome-shell's Wacom configuration is still very very very poor...