User Tools

Site Tools


gmail

gmail

Ubuntu/Firefox default mailer

In System → Preferences → Preferred Applications select “Custom” and use this call to shell-script:

/home/dominik/bin/open_mailto.sh %s
open_mailto.sh
#!/bin/sh
 
# new instance
#firefox "https://mail.google.com/mail?view=cm&tf=0&to=`echo $1 | sed 's/mailto://'`"
 
# new tab
firefox -remote "openurl(https://mail.google.com/mail?view=cm&tf=0&to=`echo $1 | sed 's/mailto://'`, new-tab)"

http://www.howtogeek.com/howto/ubuntu/set-gmail-as-default-mail-client-in-ubuntu/

gmail.txt · Last modified: 2010-06-19 23:55 CEST (external edit)