I have done additional tests and got some debug logs. I have added
[general] debug=1 to the end of /etc/xdg/sni-qt.conf to turn on debug logging of sni-qt. Then I have killed all hp-systray processes (there are usually three) and run hp-systray --debug > log 2>&1 The icon appeared but clicking on it gives an empty menu (small dark gray rectangle). The message /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK in the log file makes the impression that GTK is used by hp-systray which would break the automatic use-as-indicator process of sni-qt. So I have searchd for GTK usage in HPLIP and found it only in /usr/share/hplip/base/utils.py So I have commented out the appropriate lines (all in the function no_qt_message_gtk()) and added a "return" to the beginning of the function to keep the code in a working state. Killing all hp-systray processes again andrunning above command line again leads to the exactly same result. Still no menu at the icon and still the GTK message in the log. Then I went step by step through the code to find what causes the message and it is in /usr/share/hplip/ui4/systemtray.py The lines: try: import pynotify except ImportError: have_pynotify = False cause it. I commented them out and added have_pynotify = False after them. This most probably deactivates the notifier. After that and killing and restarting hp-systray the GTK message in the log disappeared, but the indicator icon is still without menu. So this GTK use seems not to have any influence. The log of this execution is attached to the next comment as log-nogtk. ** Attachment added: "log" https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/857929/+attachment/2465401/+files/log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857929 Title: hp-systray icon does nothing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/857929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs