jumper047 / tridactyl_emacs_config

Emacs bindings for Tridactyl
37 stars 10 forks source link

Setting `accelKey` to 91 under Hyprland (Wayland) does not work #11

Open upbqdn opened 1 year ago

upbqdn commented 1 year ago

The README.md says:

... you can change the modifier key used in that bindings instead. Go to about:config page and set ui.key.accelKey to 91 (WinKey).

Unfortunately, this does not seem to work under Wayland. When I set ui.key.accelKey to 91 in Hyprland, keys such as WinKey+f (for searching) or WinKey+q (to quit Firefox) don't do anything, and neither C+f nor C+q work. I didn't find any workaround.

upbqdn commented 1 year ago

Other folks struggle with the same issue here https://www.reddit.com/r/swaywm/comments/m8amyy/using_win_key_as_accelkey_in_firefox/.

jumper047 commented 1 year ago

Ohh, thank you for reporting. It's sounds bad - personally I don't use wayland (it doesn't work very well on ubuntu), but seems like I'll be forced to move to it at some point. Thank you for warning, please let me know if you found some workaround for this issue!

jumper047 commented 1 year ago

You may want to try keyd as a workaround - https://github.com/rvaiya/keyd#application-specific-remapping-experimental . Also just found another alternative - https://github.com/k0kubun/xremap

Idea is to made C-n keybinding to generate C-S-M-n when firefox window is focused, and bind C-S-M-n to next-line in tridactyl config

jumper047 commented 9 months ago

Bug in mozilla's tracker: https://bugzilla.mozilla.org/show_bug.cgi?id=1744536