- Open System->Preferences->Preferred Applications
- Change "Mail Reader" to "Custom"
- Write bash -c 'to="%s"; gnome-open "https://mail.google.com/mail?view=cm&tf=0&to=${to#mailto:}"' in the "Command:" box
If it won't be simple, it simply won't be. [Hire me, source code] by Miki Tebeka, CEO, 353Solutions
Subscribe to:
Post Comments (Atom)
6 comments:
Replace chromium-browser instead of firefox. If using chromium.
Changed "firefox" to "gnome-open", this way the default browser will be opened. (Thanks for the idea Jose)
You can find a better solutions in the comments on http://www.howtogeek.com/howto/ubuntu/set-gmail-as-default-mail-client-in-ubuntu/
If you are using Firefox the best solution is to set "firefox %s" as the custom mailer command. Then choose your preferred webmail from firefox preferences.
Ah, on modern desktops "xdg-open" is a more general solution then "gnome-open".
Yup, xdg-open is very good. I just don't think it's installed by default.
Post a Comment