Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nativerv opened this issue Jul 4, 2023 · 2 comments
Open

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

nativerv opened this issue Jul 4, 2023 · 2 comments
Assignees

Comments

@nativerv
Copy link

nativerv commented Jul 4, 2023

Version Information:

  • Linux desktop 6.3.9-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 21 Jun 2023 20:46:07 +0000 x86_64 GNU/Linux
  • swhkd 1.2.1

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:

  • Playing around with swhkd and swhkc manually in a terminal, doing ^C's and sudo pkill -HUP swhkd's
  • Set up a systemd user service as provided in the contrib, changed the config (same binding, different command) and did sudo pkill -HUP swhkd
@nativerv nativerv changed the title Modifier key sticks after restart pkill -HUP swhkd Modifier key sticks after restart (pkill -HUP swhkd) Jul 4, 2023
@EdenQwQ
Copy link
Member

EdenQwQ commented Aug 15, 2023

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

@nativerv
Copy link
Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants