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

11

7

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).

Tim Lytle

Posted 2009-11-20T17:24:21.287

Reputation: 959

Love it, 2.5K view, not a single upvote. – Tim Lytle – 2010-04-19T17:01:05.407

Should possibly be moved to askubuntu now? – Tim Lytle – 2010-10-14T15:21:04.730

No migration path to AskUbuntu exists, and at this point it doesn't look like there will. Therefore you will need to manually repost. There is currently lengthy discussions about not moving Ubuntu questions since they are all 100% on topic for SuperUser, and mass migration adds no value to AskUbuntu. – BinaryMisfit – 2010-10-14T15:27:15.547

@Diago, yeah, I get mass migration being bad, just seemed that this is so specifically Ubuntu (even to the version), that it would be better over there. But if that's the way it is right now, I'll not buck the system and repost. – Tim Lytle – 2010-10-14T16:28:38.840

So you want to know how to post your own information to the applet? – Suppressingfire – 2009-11-20T18:19:56.167

Post would be great, but the first step (for me) would be just getting rid of the applications I don't use (without uninstalling them). – Tim Lytle – 2009-11-20T18:45:32.697

Answers

8

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.

Suppressingfire

Posted 2009-11-20T17:24:21.287

Reputation: 1 158

2Exactily what I was looking for - just linked the shared entires (that I wanted to remove) from /usr/share/indicators/messages/applications to the blacklist directory. I assume that the $HOME/.config/indicators/messages/applications/ directory can be created as well, to add launchers. – Tim Lytle – 2009-11-20T19:25:44.660