$ cat /etc/xdg/autostart/hplip-systray.desktop
[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
But this method does not fix problem on Unity. Here the problem is solvable by installation of 3.18.12 from hplip site as discribed in https://askubuntu.com/a/1056078/66509 .
The desktop-file is default:
$ cat /etc/xdg/ autostart/ hplip-systray. desktop share/hplip/ data/images/ 128x128/ hp_logo. png Application; Utility; tify=false
[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/
Terminal=false
Categories=
X-KDE-StartupNo
StartupNotify=false
The MATE problem is solvable by using dbus-launch (see https:/ /bugs.launchpad .net/ubuntu/ +source/ mate-panel/ +bug/1810745/ comments/ 8).
But this method does not fix problem on Unity. Here the problem is solvable by installation of 3.18.12 from hplip site as discribed in https:/ /askubuntu. com/a/1056078/ 66509 .