HPLIP - No system tray detected on this system (Bug #1453303)
Ian Bruntlett
ian.bruntlett at gmail.com
Fri Dec 25 21:12:54 UTC 2020
Hi,
On Fri, 25 Dec 2020 at 19:50, Peter Flynn <peter at silmaril.ie> wrote:
> Yes, it's a long-standing bug in all versions I have used which they
> appear unable or unwilling to fix. A system tray is a Windows thing, and
> while there are plenty of Linux WM equivalents, HP don't seem to be able to
> use them.
>
Made a little bit of progress. I don't think it is a bug in hplip...
I backed up my copy of /usr/share/hplip/ui5/systemtray.py and changed the
relevant bit of code from:-
i = 0
while i < 60:
if QSystemTrayIcon.isSystemTrayAvailable():
break
time.sleep(1.0)
i += 1
To...
i = 0
while i < 600:
if QSystemTrayIcon.isSystemTrayAvailable():
break
time.sleep(1.0)
i += 1
And HPLIP *still* did not get access to the system tray.
Interestingly enough, while I was waiting for the above 10 minute wait for
a system tray, I discovered that there were *three* instances of
systemtray.py running!
$ pgrep -a systr
1795 /usr/bin/python3 /usr/bin/hp-systray -x
1908 /usr/bin/python3 /usr/bin/hp-systray -x
1909 /usr/bin/python3 /usr/bin/hp-systray -x
The plot thickens.
Any ideas?
TIA,
Ian
--
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page -
https://sites.google.com/site/ianbruntlett/home/free-software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20201225/0b9dcac7/attachment.html>
More information about the ubuntu-users
mailing list