Open SimonWoolf opened 9 years ago
That's delegated to Xlib.display.Display.keysym_to_keycode()
from python-xlib and the documentation for Xlib is so horrendous that I wouldn't know where to start tracking down the source of the problem.
I'll leave this open in case it's a bug in python-xlib
that could be fixed by my plans to migrate to XPyB
but that's all I can do without help.
So e.g. if you use the colemak keyboard layout (e.g. using
setxkbmap gb -variant colemak
), and have a quicktile action bound toE
, then pressing e (which on a colemak keyboard is keycode 45) doesn't do anything. To get the desired action you need to press the key that would be 'e' if the keyboard was querty, i.e. keycode 26 (which on colemak is actually the 'f' key).