GoogleApps (Gmail) as default Ubuntu mail client

Keeping mail on a local machine does not make sense when working across a large number of different (vitual) devices. As a GoogleApps user I have long preferred browser based mail client as my default.

Unfortunately this is not yet a very straight process on most Operating Systems and Ubuntu is no difference.

Edit: all the commands need to be run with root privileges. so either run “sudo su” or prefix all with “sudo ” (thanks to Paul for the comment below)

Remove Evolution (thanks to Grant Likely for the comment below)

apt-get remove evolution evolution-indicator

Install Gnome-Gmail

apt-get install gnome-gmail

Create entry for gnome-gmail using your preferred text editor and copy the following into the created file:

vim /usr/share/indicators/messages/applications/gnome-gmail
#insert this line

Edit this file: /usr/share/applications/gnome-gmail.desktop and add the following line:


Update desktop database for Gnome Gmail to be recognised as an email program:


Go to System Settings –> Preferred Applications and choose gnome-gmail as the default e-mail client

Log out for the changes to the indicator to take effect (or kill gnome-indicator process).

Desktop Notifications