Fix missing systray icons in Ubuntu Natty and Oneiric

15 Sep 2011

Having noted that quite a number of people read the below, just an update. This is still relevant on Oneiric (11.10), and the instructions are still functional. - jvc26 10/01/2012

I recently noticed that on Natty (and the beta version of Oneiric), any new applications which have tray icons do not appear on the system tray as one would expect them to. This is really irritating - as some of them are essentially tray-only items. Fortunately, the fix is only a dconf-editor away. The reason for the change is that Ubuntu now has a whitelist for applications which are allowed to have tray icons (presumably to stop the march of thousands of trays). To fix it, install:

sudo apt-get install dconf-tools

Then run dconf-editor (via Alt+F2), and visit:

desktop.unity.panel

The setting name you want is systray-whitelist, which currently has a list (by default, this is ['JavaEmbeddedFrame', 'Wine', 'scp-dbus-service']). Either append your new application to the end of that list, or alternatively change the whole list to read ['all'], which essentially allows a free-for-all.