How do I access and enable more icons to be in the system tray?

So I'm messing around with Natty a little, and I noticed that all the apps that would normally use the system tray (or "notification area"?) aren't displaying there. Is that a bug, or is that the way it's going to be? I heard something about Ubuntu getting rid of that feature entirely. Is there a way to add it back? I mean, I didn't really like it, either, especially when there were apps that used it unnecessarily, but I can't use CryptKeeper at all now, or easycrypt, and I don't know whether Dropbox has synced without opening Nautilus.

Answers 6

  • From Ubuntu 13.04 onwards you have to whitelist the applications if you want to allow access to the system tray.

    Firstly install dconf-tools from the software center ( or by clicking here) Then Press Alt+F2 and enter dconf-editor and run it.

    dconf-editor alt-f2 dialog

    Now navigate to Desktop -> Unity -> Panel.

    configuration editor (dconf-editor) desktop.unity.panel

    Now change the value of systray-whitelist to

    "all"
    

    Note that setting this to "all" will likely lead to other bugs, as the old notification area is unmaintained, instead consider adding applications you need individually instead of just enabling everything. You can reset it to the defaults by checking out this question:

    Do note that the system tray is entirely removed in 13.04 and newer and that older applications that still have not been ported need to be updated:



  • You can upgrade Dropbox, as in the latest builds it has an indicator on Ubuntu. For other applications, if the developers do not add indicator support for them, you can simply white-list them as Alaukik says, and also notify the developer that they need to fix the application.


  • To show the current systray whitelist:

    gsettings get com.canonical.Unity.Panel systray-whitelist

    To whitelist all systray indicators:

    gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"

    To append an application to the whitelist, substitute MYAPP at the end of this line:

    gsettings set com.canonical.Unity.Panel systray-whitelist "$(gsettings get com.canonical.Unity.Panel systray-whitelist | sed -e "s/]$/, 'MYAPP']/")"


  • Instead of changing it to 'all' I suggest adding the name of the desired application to the list. With this you avoid all kinds of problems with panel caused by the "all" value.

    For example drweb indicator was missing, so I tried to add the command which executes dr web antivirus into the whitelist. The value was like ['JavaEmbeddedFrame', 'Wine', 'Update-notifier']. I changed it to ['JavaEmbeddedFrame', 'Wine', 'drweb-cc', 'Update-notifier'], then I logged out and logged in, and the indicator was on the panel.


Related Questions