Score:0

Unity Desktop: Tray icons of some apps not showing anymore (Ubuntu 22.04)

us flag

Like a ghost that you can't get rid of, here is an issue that was actually solved many years ago and has now been appearing again for a couple of months: Some tray icons don't appear anymore, in my case those of Signal and Heroic Games Launcher. They are still working properly with Gnome Desktop. Tray icons of other apps still do work with Unity too, e.g. Psensor, Diodon, System Load Indicator, Skype, Steam, Telegram, OBS.

But I had already started a thread at Signal community, with the result that it is probably not a bug on Signal. It could be due to the "Electron" version but that's unclear to me. Problems with a missing tray icon are not known in the Heroic Forum.

The old solutions from the years up to 2016 no longer work, the systray whitelist as a configuration variable no longer exists. I do not know how to continue.

Using Ubuntu 22.04.02 LTS + Unity 7.5.1+22.04.20211026.2-0ubuntu1

Score:0
us flag

Finally it turns out that the problem is related to a certain version of the Electron software framework which those programs are using. So, it will only be fixed with updates, which we have to wait for.

This is a workaround from here as a temporary solution:

  1. Copy the .desktop icon file from the program source to ~/.local/share/applications/
  2. Add env XDG_CURRENT_DESKTOP=Unity7 to the line starting with "Exec=" as first argument before the actual command.

If it already starts with "Exec=env {something}" then add only XDG_CURRENT_DESKTOP=Unity7 to that.

Packet installs have their .desktop files in /usr/share/applications/. Snap installs have theirs at /var/lib/snapd/desktop/applications/ and Flatpak installs haven them at /var/lib/flatpak/app/program.name.here/current/active/export/share/applications/.

Once the Electron versions are aligned (in the future), the new .desktop files can be deleted.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.