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
evolution
withgwibber
,empathy
etc.):This creates a folder that the Messaging Menu looks into for applications to not show:
Now, to "blacklist" an item from the Messaging Menu:
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
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.