For my sins,
I installed Evolution in the past. I don’t use it; I use Thunderbird. But clicking a mailto link in Firefox starts up Evo. Big no-no. So, I had a poke around. In
Computer | Desktop Preferences | Preferred Applications you can choose
Mail Reader to configure your default mail reader.
TB doesn’t seem to show up in the dropdown, so I thought I’d bang it into
Custom Mail Reader. So, what do you put in? I’d have thought
mozilla-thunderbird %s.
Nope.
That doesn’t work. Moreover, if you try that from the command-line:
mozilla-thunderbird someone@example.org
/usr/lib/mozilla-thunderbird/mozilla-thunderbird-xremote-client: Error: Failed to send command: 509 internal error
That’s no good. On the other hand, what’s a
mozilla-thunderbird-xremote-client?
/usr/lib/mozilla-thunderbird/mozilla-thunderbird-xremote-client someone@example.org
/usr/lib/mozilla-thunderbird/mozilla-thunderbird-xremote-client: Error: Failed to send command: 500 command not parsable: someone@example.org
Ah, “command not parsable“. It must take the
-remote commands.
/usr/lib/mozilla-thunderbird/mozilla-thunderbird-xremote-client "mailto(someone@example.org)"
That works! Yay! So, let’s try that in the
Custom Mail Reader box in
Preferred Applications.
Nope. Dammit. It pops up a mail window, no problem…with “%s” in the To box. Dammit.
Any suggestions?
You’ve tried Edit|Preferences|General Settings|Check to see if Thunderbird is default for Mail/News? I believe it works for recent GNOME desktops… does for mine, anyway!
Alternatively, what about using a script like
#!/bin/sh/usr/lib/mozilla-thunderbird/mozilla-thunderbird-xremote-client "mailto($1)"and setting that as your custom mail reader? (I’m not sure how to make Textile ignore those – characters.)
(Hmm, your “live preview” appears to be off by one char in Firefox 1.0 under Linux, i.e. it’s not showing the last char typed until/unless I do another keypress afterwards.)