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.

Is there any other way of removing the "Set Up Mail" and other entries from the message indicator short of uninstalling Evolution? I prefer to use GMail directly through the browser. It's beginning to annoy me since I keep on clicking it by accident then that window pops out.

share|improve this question

3 Answers 3

up vote 5 down vote accepted

Note: as per Ted and pydave's comments, my original answer below is not the ideal solution. Refer to the other answers for better solutions.

Removing an item from /usr/share/indicators/messages/applications should remove its corresponding application from the messaging indicator. It should take effect the next time you log in.

share|improve this answer
    
Excellent it worked! But I had to load into a Guest session to see that it did work. Killing the panel didn't seem to do the trick. I guess on my next login it should be gone. Thanks Marco! :) or Murat, sorry. ;) –  Marky Oct 17 '10 at 4:07
4  
This works, but I don't think it's good to encourage people to change/delete files that are under package management. It can cause errors on upgrade or the files will get replaced. –  Ted Gould Apr 29 '11 at 14:03
2  
I agree with Ted. Uninstalling evolution-indicator or blacklisting the indicator is a better approach. An update may restore evolution's indicator. Also, changing system files affects all users (if you're going to do that, why not just uninstall evolution completely: askubuntu.com/questions/32231 ) –  pydave May 5 '11 at 17:31

To remove the Set Up Mail... ( or Chat, Broadcast etc.) item for just your user account, simply run the following commands (replacing evolution with gwibber,empathy etc.):

This creates a folder that the Messaging Menu looks into for applications to not show:

mkdir ~/.config/indicators/messages/applications-blacklist/ -p

Now, to "blacklist" an item from the Messaging Menu:

cp /usr/share/indicators/messages/applications/evolution ~/.config/indicators/messages/applications-blacklist/

This has the same effect as removing evolution from /usr/share/indicators/messages/applications but it will only affect your user. Also, it takes effect immediately, you don't need to log out or restart the panel.

If for any reason you want to re-enable Set Up Mail, simply remove the file ~/.config/indicators/messages/applications-blacklist/evolution

share|improve this answer
3  
This is the best way to remove specific entries from the messaging menu without uninstalling the application. It will work for this user and doesn't involve any files that are under package manager control. Thanks DoR! –  Ted Gould Apr 29 '11 at 14:08
    
I've followed these instructions on 12.04 and copied the files empathy, gwibber.indicator and thunderbird to the blacklist folder; thunderbird was removed (after a logout/login) but Chat and Set Up Mail... remain - am I missing something? –  d3vid Jul 6 '12 at 9:03
    
This does not seem to work in 12.10 (I filed a bug as there seems to be a new way through dconf: bugs.launchpad.net/indicator-messages/+bug/1083562 ) –  sup Nov 27 '12 at 13:09

You can remove the evolution-indicator package and Evolution won't show up in the Messaging Indicator anymore.

share|improve this answer

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.