You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm working on a Debian package for Ubuntu 24.04 that bundles activitywatch (core, rust server, qt), awatcher (rust), and focused-window-dbus. My goal is a good out-of-the-box experience. I have a few questions about how aw-qt and aw-server-rust handle defaults, which impacts packaging. I used the latest commit for all packages.
API Browser Link: When i click "Open API browser" in aw-qt, it goes to http://localhost:5600/api, which gives a 404. The server log says "No matching routes for GET /api text/html." Specific endpoints like /api/0/info work fine. Is the /api link in aw-qt configurable, or is there an expectation that /api itself should serve something?
Tray Icon Path: aw-qt shows a clickable area in the system tray, but no visible icon. My package installs icons to /usr/share/icons/hicolor/ and the .desktop file specifies Icon=activitywatch. strace suggests aw-qt might be looking for icon files in paths relative to where it was run (like icons:logo.png or media/application_exit.png) instead of just using the system theme. Where does aw-qt expect to find its tray icon?
Desktop Launcher Icon Size: The launcher icon for aw-qt appears very small. I'm installing SVG and various PNG sizes (512, 128, and planning to add 256, 64, 48 from SVG). The ActivityWatch project has its own .deb build. Do you have advice on how you get full-sized launcher icons to display reliably from your .desktop file?
aw-qt.toml Configuration Path: aw-qt seems to only look for ~/.config/activitywatch/aw-qt/aw-qt.toml. If it's not there, it uses internal defaults (which try to start Python watchers that fail on Wayland) and creates a new user config. It doesn't seem to use a system-wide default like /etc/xdg/activitywatch/aw-qt/aw-qt.toml as a fallback. This makes it hard to ship a package where aw-qt uses our preferred settings (e.g., to start aw-awatcher instead of the Python watchers) without user action after install. Does aw-qt check any other system-wide paths for aw-qt.toml if the user's file is missing? Or is the current behavior intended?
Systemd Service for aw-server-rust: My package runs aw-server-rust as a systemd user service (activitywatch-server.service), which users enable. Do you have any recommendations or concerns about this approach for the server? Is a systemd service generally a good idea for aw-server-rust?
Thanks for any help or pointers on these.
The text was updated successfully, but these errors were encountered:
Hi there!
As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct.
Thanks a bunch for opening your first issue! 🙏
Hi,
i'm working on a Debian package for Ubuntu 24.04 that bundles
activitywatch
(core, rust server, qt),awatcher
(rust), andfocused-window-dbus
. My goal is a good out-of-the-box experience. I have a few questions about howaw-qt
andaw-server-rust
handle defaults, which impacts packaging. I used the latest commit for all packages.API Browser Link: When i click "Open API browser" in
aw-qt
, it goes tohttp://localhost:5600/api
, which gives a 404. The server log says "No matching routes for GET /api text/html." Specific endpoints like/api/0/info
work fine. Is the/api
link inaw-qt
configurable, or is there an expectation that/api
itself should serve something?Tray Icon Path:
aw-qt
shows a clickable area in the system tray, but no visible icon. My package installs icons to/usr/share/icons/hicolor/
and the.desktop
file specifiesIcon=activitywatch
.strace
suggestsaw-qt
might be looking for icon files in paths relative to where it was run (likeicons:logo.png
ormedia/application_exit.png
) instead of just using the system theme. Where doesaw-qt
expect to find its tray icon?Desktop Launcher Icon Size: The launcher icon for
aw-qt
appears very small. I'm installing SVG and various PNG sizes (512, 128, and planning to add 256, 64, 48 from SVG). The ActivityWatch project has its own.deb
build. Do you have advice on how you get full-sized launcher icons to display reliably from your.desktop
file?aw-qt.toml
Configuration Path:aw-qt
seems to only look for~/.config/activitywatch/aw-qt/aw-qt.toml
. If it's not there, it uses internal defaults (which try to start Python watchers that fail on Wayland) and creates a new user config. It doesn't seem to use a system-wide default like/etc/xdg/activitywatch/aw-qt/aw-qt.toml
as a fallback. This makes it hard to ship a package whereaw-qt
uses our preferred settings (e.g., to startaw-awatcher
instead of the Python watchers) without user action after install. Doesaw-qt
check any other system-wide paths foraw-qt.toml
if the user's file is missing? Or is the current behavior intended?Systemd Service for
aw-server-rust
: My package runsaw-server-rust
as a systemd user service (activitywatch-server.service
), which users enable. Do you have any recommendations or concerns about this approach for the server? Is a systemd service generally a good idea foraw-server-rust
?Thanks for any help or pointers on these.
The text was updated successfully, but these errors were encountered: