2

On macOS Ventura I installed sleepwatcher using homebrew and activated the service using brew services start sleepwatcher. Strange enough it asked for permissions to watch all keystrokes. Ignoring this security issue for now, I granted the permission, but it appears the service is not working. As per the documentation I created bash scripts .sleep and .wakeup in my home directory, but nothing in these files gets executed. I checked and it looks like the relevant LaunchAgent is correctly placed in ~/Library/LaunchAgents/

Is anyone successfully running sleepwatcher on macOS Ventura?

2
  • I see that sleepwatcher is running, but it points to paths for the .sleep/.wakeup files: ps ax |grep sleepw yields /opt/homebrew/opt/sleepwatcher/sbin/sleepwatcher -V -s /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/home/.sleep -w /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/home/.wakeup. But even if I create those files/folders, sleep&watch doesn't seem to work.
    – neu242
    Mar 22 at 10:46
  • I've added an issue for that here: github.com/Homebrew/homebrew-core/issues/126336
    – neu242
    Mar 22 at 12:33

0

You must log in to answer this question.

Browse other questions tagged .