1
I'm trying to bind the keys of my Wacom Intuos Pro to various handy shortcuts that I'd normally do with the keyboard.
My OS is Xubuntu 15.04 but I'm following this section of the Arch Linux wiki on xsetwacom
. (I know they're different distros, but I find the Arch Wiki articles really useful for non-distro specific stuff.)
A few of these worked really well to set space
panning, undo and redo:
xsetwacom --set "Wacom Intuos Pro S Pen pad" Button 1 'key +space'
xsetwacom --set "Wacom Intuos Pro S Pen pad" Button 8 'key +ctrl z -ctrl'
xsetwacom --set "Wacom Intuos Pro S Pen pad" Button 2 'key +ctrl +shift z -ctrl -shift'
However, when I tried to bind to the square brackets:
xsetwacom --set "Wacom Intuos Pro S Pen pad" Button 11 'key ]'
xsetwacom --set "Wacom Intuos Pro S Pen pad" Button 9 'key ['
it did not work. Pressing these keys just types in 9
and 8
.
My gut feeling is that it's some kind of problem to do with keyboard layouts (my layout vs whatever layout the developers of xsetwacom
use) but I'm not sure where to go from there.
Edit: running xmodmap -pk|grep -i bracket
as per the comment gives:
17 0x0038 (8) 0x002a (asterisk) 0x0038 (8) 0x002f (slash) 0x005b (bracketleft) 0x0ac9 (trademark) 0x1000300 (U0300) 0x1000301 (U0301)
18 0x0039 (9) 0x0028 (parenleft) 0x0039 (9) 0x0aaa (endash) 0x005d (bracketright) 0x00b1 (plusminus)
34 0x005b (bracketleft) 0x007b (braceleft) 0x06c3 (Cyrillic_tse) 0x06e3 (Cyrillic_TSE) 0xfe57 (dead_diaeresis) 0xfe58 (dead_abovering)
35 0x005d (bracketright) 0x007d (braceright) 0x003b (semicolon) 0x00a7 (section) 0xfe53 (dead_tilde) 0xfe54 (dead_macron)
49 0x0060 (grave) 0x00ac (notsign) 0x0028 (parenleft) 0x0029 (parenright) 0x007c (bar) 0x007c (bar) 0x005b (bracketleft) 0x005d (bracketright)
does
]
appear on the same key as9
but shifted? Doesxmodmap -pk|grep -i bracket
show bracketleft and bracketright in the first column? – meuh – 2015-08-08T16:22:09.470@meuh Updated my post with the output from that command. – Andrey – 2015-08-08T16:39:31.130
1Possibly relevant: I've got a Bulgarian keyboard layout enabled, and that accounts for the third and fourth entries in that output. Not sure why
bracketleft
andbracketright
appear afterwards. – Andrey – 2015-08-08T16:57:34.923