I made one change to the script. With the original, my Thunderbird (2.0.0.23) wasn't using the recipient address: thunderbird -compose "to='$1'"
Cheers, Mazanatti On Dec 18 2009, 6:46 am, Bas Grolleman <[email protected]> wrote: > > Man, Do sucks. The guys who work on it must be real assholes. > > Gnome-Do uses the system default mail app, the only proper way to do it in > my opinion. If you need to setup your preferred mail client in more than one > location, someone is doing it wrong. In Ubuntu there is only one spot where > you set mail, System -> Preferences -> Default apps. (Don't bring up CLI > here, not the point) > > So, now I'm done feeding the troll, let's make this a usefull post.I wanted > to start thunderbird for company mail and gmail for personal. Fixed it using > a small shellscript. > > #!/bin/sh > echo "$1" | egrep '(yourcompany.com)' > if [ $? -eq 0 ]; then > thunderbird -compose $1 > else > firefox "https://mail.google.com/?view=cm&tf=0&to=`echo $1 | sed 's/mailto: > //'`" > fi > > Simply put that as default mail app with %s behind it, and when I select > someone with "yourcompany.com" in the email then I get thunderbird. All > other options return my gmail. > > Geeky? Yes. > But still makes me very happy. :) -- You received this message because you are subscribed to the Google Groups "GNOME Do" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gnome-do?hl=en.
