No system tray detected by hp-systray

Bug #1908921 reported by Sushenjit Bandyopadhyay
204
This bug affects 44 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-appindicator (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have hp-systray -x as one of the startup applications when I login. This app exits with the following error:

HPLIP Status service
No system tray detected on this system.
Unable to start, exiting.

Once logged in, if I start hp-systray -x from the terminal it works fine. This started happening after updating gnome-shell-extension-appindicator from version 33-1 to version 33.1-0ubuntu0.20.04.1.

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell-extension-appindicator 33.1-0ubuntu0.20.04.1
ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
Uname: Linux 5.4.0-58-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Mon Dec 21 11:41:23 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-06-10 (1655 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
SourcePackage: gnome-shell-extension-appindicator
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sushenjit Bandyopadhyay (s-bandyo1) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell-extension-appindicator (Ubuntu):
status: New → Confirmed
Revision history for this message
Rene Rompre (mobilrond) wrote :

Same as above...

Revision history for this message
Sushenjit Bandyopadhyay (s-bandyo1) wrote :

The problem seems to affect Zoom indicator icon as well.

If Zoom is set to start automatically at logon, the Zoom indicator icon does not show in the appindicator even though Zoom starts. If I quit zoom and start it again manually the zoom icon appears normally in the appindicator.

Revision history for this message
LaunchpadUser (lpusr) wrote :

This bug ("No system tray detected on this system") also occured years ago and a workaround was to change ~/hplip-systray.desktop to increase the "sleep" time:

Exec=sh -c "sleep 60; exec hp-systray"

but this does not work anymore after the latest Ubuntu update.

Revision history for this message
klinge (rosgnilk) wrote :

Affects OwnCloud and NextCloud as well.

Revision history for this message
Georg Lipps (georg-lipps) wrote :

Icon tray works for Ulauncher and Duplicati but not for Hplip - Thanks.

Revision history for this message
Dario Menin (darioalessio-menin) wrote :

Also affects CopyQ, with two different behaviours:

1. CopyQ starts without system tray (app icon visible in the sidebar)
2. CopyQ starts - if I try to start it again it gives the message "Warning: Il server CopyQ è già in esecuzione.", and "ps -eF | grep copyq" shows the copy processes - but it's not visible in the tray.

To bring CopyQ back to the tray, i have to do:

- "killall copyq" from the terminal
- Start CopyQ from the activities view (Super key + search "CopyQ")

I also tried to change the autostart command adding a sleep: "sleep 10 && /usr/bin/copyq", without luck, the icon is never shown in the system tray.

Revision history for this message
Rui Goncalves (rfglinux) wrote :

Also effects me.
In addition to coming up on startup, I've been getting this error occasionally.

Revision history for this message
Martin Boman (m-martin-c) wrote :

Affects me also

Revision history for this message
Landon Hemsley (landonhemsley) wrote :

I am also affected.

Revision history for this message
britton bowman (britton-u) wrote :

This also affects symless/synergy v1:
  Receive error message 'No system tray detected on this system'
  Synergy is started without systray icon visible after Ok'ing the error message

I have the same hplip-systray error as listed in description.

Revision history for this message
Christopher Hamer (c-edward-hamer) wrote :

This also affects seadrive and seafile clients. I also see this on hp-systray and nextcloud. Enpass is not affected.

Revision history for this message
Pavol Astrab (pavol.astrab) wrote :

Also effects me.
HP EliteBook 8540p.
Linux HP-EliteBook-8540p 5.8.0-38-generic #43~20.04.1-Ubuntu SMP Tue Jan 12 16:39:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
britton bowman (britton-u) wrote :

I have found a workaround by adding a sleep period of 5s in the startup application command line for my synergy and hplip-systray on ubuntu 20.04:

 sh -c "sleep 5 ; exec /usr/bin/synergy"
 sh -c "sleep 5 ; exec hp-systray -x"

Revision history for this message
Braulio Correa (eichpil) wrote :

I am also affected. Ubuntu 20.4 con hplip.

Revision history for this message
Fmstrat (fmstrat) wrote :

I am also affected with HPLIP and Nextcloud. Icon's do not display as there is no System Tray. Killing the apps and restarting them works, so the "delay" is likely the issue again.

Revision history for this message
Ted Cahall (cahall-cahall) wrote :

I am also affected.

Revision history for this message
Matthias Schniewind (3-matthias) wrote :

It also seems to affect the Mathpix app (https://snapcraft.io/mathpix-snipping-tool), at least for me it stopped working together with HP System Tray Service and Nextcloud.

Revision history for this message
Hendy Irawan (ceefour) wrote : apport information

ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-02-24 (12 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Package: gnome-shell-extension-appindicator 33.1-0ubuntu0.20.04.1
PackageArchitecture: all
ProcVersionSignature: Ubuntu 5.8.0-44.50~20.04.1-generic 5.8.18
Tags: focal third-party-packages
Uname: Linux 5.8.0-44-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

tags: added: apport-collected third-party-packages
Revision history for this message
Hendy Irawan (ceefour) wrote : Dependencies.txt

apport information

Revision history for this message
Hendy Irawan (ceefour) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Hendy Irawan (ceefour) wrote : ProcEnviron.txt

apport information

Revision history for this message
Hendy Irawan (ceefour) wrote :

I'm affected, using Ubuntu 20.04.2. Happens to CopyQ and Flameshot if set on autostart.

Workaround as given by reporter, is WORKING!:

sudo apt install gnome-shell-extension-appindicator=33-1
sudo apt-mark hold gnome-shell-extension-appindicator

Thank you ~s-bandyo1 ! :)

Revision history for this message
Paolo Pustorino (stickgrinder) wrote :

I'm also affected.
Sleep workaround works, but I choose to downgrade to the working version.

Revision history for this message
Sønke Lorenzen (solorenzen) wrote :

The update to gnome-shell-extension-appindicator 35-1 on hirsute today fixed this for me on hirsute.

At least I got the applet loading without problems three restarts in a row, and recently it failed on every restart on the previous version.

Revision history for this message
rajesh kumar (rajesh-chaurasiya) wrote :

this bug also affects me. neither of the suggested solutions work. (neither setting sleep nor downgrading gnome-shell-appindicator).

any new suggestions are welcomed.

Revision history for this message
Götz Waschk (goetz-waschk) wrote :

@rajesh, have you updated gnome-shell-appindicator to the official update released for focal?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.