“ActivityWatch.app“ wants access to control “System Events.app“ dialogs

I installed ActivityWatch on my Mac (OS version: Mojave), and every minute or so it launches a dialog saying “ActivityWatch.app“ wants access to control “System Events.app“.

How can I get rid of these dialogs?


Here is what I did that fixed it:

  1. Quit ActivityWatch from the menu bar.

  2. sudo chown -R root:wheel /Applications/ActivityWatch.app

  3. In System Preferences / Security and Privacy / Accessibility, added ActivityWatch to list of applications authorized to control computer.

  4. Restart ActivityWatch.