Is it possible to run activitywatch without System tray? #1298
Related issue: |
Replies: 1 comment
Hey Ahmad,Yes, ActivityWatch can run without a system tray The tray application,
Therefore, the solution is to avoid starting For a regular installation, the equivalent commands are: Once they are running, the dashboard remains available at: The warning appears because NixOS/Home ManagerSince the related report is from NixOS, Home Manager already provides a service module that can run ActivityWatch through systemd without After rebuilding, the services can be inspected with: This also has an advantage over One potential issueThe window and AFK watchers still need access to the graphical user session. If they start before X11 or Wayland is ready, they may fail because variables such as If that happens, the services should be ordered after the graphical session, or the user environment should be imported into systemd. That is a separate startup-order issue, not a requirement for a tray icon. So the short answer is: yes, running without a system tray is supported at the component level; run the server and watchers directly instead of launching References:
|

Hey Ahmad,
Yes, ActivityWatch can run without a system tray
The tray application,
aw-qt, is primarily a launcher and module manager. The actual tracking is performed by separate processes:aw-serveroraw-server-rustaw-watcher-afkaw-watcher-windowTherefore, the solution is to avoid starting
aw-qtand launch the server and watchers directly.For a regular installation, the equivalent commands are:
Once they are running, the dashboard remains available at:
The warning appears because
aw-qtexpects a system tray. It does not necessarily mean the underlying ActivityWatch modules require one.