buxx / trsync

Tracim synchronization tool
MIT License
13 stars 2 forks source link

Debian 11 : Tray icon don't work #66

Closed buxx closed 2 years ago

buxx commented 2 years ago

Tray icon don't work on Debian 11. Launching trsync_manager_systray result :

gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Reason is Debian 11 drop the libappindicator support in favor of libayatana. Explanations here : https://lists.debian.org/debian-devel/2018/03/msg00506.html

The only solution seems to rewrite linux version of trsync_manager_systray with libayatana-appindicator. See https://crates.io/search?q=ayatana. Maybe extend tray-item-rs to be compatible with.

EDIT : See follow discussion (rewrite maybe not necessary) : https://www.reddit.com/r/debian/comments/wqzk69/multiple_applications_with_libappindicator_fails/?context=3

buxx commented 2 years ago

systray problem related to https://github.com/olback/tray-item-rs/issues/23

buxx commented 2 years ago

Solved! Works with Debian 11 if gnome extension installed : https://github.com/emirror-de/libayatana-appindicator-rs/issues/2#issuecomment-1219227056