Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to whitelist a program to appear in Panel of Ubuntu

📅 2013-Oct-04 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ dconf-editor, panel, system tray, whitelist ⬩ 📚 Archive

Problem

The Panel is the taskbar at the top of the Unity desktop interface in Ubuntu. Many GUI applications that persist in the background, like those with notifications, like to add an icon to the system tray in the Panel. However, you might find that a newly installed application does not appear in the Panel, even though it is supposed to.

Solution

Only applications in a pre-defined whitelist are allowed to add their icon to the system tray in the Panel. These include the default applications that ship with Ubuntu and a few others. All other applications have to be manually whitelisted if their icon is to be allowed to appear in the Panel. To do this:

  1. Install DConf Editor, if you do not already have it. It is installed along with the package dconf-tools:
$ sudo apt-get install dconf-tools
  1. Open DConf Editor from the Dash or dconf-editor from the shell.

  2. Go to Desktop > Unity > Panel. Click on the value field for the name systray-whitelist.

  3. Add the binary filename of the application you want to whitelist. Add this name enclosed in single quotes to the list. Close DConf Editor.

Start your application again. Its icon should now appear in the Panel.

Tried with: dconf-tools 0.12.0 and Ubuntu 12.04 LTS


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧