Maui Forums
no system tray? - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Software & Applications (https://forums.mauilinux.org/forumdisplay.php?fid=77)
+--- Thread: no system tray? (/showthread.php?tid=24545)



no system tray? - benit - 24th July 2017

   
I tried to install hplip and hplip-gui for my HP-printer.

After reboot I get a strange error message (see screenshot attached).

What is going on?


RE: no system tray? - leszek - 25th July 2017

Hplip seems to use an outdated systemtray implementation which fails most probably because it starts something in autostart that is started before the systemtray and it's compatibility layer for such old systemtray icons is loaded.

The systray usually is not needed. So you should be able to disable it in the autostart options in systemsettings.


RE: no system tray? - benit - 25th July 2017

In system settings (via GUI) I have only two entries in autostart, but not the system tray...


RE: no system tray? - leszek - 25th July 2017

I meant the hplip entry. Isn't it showing up there? Maybe you need to manually delete it from /usr/share/autostart


RE: no system tray? - benit - 26th July 2017

   
Unfortunately I have no folder called autostart...


RE: no system tray? - leszek - 26th July 2017

Take a look in /etc/xdg/autostart then.


RE: no system tray? - benit - 26th July 2017

ahh... there it is! From there I could start it manually without error message, so indeed it has something to do with boot order.

Can I delay the autostart somehow? It is the GUI part of HPlip which is sometimes quite helpful.


RE: no system tray? - benit - 26th July 2017

Here is the code of the .desktop file:

Code:
[Desktop Entry]
Version=0.6
Type=Application
Name=HP System Tray Service
GenericName=Printer Status Applet
Comment=HP System Tray Service
Exec=hp-systray -x
Icon=/usr/share/hplip/data/images/128x128/hp_logo.png
Terminal=false
Categories=Application;Utility;
X-KDE-StartupNotify=false
StartupNotify=false



RE: no system tray? - leszek - 26th July 2017

Change the exec line to
Code:
Exec=sleep 15 && hp-systray -x
to delay the start for 15 seconds. That should be enough otherwise just increase the sleep value.