System tray icon does not show when running backintime as root

Bug #1468555 reported by Sparhawk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Back In Time
Invalid
Medium
Unassigned

Bug Description

I run backintime as root so that I can backup my entire system. However, when running as root, there is no system tray icon. When running from a command line, the standard error is as follows.

    "sni-qt/3864" WARN 18:00:33.785 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
    No systemtrayicon available
    WARNING: Inhibit Suspend failed.

(I'm also unsure if the inhibit suspend also fails only for root.)

Lack of a system tray icon is annoying, because if the backup job is scheduled, I cannot easily tell when it has completed, so I can eject the backup media.

Revision history for this message
Germar (germar) wrote :

KDE Plasma 5 seems to prohibit other users (and so does root) from adding SystemTrayIcons to your NotificationArea. I've no idea how to work around this yet.

Inhibit suspend fails for root because this is a dbus sessionbus call and root has no access to users sessionbus.

Changed in backintime:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Sparhawk (sparhawkthesecond) wrote :

You may already know this, but just in case…

I installed stalonetray [1] so I could use mail-notifier [2], which doesn't work with the "new" KDE Plasma 5 tray. However, backintime (running as root) automatically popped its icon into this tray when it next ran!

[1] http://stalonetray.sourceforge.net/
[2] http://www.nongnu.org/mailnotify/

Revision history for this message
Germar (germar) wrote :

As pointed out in https://github.com/bit-team/backintime/issues/142 this has been fixed in Plasma

Changed in backintime:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.