Open leviport opened 2 years ago
With some work, we could potentially use GDK to map keysyms to the appropriate keys on the current layout. (Bindings would have to be defined in gdk keysyms instead of the format the mouse uses, and we'd need a mapping from linux keycodes to those the mouse sends.)
But users with non-US layouts may also be likely to switch between more than one layout, which can't really be handled elegantly.
Currently, the "Show All Applications", "Workspaces Overview", and "Open Launcher" bindings stop working if I change my keyboard layout to Dvorak. I can tell it's pressing keys that would be correct on QWERTY (super + D in QWERTY = super + E in Dvorak, and I see Geary open when I try to use the Workspaces binding).
To add another layer, if I use Gnome Tweaks to swap LAlt and LSuper, these bindings break on any layout:
When I preview the keyboard layout from GCC > Keyboard, I can see it hitting Left Alt, where Super used to be positioned: https://user-images.githubusercontent.com/13512097/171947746-700470d3-bb44-46ba-b71a-c5e3f658a40b.mp4