Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

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:

share|improve this answer
    
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. –  InkBlend Mar 5 '12 at 0: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 7 '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 Mar 19 at 10:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.