Getting started with ActivityWatch is as easy as installing, starting it, and setting up autostart (if your installation method doesn’t do it for you).
The aw-qt application is the easiest way to use ActivityWatch. It creates a trayicon and automatically starts the server and the default watchers.
If you’ve installed by extracting a zip archive, simply run the
./aw-qt binary in the installation directory (either from your terminal or on Windows by double-clicking). You now should see an icon appear in your system tray.
You should now also have the web interface running at localhost:5600 and will in a few minutes be able to view your data in the Activity view!
If you want more advanced ways to run ActivityWatch (including running it without aw-qt), check out the “Running” section of Installing from source.
If you are running GNOME 3 or another desktop environment that does not support system trays, or if for some reason Qt can’t be used on your machine, read Running on GNOME.
If you are using a proxy ActivityWatch might not work out of the box. To fix this you can set the environment variable
NO_PROXY to include
127.0.0.1 before starting aw-qt. How to set an environment variable depends on your operating system, use Google if you are unsure how to do this.
Autostart is set up automatically by the Windows installer and for Arch Linux by the AUR package (if your desktop environment supports XDG Autostart).
You probably want to make ActivityWatch start automatically on login using your operating systems autostart settings.
For some installation methods (Windows installer, AUR package) this is done automatically, but if you don’t use those methods you’ll have to do it yourself. Searching the web for “autostart application <your operating system>” should get you some good results that don’t take long. You want to start the
aw-qt executable in the application directory.