systray icon is gone under XFCE, Mate and Gnome

Asked by Denis Prost

I used to have a systray icon showing active scheduled backintime jobs under XFCE, MATE or Gnome (and also manually started jobs).
But since a few days, the systray icon is not displayed anymore (but it is still displayed when the backup is started from backintime-gnome as root user).
I wondered what might have happened, and what I could check.
(This is on a Debian jessie system with backintime 1.0.36).
Thanks

Denis

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
Denis Prost
Solved:
Last query:
Last reply:
Revision history for this message
Germar (germar) said :
#1

Hi,
Sorry for the late answer. I discovered the same for next Qt4 release of BackInTime. Might be some missing dependencies. I'll report back as soon as I found a solution.

Regards,
Germar

Revision history for this message
Germar (germar) said :
#2

Oh, at least in Gnome it's not a bug but a (so called) feature...
They moved all systray icons into a notification center which will show up if you press Super + M (the Windows Key)
Hooray m)

Revision history for this message
Denis Prost (denis-prost) said :
#3

Hello Germar,

thanks for your answer. In Gnome, I installed the Topicons extension, so I also have systray icons in the top panel.
Regards,

Denis

Revision history for this message
Germar (germar) said :
#4

But still no systray icon for BIT? I'll have a look into this next week.

Revision history for this message
Denis Prost (denis-prost) said :
#5

No !

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Denis Prost (denis-prost) said :
#7

Just a message to reopen the question, since it is not fixed.

Revision history for this message
Germar (germar) said :
#8

Hi,
Sorry for the delay. I wasn't able to reproduce this here on fresh installed Jessie with all updates and BIT 1.0.36 from Debian repository.
How do you start scheduled jobs? With crontab or Udev? Does it work as normal user?

Regards,
Germar

Revision history for this message
Denis Prost (denis-prost) said :
#9

Hi Germar,

Thanks for going on taking care of my question.
I start scheduled job with crontab, it works as normal user, including backintime jobs !
Indeed, the backintime jobs are properly performed, the only problem is that the systray icon is not displayed.
I guess this has something to do with some permissions changed somewhere, since it worked in the past on my Jessie install, and since it works also with backintime root. But I can't find where to reset these permissions...
Regards,

Denis

Revision history for this message
Germar (germar) said :
#10

Sorry, I'm still not sure where it doesn't work. Here is what I understood from your answer:

normal user, manual => tray icon shows up
normal user, crontab => no tray icon
root, manual => tray icon shows up
root, crontab => tray icon shows up

Is this correct? If so, can you please test, if the systray icon works with other regular users?

There are no permissions I could imagine that would prevent this. Only if root was effected it could be that he doesn't have permission to paint on your screen. You could test this by turning off the access control with 'xhost +' and run a new snapshot (please don't forget to switch them on again with 'xhost -')

You could also try out new BIT version 1.1.0 from source. The systray icon in there should be more reliable than the old one.

Revision history for this message
Denis Prost (denis-prost) said :
#11

Here are the tests I performed :

normal user, manual => no tray icon
normal user, crontab => no tray icon
root, manual => tray icon shows up

I did not test "root, crontab" but I guess tray icon shows up too, since, as normal user, crontab and manual produce the same result.
I will let you know about xhost test and BIT 1.1.0 test in another post.

Revision history for this message
Denis Prost (denis-prost) said :
#12

I just tested backintime 1.1.0, systray icon is back !
By the way, I noticed there's only qt backintime flavour, no more gtk one in 1.1.0.
It's not very disturbing, it's just that I'd like backintime to use the same icon theme as the one I'm using on my Mate desktop and I don't know how to set it for qt applications.

Revision history for this message
Germar (germar) said :
#13

With 1.1.0 BIT now provides only one GUI written in Qt4 (actually it's the successor of the old KDE GUI). It will run on all DE's. So we don't have to develop thinks twice anymore \o/. Also especially the Gnome GUI would have need a lot of work otherwise.

Icons should be taken from your theme automatically as I used QIcon.fromTheme. But if there is no theme (tested with QIcon.fromTheme('document-save').isNull() ) I hardcoded to try gnome or oxygen.

To set/change your theme for Qt Apps you can use 'qtconfig-qt4'

Revision history for this message
Denis Prost (denis-prost) said :
#14

Thanks for the tip, unfortunately qtconfig-qt4 does not have an option to set the icon theme.
But don't worry, I'll surely end up finding how to set it.