20

I'm trying to change the Preferred Application for email. I have installed the package desktop-webmail, but there is no new option under System - Preferences - Preferred Application as you would expect, infact, there is only one option there, only Evolution.

According to this post it should be possible to set a custom application, but no option is available.

Is it possible to setup GMail as Preferred email app so that File -> Send by email works in gnome apps?

This seems to be a dup of another post here, Thing is that this works fine in 10.10, but in 11.04 this method no longer work. My post above is meant for 11.04 and the question is still valid.

grm
  • 704

6 Answers6

21

To set GMail as the default for mailto links in Ubuntu 11.10 :

  1. Install gnome-gmail
  2. Edit ~/.local/share/applications/mimeapps.list and add the line below:

    x-scheme-handler/mailto=gnome-gmail.desktop;

  3. Open System Info (use the Dash) and under Default Applications change Mail to Gnome Gmail

Screenshot of System Info

8128
  • 28,868
gwen_974
  • 226
10

Just install gnome gmail

sudo apt-get install gnome-gmail

Then open it.

You should get a prompt asking whether you want it to be your default mail client. Say Yes. Works on 11.10.

3

Just a slight alteration of funkymonk's post works. First install gnome-gmail:

sudo apt-get install gnome-gmail

Then open the following:

gedit ~/.local/share/applications/mimeapps.list

You want to add:

x-scheme-handler/mailto=gnome-gmail.desktop;

underneath both "Added Associations" and "Default Applications".

If there is something like

x-scheme-handler/mailto=userapp-Evolution-RZZYTV.desktop

there, you should replace this, otherwise just add the code. Then save and close and it should now work.

2

Check this post on WebUpd8.org: Gnome Gmail. It allows Gmail to be selected as the default mail application for Gnome.

1

Open GMail on Chorme. On right side of search bar you'll see an 'eye' icon(highlighted on the image). Click on it.

Note - If you don't see the 'eye' icon. Go below of this answer to solve this issue.

enter image description here

You'll see this pop-up

enter image description here

Choose allow and click on Done.

That's it. Now GMail is your default email opener.


If you don't see the 'eye' icon

If you don't see the 'eye' icon on the search bar goto the Chrome Settings then search Protocol Handlers then somewhere you'll find this Protocol Handlers section(depending on version of Chrome) then select Sites can ask to handle protocols.

Now go back to start of this answer then follow the mentioned steps.

enter image description here

-1

To change the default email app:

cd ~/.local/share/applications
vi mimeapps.list

Which should output the following

1 
2 [Default Applications]
3 x-scheme-handler/mailto=userapp-Evolution-RZZYTV.desktop
4 
5 [Added Associations]
6 x-scheme-handler/mailto=userapp-Evolution-RZZYTV.desktop;

Now if you want Thunderbird to be your default e-mail application then make the following changes:

1 
2 [Default Applications]
3 x-scheme-handler/mailto=thunderbird
4 
5 [Added Associations]
6 x-scheme-handler/mailto=thunderbird;

Now whenever you click a mailto link it fires up Thunderbird.

Cheers !!

Utsav
  • 566