When I click on a link to an email address in Firefox or Google Chrome a "Welcome to Evolution" screen appears. Can I make Gmail open instead, or at the very least disable Evolution from running?
You might want to take a look at an application called desktop-webmail
It can be installed by clicking on the little icon next to the link or simply by executing following command:
sudo apt-get install desktop-webmail
Then go to "Applications > Internet > Desktop Webmail" and set your web email service. Finally go to "System > Preferences > Preferred Applications" and under "Mail Reader" set Desktop Webmail as your choice.
Desktop webmail supports following services: Gmail, Yahoo, Hotmail and Zoho
This could be a solution for other people as well that use other webmail providers.
Hope it helps :)
Oddly, I couldn't find a simple way to do this in Lucid, so I wrote one:
cat ~/bin/mailto #!/bin/sh # mailto: a handler for mailto:firstname.lastname@example.org pseudo-uris case $1 in mailto:*) addr=`echo $1 | sed 's/^mailto://'` ;; *) addr=$1 ;; esac url="https://mail.google.com/mail/?ui=1&view=cm&fs=1&tf=1&to=$addr" # xdg-open suggestion courtesy of andrewsomething@askubuntu exec xdg-open $url
Followed by a simple change in System ➤ Preferences ➤ Preferred Applications:
It has worked so well that I forgot I even had to write it until this question was asked.
If you are using Chrome, the Better Gmail extension will handle mailto links. It also tweaks a few other things about Gmail, but you can turn the rest off on the options page if you like.
A few other options that the extension provides are:
Hide Invite Friends Field.
Show Attachment Icons.-
Adds Row Highlight On Mouse Over.-
Unread Count in Favicon.-
GNOME Gmail will set itself as the preferred application, and also supports attachments (Send File... in Nautilus or LibreOffice). Install the gnome-gmail package.
For Firefox confer to this article on lifehacker:
- Open Gmail in Firefox.
If you are a Google Apps user, use this code instead, but replace example.com with your domain name:
Firefox 3 will ask permission to add Gmail as default mailto handler. Click the Add Application button, as shown.
Desktop Webmail (package
desktop-webmail in the default repositories) should solve the problem.
An easy way to do this is to edit your mimeapps.list to make your preferred browser your default email client, then setting up your browser to use your preferred webmail service as the default handler for mailto: links.
Here's how I did it, using Inbox by Gmail as my webmail service and Chrome as my default browser.
~/.local/share/applications/mimeapps.listto include this line:
Then in Chrome > Settings > Content Settings > Handlers I selected Inbox as my default email handler.
This works very smoothly even for links from my desktop apps, though it unfortunately doesn't handle attachments.