3

I would like to remove an applet from the GNOME panel/indicator applet (the Gwibber/broadcasting applet, to be precise) in Unity mode.

Is this possible?

If so, would any techniques also apply to other applets that other programs may place there?

Jorge Castro
  • 71,754
fouric
  • 4,588

1 Answers1

5

What I did was create the folder ~/.config/indicators/messages/applications-blacklist. Then inside it, I created a text file called gwibber.indicator with only one line:

/usr/share/applications/gwibber.desktop

Now log out and back in (or kill and restart the panel) and you should see the broadcast item is gone.

The authoritative source for this is here. It explains how to blacklist items on the messaging menu by using the above procedure. One thing that is perhaps not explained is how to find the right name to use for the text file (why gwibber.indicator instead of just gwibber for example) and how to find the path to the desktop file.

To find the name, you can simply ls /usr/share/indicators/messages/applications. The desktop path should be like the one for the gwibber example above, but you can ls /usr/share/applications/ to check it's there.

To add your own application to the messaging menu, you need to create a folder:

mkdir ~/.config/indicators/messages/applications

Then put a text file with the a path to the application's desktop file; I think you can pick any name here.

References:

Chan-Ho Suh
  • 7,562
  • Perfect! It worked like a charm! However, I would like to know if this applies to other applets and if so, how I would find the name of them so that I can add them to the blacklist. – fouric Mar 05 '12 at 00:05
  • @grant-veseley Hi Grant. I've been busy, dealing with my own Ubuntu issues among other things :) I've updated my answer to hopefully answer your questions. – Chan-Ho Suh Mar 07 '12 at 22:48
  • I followed this instructions for removing the Broadcast option, and they were only gone for like a minute after I logged back in. Then they reappeared again. I've opened another question here, – Diego-MX Mar 19 '14 at 10:48