-
-
Notifications
You must be signed in to change notification settings - Fork 543
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
Autostart MacOS and aw-watcher-window #323
Comments
I know @exoji2e has got it working in the past. I think you might need to somehow give Automator such access manually through the system settings? |
Any progress on this? For me this works fine: I'm running MacOS Mojave. It seems I have somehow given Automator control access in |
My workaround to run You have basically two files: one simple bash to run #!/bin/sh
cd /Applications/activitywatch
./aw-qt And the system launchctl file to be saved in
Edit line 8 with the location of your bash file, and make sure to specify the full path to the file (do not use Finally you have to load the
|
@willvieira That looks neat, thanks for sharing! But what about the Accessibility permission in that case? |
@ErikBjare Good point I forgot to mention, I had to give accessibility permission to |
This should be a lot easier with the upcoming |
Fixed in v0.9.0 |
starting aw-qt from the terminal works fine for me, but when I try to create an automator app to launch aw on boot, I run into an issue with the aw-watcher-window.
In this image, you can see my attempts to launch aw from the automator application and terminal.
I have the automator app set up to run this:
/usr/bin/nohup /usr/local/bin/aw-qt >/dev/null 2>&1 &
When I start it with the Automator app, aw-watcher-window isn't able to request access to control “System Events.app“. Even if I run the same in Terminal and grant it access, launching from the Automator app still won't let aw-watcher-window get the access it needs.
The first time I run the app, osascript requests and is granted access to control “System Events.app“. Terminal and iTerm have also been granted such access.
Has anybody got aw running at boot on MacOS?
The text was updated successfully, but these errors were encountered: