aw-watcher-web icon indicating copy to clipboard operation
aw-watcher-web copied to clipboard

Top Browser Domain/URLs shows "No data"

Open nuclear06 opened this issue 5 months ago • 4 comments

I can see the browser history in the Timeline page, but the Activity page shows no data.

Image Image

After some searching, I found that this seems to be the same issue as https://github.com/ActivityWatch/aw-watcher-web/issues/148

I'm using Gentoo where the app name for package www-client/firefox-bin is firefox-bin, and for package www-client/google-chrome is google-chrome. Neither of these are present in queries.ts

FWIW, I am using Hyprland, so i dont use official windows watcher, I am using this wayland implementation, and looks like the app name comes from there.

I understand is hard/impossible to add all browser name across various distros and unofficial watchers. so what would your suggest -- should i find a way to change app name?

Any advice would be greatly appreciated!

nuclear06 avatar Oct 14 '25 09:10 nuclear06

I'd say the fastest/easiest would be just to change the browser name to some of the "supported" names. I guess we should internally rework how the browser names are handled so they wouldn't be hard-coded...

BelKed avatar Oct 14 '25 20:10 BelKed

Thanks for your answer.

After reading some documents, I just found that awatcher supports custom rules to change the app name, and after doing so, it works like a charm.

nuclear06 avatar Oct 15 '25 06:10 nuclear06

what is the fix around this? do we need to change the browser name? @nuclear06

krishna4040 avatar Nov 14 '25 04:11 krishna4040

yeah, I just changed the browser name. This section describes how to do that. Hopefully there will be a more elegant solution in the future.

nuclear06 avatar Nov 14 '25 06:11 nuclear06