Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#793675: hplip-gui: No system tray detected

79 views
Skip to first unread message

Benoît Rouits

unread,
Nov 9, 2017, 11:30:02 AM11/9/17
to
Package: hplip-gui
Version: 3.17.10+repack0-1
Followup-For: Bug #793675

Dear Maintainer,

This bug occurs also on Gnome3 (in Buster). It seems, at least
for Gnome3, that the systray is temporarly removed after an
upgrade, or starts too late ?

Indeed, other systray-aware applications also display
errors (ownCloud client, for instance).

Unfortunately i don't know which package concerns the gnome systray...

Thank you for your consideration.



-- Package-specific info:

-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages hplip-gui depends on:
ii dbus-user-session [default-dbus-session-bus] 1.12.0-1
ii dbus-x11 [dbus-session-bus] 1.12.0-1
ii gksu 2.0.2-9+b1
ii hplip 3.17.10+repack0-1
ii python3-dbus.mainloop.pyqt5 5.9+dfsg-2+b1
ii python3-pyqt5 5.9+dfsg-2+b1

Versions of packages hplip-gui recommends:
ii python3-notify2 0.3-3
ii simple-scan 3.23.2-1

hplip-gui suggests no packages.

-- no debconf information

Julian Andres Klode

unread,
Nov 9, 2017, 11:40:02 AM11/9/17
to
On Thu, Nov 09, 2017 at 05:16:35PM +0100, Benoît Rouits wrote:
> Package: hplip-gui
> Version: 3.17.10+repack0-1
> Followup-For: Bug #793675
>
> Dear Maintainer,
>
> This bug occurs also on Gnome3 (in Buster). It seems, at least
> for Gnome3, that the systray is temporarly removed after an
> upgrade, or starts too late ?

There is no system tray in GNOME, it was removed in 3.26. You
need gnome-shell-extension-top-icons-plus to get it back.

--
Debian Developer - deb.li/jak | jak-linux.org - free software dev
Ubuntu Core Developer de, en speaker

Peter Boehm

unread,
May 5, 2018, 4:10:03 AM5/5/18
to
dear all, dear maintainer

i am running debian buster.
kernel version 4.15.0-3-amd64
gnome version 3.22+9
after login i receive the message "no systemtray detected"

1) i tried to solve with the here suggested:
Exec=sh -c "sleep 45; exec hp-systray"
with no success

2) i installed gnome-shell-extension-top-icons-plus
but still getting the error message

any new suggestions, help?

all the best peter



On Thu, 9 Nov 2017 17:28:28 +0100 Julian Andres Klode <j...@debian.org>
wrote:

Henrik Ahlgren

unread,
Oct 17, 2020, 8:10:03 AM10/17/20
to
Any possibility the whole /etc/xdg/autostart/hplip-systray.desktop file
could be dropped from future versions if it does not work at all?

The "No system tray detected on this system." error dialog every user
gets when logging in in default GNOME desktop is very annoying.

Please fix this issue that is already over 10 years old.

Fabrice Bauzac-Stehly

unread,
Mar 31, 2021, 7:50:02 PM3/31/21
to
This affects a number of operating system packages of hplip.

See this upstream bug:
https://bugs.launchpad.net/hplip/+bug/1714659

Concerning the idea of forcing a dependency on sni-qt, it looks like
this package does not exist (anymore?).

Concerning the need to add a "sleep" before starting hp-systray, this is
not useful anymore as the program now does this sleep (for up to 60
seconds), waiting for a system tray to be available.

About the idea of installing gnome-shell-extension-top-icons-plus, I can
confirm that it does not solve the issue for my GNOME environment.

To summarize, hplip provides several tools, among which there is
hp-systray which handles a system tray functionality. However, system
trays are now replaced with "Notifications" in GNOME, and the system
tray functionality is simply absent nowadays in GNOME. The message from
GNOME is that applications should stop relying on this (old) way of
doing things. I'm not sure what functionality the hp-systray provides,
but if it makes sense the hplip team would have to create a new tool
based on "Notifications" that would provide the same functionality.

I doubt we can remove hp-systray; it may be useful for users of desktop
environments other than GNOME that still have a system tray.

To fix this issue which, as far as I know, only hit GNOME users, I
suggest to add this line to /etc/xdg/autostart/hplip-systray.desktop:

NotShowIn=GNOME;

So that the issue stops annoying GNOME users.

--
Fabrice Bauzac-Stehly
PGP 01EEACF8244E9C14B551C5256ADA5F189BD322B6
old PGP 015AE9B25DCB0511D200A75DE5674DEA514C891D

Richard B. Kreckel

unread,
May 13, 2021, 4:50:04 PM5/13/21
to
reopen 793675

Running version 3.21.2+dfsg1-2 of package hplip-gui, the annoying
message still pops up after each login.

I have checked that /etc/xdg/autostart/hplip-systray.desktop indeed
contains the line saying NoShowIn=GNOME; It does not seem to suppress
the popup. There is no other "hplip-systray.desktop"

I wonder if anybody has tried if this works? If so, please speak up.

-rbk.
--

.''`. Richard B. Kreckel

: :' : <kre...@debian.org>

`. `' <kre...@in.terlu.de>

`- <http://in.terlu.de/~kreckel/>

Fabrice Bauzac-Stehly

unread,
May 15, 2021, 4:40:03 AM5/15/21
to
Hello,

"Richard B. Kreckel" <kre...@in.terlu.de> writes:

> Running version 3.21.2+dfsg1-2 of package hplip-gui, the annoying
> message still pops up after each login.

Version 3.21.2+dfsg1-2 does not contain the change to
/etc/xdg/autostart/hplip-systray.desktop, so I expect that you get the
annoying message.

The fixed version is 3.21.2+dfsg1-2+exp0.

> I have checked that /etc/xdg/autostart/hplip-systray.desktop indeed
> contains the line saying NoShowIn=GNOME;

Have you modified it manually?

> It does not seem to suppress the popup. There is no other
> "hplip-systray.desktop". I wonder if anybody has tried if this works?
> If so, please speak up.

I use GNOME and I can confirm that the fix works for me: 3.21.2+dfsg1-2
shows the popup, 3.21.2+dfsg1-2+exp0 does not.

The change only fixes GNOME users; if you use a different desktop
environment, it will do nothing for you. Do you use GNOME? Cinnamon?
Any other derivatives? KDE?...

Thanks.

Best regards

Richard B. Kreckel

unread,
May 15, 2021, 6:00:04 PM5/15/21
to
Hi,

On 15.05.21 10:32, Fabrice Bauzac-Stehly wrote:
> "Richard B. Kreckel" <kre...@in.terlu.de> writes:
>
>> Running version 3.21.2+dfsg1-2 of package hplip-gui, the annoying
>> message still pops up after each login.
>
> Version 3.21.2+dfsg1-2 does not contain the change to
> /etc/xdg/autostart/hplip-systray.desktop, so I expect that you get the
> annoying message.
>
> The fixed version is 3.21.2+dfsg1-2+exp0.
>
>> I have checked that /etc/xdg/autostart/hplip-systray.desktop indeed
>> contains the line saying NoShowIn=GNOME;
>
> Have you modified it manually?

Indeed.

I had tried that fix from Ubuntu long ago and it didn't work...

...but now that you confirmed that it works, I tried again. And d'oh, I
had a typo in it! (NoShowIn=...)

Let's close this bug now...

-richard.
0 new messages