Score:2

Configuring keys on Huion 420 - Ubuntu 20.04

il flag

I used the bash script on MX linux to program the Huion 420 keys:

xsetwacom --set "HUION H420 Pad pad" Button 1 "key +ctrl +z -z -ctrl"
xsetwacom --set "HUION H420 Pad pad" Button 2 "key +ctrl +  -ctrl"
xsetwacom --set "HUION H420 Pad pad" Button 3 "key +ctrl -  -ctrl"

and made it autorun on start.

But now, I'm on Ubuntu 20.04 and when tried to do the same thing, it says Wayland isn't compatible with xsetwacom (https://github.com/linuxwacom/xf86-input-wacom/wiki/Wayland).

Any ideas what to do?

Tnx

Score:2
us flag

Older versions of Wayland had issues with Wacom tablets. Unless you have a touch screen/convertible computer, you really don't need Wayland.

You need to switch to X.Org to fix the issue.

Log out and switch to the non-wayland/X.Org session in the login screen.

enter image description here Image source: OMG! Ubuntu!

Toni Malcic avatar
il flag
Well thank you so much! I didn't even know I could log in like that! Mine has ''Ubuntu'' and ''Ubuntu on Xorg'' so I I'll try.
Toni Malcic avatar
il flag
It's not working...the whole script is `#!/bin/sh xsetwacom --set "HUION H420 Pad pad" Button 1 "key +ctrl +z -z -ctrl" xsetwacom --set "HUION H420 Pad pad" Button 2 "key +ctrl + -ctrl" xsetwacom --set "HUION H420 Pad pad" Button 3 "key +ctrl - -ctrl" `
us flag
This answer fixes the wayland issue, but there might be other issues with the script. Can you edit the question and post the error in the output of the program?
Toni Malcic avatar
il flag
there is no error output, the script doesn't work (when I open Krita or any drawing software, the keys don't do what I programmed them to do). That message about Wyland compatibility came when I tried to list the wacom devices via terminal (`xsetwacom --list devices`).
us flag
I don't know how to fix the Wacom issue. Perhaps you can open an issue at https://github.com/linuxwacom/xf86-input-wacom/issues
Toni Malcic avatar
il flag
forget it. All this time the option was hidden in Settings, in GUI. There, under option ''Graphic tablet'', you can adjust everything. Thanks anyway!
us flag
@ToniMalcic Can you [edit](https://askubuntu.com/posts/1481350/edit) my answer to include more details, and perhaps with some screenshots?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.