Skip to content

aw-qt fails to start on gnome 40 (Wayland) because of old libgio-2.0.so.0 #710

Description

@nbCloud91
  • I am on the latest ActivityWatch version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • OS name and version: Ubuntu 21.10 linux:5.13.0-28-generic
  • ActivityWatch version: v0.11.0

Describe the bug

Although default gnome does not have system-tray, most common distributions provide extensions to circumvent that. Thus, aw-qt should work in these cases. But upon starting it with ./aw-qt, this error comes up and process is terminated:

...
2022-02-04 22:31:36 [INFO ]: Creating trayicon...  (aw_qt.trayicon:206)
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(aw-qt:7407): GLib-GIO-ERROR **: 22:31:36.281: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
2022-02-04 22:31:36 [INFO ]: aw-watcher-window started  (aw_watcher_window.main:51)
2022-02-04 22:31:36 [INFO ]: aw-watcher-afk started  (aw_watcher_afk.afk:55)
fish: Job 1, 'aw-qt' terminated by signal SIGTRAP (Trace or breakpoint trap)

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.

Activity

  1. github-actions commented on Feb 4, 2022

    @github-actions

    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! 🙏

  2. ErikBjare commented on Mar 3, 2022

    @ErikBjare
    Member

    @nbCloud91 I just released v0.12.0b1, which still contains the libgio library.

    Can you confirm the error is still present in that release and that removing the lib solves it?

  3. nbCloud91 commented on Apr 5, 2022

    @nbCloud91
    Author

    Checked out the pre-release v0.12.0b1, still the same issue.

    PS: I'm not using ActivityWatch, looking at the state of affairs regarding Gnome implementation of Wayland, it seems like many convenience software packages will not be available to end users. Neither is there any consensus among the different DEs regarding wlroots or other standards. Tried using sway, but I do not like tiling WM, gave up.

  4. capfredf commented on Jul 27, 2022

    @capfredf

    @ErikBjare I am getting this error using v0.12.0b2

  5. tmotyl commented on Aug 31, 2022

    @tmotyl

    I'm getting this error on recently published 0.12.0, on Ubuntu 21.10

  6. ErikBjare commented on Aug 31, 2022

    @ErikBjare
    Member

    @tmotyl Did removing the library work in your case too? Which distro?

  7. tmotyl commented on Aug 31, 2022

    @tmotyl

    Ubuntu 21.10 on Wayland

    vanilla AW:

    2022-08-31 17:40:10 [INFO ]: Creating trayicon...  (aw_qt.trayicon:205)
    Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    
    (aw-qt:992814): GLib-GIO-ERROR **: 17:40:10.760: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
    [1]    992814 trace trap (core dumped)  ./aw-qt
    
    

    after removing libgio-2.0.so.0

    2022-08-31 19:20:20 [INFO ]: Creating trayicon...  (aw_qt.trayicon:205)
    Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    2022-08-31 19:20:20 [INFO ]: Initialized aw-qt and trayicon successfully  (aw_qt.trayicon:244)
    
    

    so error is gone, but warning stays

  8. dolzenko commented on Nov 30, 2022

    @dolzenko

    Ubuntu 22 after removing libgio getting ./aw-qt: symbol lookup error: /lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_proxy_marshal_flags

  9. almereyda commented on May 2, 2024

    @almereyda

    When running aw-qt with the aw-awatcher binary from https://github.com/2e3s/awatcher, I'm seeing a similar error:

    /home/user/.local/opt/activitywatch/libQt6WaylandClient.so.6: undefined symbol: wl_proxy_marshal_flags
    

    This configuration is in place at .config/activitywatch/aw-qt/aw-qt.toml:

    [aw-qt]
    autostart_modules = ["aw-server-rust", "aw-awatcher"]
    #autostart_modules = ["aw-server-rust", "aw-watcher-afk", "aw-watcher-window"]

    Also reported to ActivityWatch/aw-qt#92 (comment)

  10. stale commented on Jul 19, 2025

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  11. ShadowJonathan commented on Aug 31, 2025

    @ShadowJonathan

    I'm also getting the issue with wl_proxy_marshal_flags with debian 13 and KDE

  12. shovel-kun commented on Sep 10, 2025

    @shovel-kun

    Not stale, please remove stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions