Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

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

There is an option for that in firefox.

Edit -> Preferences -> Applications -> mailto


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

You can make Chrome open when you click a mailto: link:

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.

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 Feb 12 at 16:55
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 Feb 12 at 16:57

Your Answer


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.