This post follows this one.
I have a new wireless mouse, with one more button than the previous one. By default, it shows the desktops when clicked.
So I wanted to assign it a keybord key, much like in the original post, so I did the same thing: using Input Remapper, I recorded what the button did (Super+d, according to Input Remapper), so I reassigned Super+d to ampersand
(&) (in one preset) and twosuperior
(²) in one other.
But having done this, it does not work as intended: when clicked, it does insert the wanted symbol into any opened and focused test field (and in games it does any command assigned to &
or ²
, but: it also opens the application dashboard from my task bar (even above the game if I’m playing!)!
I checked both in Settings➔Shortcuts➔KWin and in Right click Application Dashboard➔Configure➔Custom shortcut: in none of these places can I find any predefined shortcut, and especially not Super+d.
So I don’t understand this behavior. Two last pieces of information:
- the mouse is this one, it has a software for Windows and Mac but not Linux;
- here’s the whole output of
xev -event keyboard -event button
when I click the button:
xev -event keyboard -event button ✔
Outer window is 0x4e00001, inner window is 0x4e00002
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 25, synthetic NO, window 0x4e00001,
root 0x7e6, subw 0x0, time 2273573, (-403,457), root:(468,2015),
state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
MappingNotify event, serial 28, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyPress event, serial 28, synthetic NO, window 0x4e00001,
root 0x7e6, subw 0x0, time 2277320, (-498,-48), root:(373,1510),
state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4e00001,
root 0x7e6, subw 0x0, time 2277326, (-498,-48), root:(373,1510),
state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
MappingNotify event, serial 29, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyPress event, serial 29, synthetic NO, window 0x4e00001,
root 0x7e6, subw 0x0, time 2277326, (-498,-48), root:(373,1510),
state 0x10, keycode 49 (keysym 0xb2, twosuperior), same_screen YES,
XLookupString gives 2 bytes: (c2 b2) "²"
XmbLookupString gives 2 bytes: (c2 b2) "²"
XFilterEvent returns: False
KeymapNotify event, serial 30, synthetic NO, window 0x0,
keys: 230 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
… I can’t make sense of this, I don’t know how to read this information (but I guess it could help to solve my problem).
Thanks!