Page 1 of 1

Arch Linux Tray Icon

Posted: June 24th, 2017, 7:53 am
by sabbyformneb
Hi,

I am running the latest Sabnzbd on my Antergos (arch) Cinnamon desktop install.

Yet I don't have a tray icon. I am understanding there should be one? I asked someone who is using Ubuntu and they say using Cinnamon they do have one..

Is there a setting somewhere I need to change to have this?

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 9:39 am
by safihre
You need to have gtk installed, probably you can get it through your package manager.

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 9:59 am
by sabbyformneb
I am running Cinnamon which does use GTK.

Is there a specific GTK app or version that is needed? Looking over my package manager I do have gtk2 and gtk3 installed among a few other gtk related items.

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 11:04 am
by safihre
Python-gtk package I think

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 11:27 am
by sabbyformneb
Yup looks like I have those.

My packages are called "pygtk". I'm pretty sure all the normal GTK items are installed when using the Cinnamaon desktop.

I was hoping someone else here is actually using Arch/Antegos and might know why the tray isn't there. Could it be a bug?

The logs don't seem to have anything, just this over and over again

Code: Select all

2017-05-25 09:45:33,114::INFO::[_cplogging:219] [25/May/2017:09:45:33] ENGINE Bus STARTING
2017-05-25 09:45:33,115::INFO::[_cplogging:219] [25/May/2017:09:45:33] ENGINE Started monitor thread '_TimeoutMonitor'.
2017-05-25 09:45:33,263::INFO::[_cplogging:219] [25/May/2017:09:45:33] ENGINE Serving on http://0.0.0.0:8080
2017-05-25 09:45:33,263::INFO::[_cplogging:219] [25/May/2017:09:45:33] ENGINE Bus STARTED
2017-05-27 09:30:41,878::WARNING::[__init__:190] Signal 15 caught, saving and exiting...
Is there other logs that can be turned on that might help?

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 11:38 am
by safihre
You can switch the logging to +Info in the Status and Interface window.
If SABnzbd can't find it, it will display in the log:
"pygtk2 not found. No SysTray."

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 11:47 am
by sabbyformneb
Thanks. Did that but couldn't find anything related to pygtk2 within it.

Here is the log file if you want to take a look.

https://cl.ly/lHoj

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 12:08 pm
by safihre
After changing the log level, you have to restart SABnzbd. Only during startup it will (or will not) show this message.

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 12:24 pm
by sabbyformneb
Thanks. Was not sure if that was the case.

This is the updated log file - https://cl.ly/lHsJ

Again I didn't find anything myself, at least not when searching. I am still looking at it though...

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 12:36 pm
by safihre
Aah right, so looking at the code it also needs DBUS to be installed.

Re: Arch Linux Tray Icon

Posted: June 24th, 2017, 12:39 pm
by sabbyformneb
We are getting somewhere maybe.

I do have some items installed for dbus. You can see here in this screenshot....maybe dbus-c++ is needed?

https://cl.ly/lHGD