Page 1 of 1

Sabnzbd Icon on Ubuntu

Posted: January 14th, 2024, 2:58 pm
by exaveal
Hey guys,

in earlier times I had a sabnzbd icon where I could add nzb files and open the webbrowser interface.
I have now a fresh ubuntu install with gnome and installed Sabnzbd - but no tray icon.
Same with fresh install XFCE.

How can I control Sabnzbd with at least the desktop icon?

Re: Sabnzbd Icon on Ubuntu

Posted: January 14th, 2024, 4:24 pm
by sander
Ubuntu user here.

My experience with the tray icon is mysterious: sometimes it's there for a time, and then not there. Weird.

Advice: set SABnzbd to +Debug logging, stop SAB, start from command line, and look for lines with sabtraylinux and/or errors.

This is good:

Code: Select all

2024-01-14 22:01:41,449::DEBUG::[sabtraylinux:33] XApp found: <XAppProxyModule <IntrospectionModule 'XApp' from '/usr/lib/x86_64-linux-gnu/girepository-1.0/XApp-1.0.typelib'>>
this is not good (only appears on stdout / stderr / console, not in sabnzbd.log)

Code: Select all

(sabnzbdplus:239768): Gtk-CRITICAL **: 22:22:40.378: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Re: Sabnzbd Icon on Ubuntu

Posted: January 16th, 2024, 5:35 am
by exaveal
Okay, I have the same on the Ubuntu (Gnome3, Wayland) machine.
As Sabnzbd seems to be THE usenet binary tool for linux: the maintenance seems really bad. Searching the web brings up a lot of questions regarding this problems, but never solutions.

Re: Sabnzbd Icon on Ubuntu

Posted: January 16th, 2024, 5:50 am
by sander
OK ... but did you follow my advice?

As they say: Meten is Weten

Re: Sabnzbd Icon on Ubuntu

Posted: January 16th, 2024, 7:37 am
by safihre
The problem is exactly due to the wide variety of display servers used by Linux that there's no 1 way of adding tray icon to all Linux systems. Very hard for us maintainer since everyone finds their own distro the most important one that should be supported.

Re: Sabnzbd Icon on Ubuntu

Posted: January 16th, 2024, 8:26 am
by jcfp
The standard way of displaying a tray icon on linux was removed by the gtk/gnome devs in their infinite wisdom, because "all functions tray icons provided can be replaced by notification popups". Except they cannot, and app developers ended up dealing with the fallout - such as users claiming projects are badly maintained when the icon doesn't show up on their desktop.

As noted by other sander the tray icon uses Xapp these days, so you need the gir1.2-xapp-1.0 package installed (which is a recommended dependency of the ubuntu package, so do check!), and the desktop environment of your choice must be able to display those. Some DEs do out of the box, some need plugins, some lack support. Not something we can fix.