How do I add/remove an entry in the Indicator Applet in Gnome?

I can't seem to find a guide or reference on how to configure the 'indicator-applet' (aka MessagingMenu) that came about in the 9.04 release of Ubuntu. It's that little mail icon that lists messaging apps.

I can find docs about what it should do, people complaining about how it works, references that the API changed in 9.10, but not much on how to change the configuration.

The MessagingMenu design spec page says that the config file should be at $HOME/.config/indicators/messages/applications/, but there's nothing there on my install (9.10).


Solution 1:

According to dirs.h, there can be a directory indicators/messages/applications-blacklist, which will be treated as a subdirectory of your user config directory ($HOME/.config by default).

I don't think this directory would be created by default, but you can create it yourself. It looks like you'd need to restart the indicator service (log out/log in) after creating that directory.

Each file there will be loaded to read a path to a .desktop file. So I guess you can put a text file with the full path to the launcher of the application you want to ignore in there.

I believe these paths should come from /usr/share/indicators/messages/applications.