Hyprland: Mod key not working
Hyprland Version
0.28.0
Bug or Regression?
Bug
Description
I’ve run into similar issue as #1762: I configured Hyprland with CZ keyboard layout and after few minutes Hyprland starts ignoring all my shortcuts that have Super in them… In terminal I can see something like ^[[100;9m when pressing my shortcuts. It will work for a few moments though (which is kind of strange) - I can generally open few terminal windows.
It seems like there is some kind of a bug in a way Hyprland handles keystrokes - everything works OK in Xorg and in Sway. Also it seems that it is only Super key that will behave in this way as Alt+F2 (for example) keeps working.
Snippet of my config:
input {
kb_layout = cz
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
numlock_by_default = yes
touchpad {
natural_scroll = yes
tap-and-drag = yes
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
$mainMod = SUPER
bind = $mainMod, D, exec, kitty
bind = ALT, F4, killactive,
bind = $mainMod, M, exit,
How to reproduce
Configure Hyprland with CZ locale.
Crash reports, logs, images, videos
No response
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 18 (11 by maintainers)
exit submap is not finished properly (no submap=reset) jsyk
this is definitely odd.
Funny thing is that I fixed that exit submap and the problem did not manifest so far (writing this from Hyprland) 😳 However I jumped from X to Hyprland several times and it might be possible that something somewhere got stuck…
Also it seems that the Mod2 (NumLock) behaves as I would expect: it is ignored in bind maps. I was slightly worried for a moment that I’d have to define all my maps twice (one for NUM on and one for off). 😅
Tomorrow I will try to reboot to wipe the slate clean and then I will report back. Thanks for your help @vaxerski, hopefully this was it!