I have installed Ubuntu MATE 18.04.1 LTS with all updates.

Here I have installed HPLIP GUI with

sudo apt install hplip-gui

Then I after reboot I have hp-systray in the tray (indicator applet), but its dropdown menu is not functioning:

hp-systray not showing dropdown menu

How can I fix this behavior?


The autostart file from hplip-gui is located in /etc/xdg/autostart/hplip-systray.desktop.

To fix the menu display we need to launch hplip with help of DBus (as in DropBox case) by creating and editing this file:

killall hp-systray
rm ~/.hplip/hp-systray.lock
mkdir -p ~/.config/autostart/
cp /etc/xdg/autostart/hplip-systray.desktop ~/.config/autostart/
sed -i "s/hp-systray -x/dbus-launch hp-systray -x/" ~/.config/autostart/hplip-systray.desktop

and then reboot and enjoy:

hp-systray with dropdown menu

This method is useful for 18.04 LTS, 18.10 and 19.04. It is a temporary fix for bug 1810745.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.