koekeishiya / skhd

Simple hotkey daemon for macOS
MIT License
5.87k stars 203 forks source link

Hotkeys often stop working after the first time they work. #357

Open afawe3331 opened 1 month ago

afawe3331 commented 1 month ago

Even if I restart the skhd service, the hotkey works the first time, but not since. It sometimes works again, but I don't know why sometimes it works and sometimes it doesn't. How do I fix this?

beeksiwaais commented 1 month ago

I am experiencing a similar issue where hotkeys stop working after a few hours.

Upon investigating, I noticed that after some time, if you have Bash or other scripts in your skhd configuration, skhd will continuously spawn new processes for them without terminating the old ones. This issue does not occur when skhd is functioning properly.

afawe3331 commented 1 month ago

I am experiencing a similar issue where hotkeys stop working after a few hours.

Upon investigating, I noticed that after some time, if you have Bash or other scripts in your skhd configuration, skhd will continuously spawn new processes for them without terminating the old ones. This issue does not occur when skhd is functioning properly.

I think you're right, I'm using hotkeys for ./script.sh commands in my config file.

gutocarvalho commented 1 month ago

same here, after a few hours needs to restart the process to have it working.

vizcay commented 2 weeks ago

Something similar happens to me, after some time it stops processing shortcuts. But I see the process running with ps aux | grep skhd. I think this problem started after migrating to Somona.

Currently running Somona 14.5 (23F79) on M1

gutocarvalho commented 2 weeks ago

It happens to me too, it seems a specific process starts to block the skhd somehow, when this happens I try to close some APPs to have it working again, in the worst case it demands a logout.

From: "Pablo Vizcay" @.> To: "koekeishiya/skhd" @.> Cc: "Guto Carvalho" @.>, "Comment" @.> Sent: Wednesday, July 3, 2024 4:42:26 AM Subject: Re: [koekeishiya/skhd] Hotkeys often stop working after the first time they work. (Issue #357)

Something similar happens to me, after some time it stops processing shortcuts. But I see the process running with ps aux | grep skhd .

— Reply to this email directly, [ https://github.com/koekeishiya/skhd/issues/357#issuecomment-2205312565 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AAFCCINNVZ55LLMI25XEV4LZKOTOFAVCNFSM6AAAAABIIYENR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBVGMYTENJWGU | unsubscribe ] . You are receiving this because you commented. Message ID: @.***>