I am experiencing this problem on Ubuntu 20.04.1 LTS on a lenovo ThinkPad T420.
The above solution does work, however, I have two suggestions.
Now my Python is *really* rusty (no pun intended). And my Qt isn't Cute.
The systray detecting code is in this Python file - /usr/share/hplip/ui5/systemtray.py
At the bottom of that file, there is a method called "run". It polls QSystemTrayIcon.isSystemTrayAvailable(), once a second, for 60 seconds. This hardcodes a magic number (60) in the source code. I believe that is an error and it should be possible to override that with a shell variable (if that is practical).
Once the script has determined there is no system tray, it displays a dialogue box stating "No system tray detected on this system." and then waits for the user to "OK" to quit. I think a more robust approach to this would be to have a "Retry" button in this dialogue, so that if a system tray is not detected in time, the user would be able to click "Retry" and hopefully the system tray will be detected that time.
I am experiencing this problem on Ubuntu 20.04.1 LTS on a lenovo ThinkPad T420.
The above solution does work, however, I have two suggestions.
Now my Python is *really* rusty (no pun intended). And my Qt isn't Cute.
The systray detecting code is in this Python file - /usr/share/ hplip/ui5/ systemtray. py
At the bottom of that file, there is a method called "run". It polls QSystemTrayIcon .isSystemTrayAv ailable( ), once a second, for 60 seconds. This hardcodes a magic number (60) in the source code. I believe that is an error and it should be possible to override that with a shell variable (if that is practical).
Once the script has determined there is no system tray, it displays a dialogue box stating "No system tray detected on this system." and then waits for the user to "OK" to quit. I think a more robust approach to this would be to have a "Retry" button in this dialogue, so that if a system tray is not detected in time, the user would be able to click "Retry" and hopefully the system tray will be detected that time.
Compliments of the Season...