Page 1 of 1

Thunderbird -remote question

Posted: Tue Nov 22, 2005 9:23 pm
by dann
I want to set thunderbird as my default email client in ubuntu. This I have to replace evolution in my gnome settings. Not that difficult, but the problem I am having is finding he right parameter to pass to thunderbird -remote so that it opens up the new mail with the address in the to:

Following the directions on Mozilla's site I can put in:

mozilla-thunderbird -remote "mailto()"

But that is an empty compose window. I tried:

mozilla-thunderbird -remote "mailto(%s)"

But in the to field I get: mailto:email@blah.com

What to do? I did try mozilla-thunderbird -remote "%s" but that does nothing.

Posted: Wed Nov 23, 2005 7:59 am
by Karl
Try setting it to "mozilla-thunderbird %s" and leaving out the "-remote".

Re: Thunderbird -remote question

Posted: Wed Nov 23, 2005 8:34 am
by treehead
dann wrote:...the problem I am having is finding he right parameter to pass to thunderbird -remote so that it opens up the new mail with the address in the to:

Following the directions on Mozilla's site I can put in:

mozilla-thunderbird -remote "mailto()"

But that is an empty compose window. I tried:

mozilla-thunderbird -remote "mailto(%s)"

But in the to field I get: mailto:email@blah.com

What to do? I did try mozilla-thunderbird -remote "%s" but that does nothing.
;where are you passing the command from? i thought the syntax for mailto was:

Code: Select all

mailto:someone@somedomain.tld?subject=some subject
...and let the OS take care of what client to launch. maybe i'm misunderstanding.

;treehead

Posted: Wed Nov 23, 2005 12:30 pm
by dann
Gconf or something related to it is running in ubuntu when I click on email address in an app like Firefox it brings up evolution. I can change this under the gnome preferences to use Thunderbird instead.

Since I have Thunderbird running all the time; having it launch:

mozilla-thunderbird %s

does not work as it starts a new instance of Thunderbird and brings up the profile management window because my existing thunderbird session is using my profile. Thus the need to use mozilla-thunderbird -remote.

Posted: Wed Nov 23, 2005 12:34 pm
by dann
I'm seeing some postings that I should use:

mozilla-thunderbird -compose %s

I thought I tried that but will give it another go when I get home tonight.

Posted: Wed Nov 23, 2005 6:59 pm
by dann
dann wrote: mozilla-thunderbird -compose %s
This worked perfectly! How did I miss that before? I blame Allan.