I started testing Enlightenment E19 a while back and while I like the lightweight environment, there are still some areas that could use a little TLC / better documentation. One of those is the system tray. I’m not going to elaborate on the technical and/or political details of why but it suffices to say that the Linux world is moving away from the old XEmbed standard towards libappindicator.
Here are some of the symptoms I was seeing:
- Missing tray icons
- Empty spaces where the icons are expected
- Icons that were stretched across other icons
Granted, some of this is probably because of my choice of Gentoo as distribution but still this seems to be a dark area. There is a lot of wrong information to be found on Google and after a while you start feeling you went down the rabbit hole to never come out the other end. This information is probably also not restricted to Enlightenment but that’s just the environment I was working in.
First you need to unmask some packages:
Next install the necessary packages:
emerge dev-libs/libappindicator dev-libs/libappindicator:2 dev-libs/sni-qt -av
Now you should have everything to make roughly 95% of all the Qt4, Qt5, GTK+2 and GTK+3 applications out there work.
The only thing that is left (if you are using E19) now is to disable XEmbed. First close all the applications that possibly are in the system tray, then right click it and select Settings where you can disable it. After that restart applications and (hopefully) marvel at the icon goodness.
There is an issue in the current stable release (0.19.8) of E19 where for example the Spotify icon is not shown because the system can’t find it. Instead you see a warning triangle with an exclamation mark. The issue is reported and will probably be fixed in the next release.
My overlay containing a patched ebuild: