Hello.
Using xsetwacom 0.32.0 and intuos 3 A4, xsetwacom --list modifiers seem to not be up to date.
For example, I can't set ralt key:
xsetwacom set "Wacom Intuos3 9x12 Pad pad" button 1 "key ralt"
Warning: unable to map 'Alt_R' to a keycode.
I can set alt or lalt (same effect) but not ralt.
Also, I can't set "]" character (no error message), it's ")" instead.
The most likely explanation for something like "]" producing a ")" instead is if your keyboard layout has both of those characters on the same key. Our driver does not automatically add Shift, AltGr, or other necessary modifiers, so you'll have to add them in your xsetwacom command manually. For example, if pressing "Shift+)" causes a "]" to appear, then you should use
xsetwacom set <id> button <n> key +shift )to produce the desired result.As for the
Warning: unable to map 'Alt_R' to a keycode.message, that is a result of xsetwacom not being able to find a right-Alt key in your current XKB keyboard map. This might be because your keyboard layout doesn't have a right-Alt key for some reason, or because XKB has been told to use the right Alt key for some other purpose (e.g. for toggling between keyboard layouts, for use as a "compose" key, etc.). You might try replacing "ralt" in your command with with "0xffea" but this is unlikely to actually work if the key is missing from your map.Please run
setxkbmap -print -verbose 10and provide the output here so that we can have the necessary information on your keyboard layout. Depending on your distro, you may need to first install the "xorg-x11-xkb-utils" or "x11-xkb-utils" package.Thanks for answer.
Yes it does.
Seem to work, no error message.
I think no. I can get ']' by pressing ralt+). Or maybe I don't understand something.
Thanks for providing that information for me. I have looked at the keymap for your layout and it seems that the right alt key is "AltGr". Oddly, I can't seem to find a keysym that corresponds to that particular key, whereas other modifiers all do. If 0xffea works to create a "]" then I suppose that's something I'll have to remember in the future.
Arrh...
In fact nothing works. I have no error message but 0xffea don't work. (sorry for confusion, I've just tested the command without the wacom to confirm.)
Just to check the syntax:
xsetwacom set "Wacom Intuos3 9x12 Pad pad" button 3 "0xffea"Last edit: Xzu 2017-09-13
Ah, okay. Guess I'll have to a bit more poking around...
How about trying this:
Seems to do the trick for producing "]", despite "ISO_Level3_Shift" not being the obvious correspondence to AltGr...
Last edit: Jason Gerecke 2017-09-13
That works! :) Thanks!
I've got a big last question: where can we found an up to date documentation for the all the "wacom things"? I've meet many people in differents forum looking for a fiable reference, does it exist today?
Glad to hear :)
Our wiki at http://linuxwacom.sourceforge.net/wiki/index.php/ is supposed to be the canonical source of information regarding the entire Wacom hardware/driver/software stack on Linux. How up-to-date it is varies, however. We used to have a contributor who was very active with the wiki, but he's since moved on and updates are less frequent. We tend to keep a close eye on the supported device list and installation instructions, but other pages can be easily missed. Thankfully the drivers and tools are fairly stable, so most of the information still usable. We'd love to once again have someone keeping a closer eye on the documentation though...
I've sent a patch to the mailinglist that will allow xsetwacom to recognize "AltGr" as a synonym for ISO_Level3_Shift. This should make things much more obvious. Running
xsetwacom list modifierswill also list "altgr".https://sourceforge.net/p/linuxwacom/mailman/message/36038682/
Last edit: Jason Gerecke 2017-09-14
Patch accepted into xf86-input-wacom as commit 2456f82. Expected release: xf86-input-wacom 0.36.0.
xf86-input-wacom 0.36.0 released