Monday, June 24, 2013

Whitelisting the system tray in ubuntu 13.04

As you probably know, the Unity notification area (systray) whitelist is no longer available in Ubuntu 13.04 so you can't whitelist applications to be able to use the systray.  

If you can't live without an application that still uses the old notification area, here's how to get the Unity systray whitelist back in Ubuntu 13.04 


sudo add-apt-repository ppa:timekiller/unity-systrayfix
sudo apt-get update
sudo apt-get upgrade
 
 

You install Skype and expect it to work as it used to. But if you close the main window - you soon notice that Skype icon is not being displayed in top panel.

To fix this you will need to run a few commands. So open up your terminal and run this:
 
gsettings get com.canonical.Unity.Panel systray-whitelist

You should get something like this:

 
['JavaEmbeddedFrame', 'Wine', 'Update-notifier'] 
 
Basically this means, that Skype is not whitelisted, thus is not allowed by default to display 
its tray icon. We need to fix this. Append 'Skype' to the list so that you have something like this:
 
settings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'Skype']" 

Now just copy this to your Terminal and execute the command. Reboot afterwards. Now you should see the icon.

1 comment:

Unknown said...

It will not work in ubuntu 13.10 and above because there is no tray icon and whitelisting is removed. So use:
sudo apt-get install libappindicator1
and then restart skype.