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.

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.

share|improve this question
    
Regarding the 1st part: did you do a sudo update-alternatives --config mail-client to see if it is then added? I know I needed to do that to have Opera show under browsers. –  Rinzwind May 4 '11 at 12:39
    
The geek page that is used in your link (howtogeek.com/howto/ubuntu/…) works for me! –  Rinzwind May 4 '11 at 13:00
    
@jorge & @Rinzwind, I checked in 10.10 and works fine there. I therefore retagged this issue to 11.04 which is the version I have trouble. The UI for Preferred App seems to have changed. –  grm May 4 '11 at 21:57
    
@grm - this question should be accepted - please raise a new question asking for a software-recommendation for a lightweight solution. I will rollback the question to what it originally said. –  fossfreedom Nov 26 '11 at 16:13
    
@fossfredom yea, you are right. Done. Thanks! –  grm Nov 26 '11 at 21:32

5 Answers 5

up vote 12 down vote accepted

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

share|improve this answer
    
Hero! Confirmed this works in 11.04 :D –  FoleyIsGood Jul 26 '11 at 23:03
    
is there a way to open this menu through the command line ? –  viyyer Jan 10 '12 at 22:51
2  
@viyyer: I guess setting the key mimeapps.listx-scheme-handler/mailto to "gnome-gmail.desktop;" in the section [Default Applications] in mimeapps.list should do it. This is what the gui application changes when you choose gmail. –  migu Feb 15 '12 at 18:46
    
Second step is not necessary, at least in Ubuntu 12.10 –  alfC Dec 20 '12 at 20:23
    
13.04: sudo apt-get install gnome-gmail; once you open the first mail by clicking a corresponding link in the browser, it asks you if it should be set as default. Choose 'yes' and be happy :-) –  Marius Hofert May 18 '13 at 10:30

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.

share|improve this answer

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.

share|improve this answer

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

share|improve this answer

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 !!

share|improve this answer
    
He wants webmail ;) –  Rinzwind May 4 '11 at 13:01

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.