Document how to autostart for all platforms
See original GitHub issueIt’s important that people don’t forget to turn on ActivityWatch, autostart is therefore an important feature, but we have yet to implement it.
Later we will have this managed automatically but a good start is to figure out how to do it cross-platform and add the information to the docs.
- Windows
- Update: Autostart is now automatically configured by the installer.
- Create a new shortcut that points to aw-qt and move it to the autostart folder
- macOS
- Done using the ‘Login items’ config in the user settings
One needs to use Automator in order to create a runnable when installing from source into a virtualenv. Unsure if needed with the zip.No longer needed with the.appbundle.
- Linux
- We should probably use the free desktop standard (
/etc/xdg/autostart/and/or~/.config/autostart/) - Can be done manually by adding it in the “Startup Applications” menu in Ubuntu/Gnome.
- We should probably use the free desktop standard (
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:24 (10 by maintainers)
Top Results From Across the Web
Add an app to run automatically at startup in Windows 10
Select the Start button and scroll to find the app you want to run at startup. Right-click the app, select More, and then...
Read more >Automatically Start Programs in Windows 10 - Instructables
1. Open File Explorer Folder 2. Select 'This PC' 3. This is usually your C Drive
Read more >How to Use the Windows Startup Folder: Everything You Need ...
Open a File Explorer window to your startup folder (or the "all users" startup folder if you prefer). Then simply drag the new...
Read more >How To Autorun Programs On Startup In Windows 10
1. To do this either right-click on the Start Menu flag and left-click Run. Or use the keyboard shortcut Windows Key & R....
Read more >How to Access the Windows 10 Startup Folder - Alphr
To access the All Users Startup folder in Windows 10, open the Run dialog box (Windows Key + R), type shell:common startup ,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@anoopd It’s not a good idea to start aw-qt as a systemd service since it’s a GUI application.
Use the “Startup Applications” menu offered by your desktop environment as @Otto-AA did. I’d recommend using the prebuild binaries over the virtualenv, if you do all you need is to unzip it and then point “Startup Applications”-entry to the
aw-qtbinary.+1 for this - I just spent quite a while trying to get activitywatch to automatically start up reliably on Ubuntu 16.04 until I found this thread. Startup-applications works nicely though.
Also it’s pretty important - I was close to just giving up and forgetting about the application, because there’s no way I would have remembered to manually start the program every time I turned on my machine!