You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu 21.04, standard installation
libxapp1 2.0.7-1
XApp.StatusIcon.get_state() returns no-support, and the tray icon never appears. But tray works with AppIndicator.Indicator which however misses the feature I need - ability to receive the activate signal.
The readme says this library should work across all Gtk desktop environments, is it true only for Mint?
XAppStatusIcon implements its own native interface to communicate with an XAppStatusIconMonitor (the display portion of this), and will fall back to GtkStatusIcon, which is not available under wayland. So unless someone adds support for XAppStatusIcon to gnome (highly unlikely for various reasons), you're out of luck.
QSystemTrayIcon (which I assume plasma uses?) has two modes - it implements StatusNotifierItem if it detects its availability, and will use its own equivalent of GtkStatusIcon if not.
The reason the xapp icon is working in plasma fallback is because plasma apparently still supports xembed (GtkStatusIcon).
To achieve what you're after, we'll have to implement StatusNotifierItem support in XAppStatusIcon. I'll see about doing this in the near future, it wouldn't be too difficult.
Ubuntu 21.04, standard installation
libxapp1 2.0.7-1
XApp.StatusIcon.get_state()
returnsno-support
, and the tray icon never appears. But tray works withAppIndicator.Indicator
which however misses the feature I need - ability to receive theactivate
signal.The readme says this library should work across all Gtk desktop environments, is it true only for Mint?
Here's the code:
But it works with Plasma, in the
fallback
mode.Ref shutter-project/shutter#331
The text was updated successfully, but these errors were encountered: