waycrate / swhkd

Sxhkd clone for Wayland (works on TTY and X11 too)
https://git.sr.ht/~shinyzenith/swhkd
BSD 2-Clause "Simplified" License
666 stars 47 forks source link

Modifier key sticks after restart (`pkill -HUP swhkd`) #215

Open nativerv opened 1 year ago

nativerv commented 1 year ago

Version Information:

Describe the bug:

super key sometimes sticks (is added to every keypress), seemingly after sudo pkill -HUP swhkd until you kill swhkd

Hyprland was doing it's bindings (super+LMB, super+t) as if i was holding the super key, though i was not. Had to go to the tty to kill swhkd.

To Reproduce:

That happened to me twice, though not in a row and i don't know how to reproduce exactly.

Config that i had:

super + m 
  notify-send $XDG_CONFIG_HOME

What i was doing in both cases of the issue:

EdenQwQ commented 11 months ago

Are you using other software that can grab keyboards (such as evremap) ? The same issue happened to me and is related to evremap.

nativerv commented 11 months ago

Are you using other software that can grab keyboards (such as evremap) ? The same issue happened to me and is related to evremap.

None that i can think of. Just moved to Wayland back then and the only thing that i was using on X is sxhkd.

I tried kmonad at some points but i haven't been able to get good with and never used it besides testing so i'm pretty sure it was off.

I also have a service that does loadkeys with keycode 58 = Escape (rebind for the tty).