hotkey icon indicating copy to clipboard operation
hotkey copied to clipboard

Not working on Ubuntu 18?

Open mwalkerr opened this issue 11 months ago • 1 comments

The .Register() call succeeds without returning an error, but the shortcuts I'm trying (Ctrl + Shift + O and Ctrl + Shift + P) just aren't receiving any events. Using sudo showkey I see the same keycodes for ctrl (29), shift (42), and O (24) as I do in a Ubuntu 22 VM where the hotkey does work. Are there dependencies that may not be present in Ubuntu 18? Any ideas on how to debug?

mwalkerr avatar Jul 21 '23 05:07 mwalkerr

Ah, numlock was toggled on. Found that out by using xev and seeing that the state was always 0x10 even when I wasn't pressing any modifiers. xmodmap showed Mod2 was numlock.

Ideally there'd be a way to register a hotkey that works with or without numlock toggled

mwalkerr avatar Jul 21 '23 17:07 mwalkerr