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.
To remove the Set Up Mail... ( or Chat, Broadcast etc.) item for just your user account, simply run the following commands (replacing
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
/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
3This 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! Apr 29, 2011 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? Jul 6, 2012 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 )– supNov 27, 2012 at 13:09
You can remove the
evolution-indicator package and Evolution won't show up in the Messaging Indicator anymore.
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.
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. ;)– MarkyOct 17, 2010 at 4:07
4This 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. Apr 29, 2011 at 14:03
2I agree with Ted. Uninstalling
evolution-indicatoror 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 )– idbriiMay 5, 2011 at 17:31