ActivityWatch / ActivityWatch/activitywatch
aw-qt fails to start on gnome 40 (Wayland) because of old libgio-2.0.so.0
- Langage dominant
- Python
- Étoiles
- 18.9k
- Forks
- 1k
- Merge moyen
- 1 j 4 h
- PR mergées (30 j)
- 28
Description
- [x] I am on the [latest](https://github.com/ActivityWatch/activitywatch/releases/latest) ActivityWatch version.
- [x] 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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.