aw-qt icon indicating copy to clipboard operation
aw-qt copied to clipboard

No tray icon on GNOME Wayland

Open flexagoon opened this issue 3 years ago • 3 comments

I have the AppIndicator Support extension installed, and other tray icons are working fine. But when I launch aw-qt, the tray icon does not appear. If I run it from the terminal, I get an error:

(aw-qt:109375): GLib-GIO-ERROR **: 00:55:08.634: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'

flexagoon avatar Dec 12 '22 21:12 flexagoon

Although aw-watcher-window does not support Wayland, there is aw-watcher-window-wayland, and I'll also soon publish aw-watcher-gnome (mentioned here). Also, some people may just use ActivityWatch with other watchers that don't depend on the display server, eg. the browser or editor watchers.

So it would be good if the tray icon worked on Wayland.

flexagoon avatar Dec 12 '22 22:12 flexagoon

Relevant issue with workaroud

Workaround

the libgio-2.0.so.0 bundled with the application is old and is requesting a key which is not present. I deleted the bundled lib and got the tray-icon to work.

Edit: Also thank you for implementing a watcher for gnome. I may finally be able to use ActivityWatch.

nbCloud91 avatar Dec 24 '22 13:12 nbCloud91

It appears the binary aw-awatcher from https://github.com/2e3s/awatcher can act to replace aw-watcher-afk and aw-watcher-window

Even though https://extensions.gnome.org/extension/615/appindicator-support/ is installed, as per the suggestion in the documentation, there is another error thrown:

.local/opt/activitywatch/aw-qt: symbol lookup error: /home/yala/.local/opt/activitywatch/libQt6WaylandClient.so.6: undefined symbol: wl_proxy_marshal_flags

This is the same error as reported in https://github.com/ActivityWatch/activitywatch/issues/710#issuecomment-1331856907, but raised from another library.

almereyda avatar May 02 '24 13:05 almereyda