Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed 12.04 and when clicking mailto: links Thunderbird opens. I want Gmail to open in the browser that the mailto: link is clicked. So if I am in Firefox and click a mailto: link a new FF tab opens with Gmailloaded. And if I am in Chrome and click a mailto: link then a new Chrome tab opens up with Gmail loaded.

Is there a way to do this via some script? Or would I need to set this in some system settings?

share|improve this question

This is now really easy to do in Chrome: link

edit: The Chrome help page changed. My new answer is copied from here:

Access Gmail, and click an icon of the shape of overlapped double diamonds, next to the star icon in the omni-box where the URL is displayed.

http://i.stack.imgur.com/Vt7wJ.png

If you don't see it, try reload the page.

share|improve this answer
    
That didn't describe how to do it. It shows where you can find the setting but now how to change it. – James Bowery 6 hours ago
    
You're right, the page has changed. I'll edit my post (and copy in the required info) once I find where Google moved the instructions. – wjandrea 5 hours ago
    
I've fixed it now – wjandrea 2 hours ago

There is an option for that in firefox.

Edit -> Preferences -> Applications -> mailto

or

Firefox menu -> Options -> Options -> Applications -> mailto

Firefox Options Page

share|improve this answer
    
This should be marked as the "accepted answer" assuming that OP is using the currently default Firefox browser with Ubuntu. – Petrus K. Apr 22 '15 at 12:20

gnome-gmail lets you do exactly that.

This is what reads from the Description section in the control file of gnome-gmail package.

support for Gmail as the preferred email application in GNOME

To install gnome-gmail, run this command:

sudo apt-get install gnome-gmail

After installing, open gnome-gmail and adjust your settings.

However, if and when you click on the mailto: links, it will open a Gmail tab in the preferred browser instead of whichever browser you are currently in.

share|improve this answer

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.