skhd: Skhd is not working with MacOS Ventura 13.4
Skhd stop working in my OS. I’ve been countless hours trying to solve it because skhd makes me much more productive, and I couldn’t. Clarification: I disabled security integrity protection, I disabled secure keyboard entry, I rebooted my pc
My first error is:
skhd: successfully created pid-file.
- skhd is not running twice and I have writing permissions: as recommended in #74 and #243
- This file ~/Library/LaunchAgents/homebrew.<something>.skhd.plist is the same as recommended here #126
Codesigning
- 
I proceded with the codesign as @koekeishiya recommends in #253 with this link 
- 
My steps: 
- brew uninstall koekeishiya/formulae/skhd
- I eliminated skhd from settings>privacy and security> accessibility
- Reboot
- brew install koekeishiya/formulae/skhd --HEAD
- Codesign (the actual directory and not the symlink)
- Configure scripting
- skhd --start-service
- I authorize access in settings>privacy and security> accessibility
- 
I get this error: skhd: successfully created pid-file.. skhd: must be run with accessibility access! abort..
- 
So, it creates the pid-file but it doesn’t enable the access of skhd (even though my box is checked in accessibility!) 
- 
any ideas about how can I solve this? 
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 6
- Comments: 15
Skhd is working on my OS. However, if I run
skhd -VI still getskhd: could not lock pid-file! abort..Here are some of the issues that I fixed to get it working:
I delete this line
<my_keymap> : yabai -m display --focus west. With this line skhd doesn’t work.It seems that Ventura 13.4 sometimes automatically enables “ApplePressAndHOldEnabled” in the OS, and therefore “Security entry keyboard” in iterm2 (in the menu bar>iterm2 it appears a
-and it cannot be deselected). I took this steps:defaults read -g ApplePressAndHoldEnabled. If the output is1, it means that the security entry keyboard is enabled (You’ll see the-in menubar>iterm2defaults write -g ApplePressAndHoldEnabled -bool truedefaults read -g ApplePressAndHoldEnabled, now the output should be0pkill -u <username>(less aggressive) orsudo pkill -9 -u <username>0when you rundefaults read -g ApplePressAndHoldEnabled, and in menubar>iterm2 “Security entry keyboard” won’t have a tick or a dash