How do I specify the default mail client?

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
dvw86
Posts: 636
Joined: Thu 05 May 2005, 00:55
Location: Washington State

How do I specify the default mail client?

#1 Post by dvw86 »

I noticed that when clicking on a mailto: link in Mozilla, that it opens up a new mail message in Mozila-mail. When clicking on a mailto: link in Firefox nothing happens. I would like it to open up a new mail message in Thunderbird. I tried to figure it out but had no luck. I'm using Puppy 1.0.4 and Ice. Any ideas?

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

GuestToo posted a solution to this in the old forum, and I put that solution into the Firefox Unleashed package so that it would be there without the user having to set it up -- set it up for Sylpheed I think -- or at least I think I did, it seems something has gone wrong.

...ah, just thought, that would be the Firefox PupGet package that has that fix, you're probably using a different Firefox?

Do a search, find the old posting.

User avatar
dvw86
Posts: 636
Joined: Thu 05 May 2005, 00:55
Location: Washington State

#3 Post by dvw86 »

Thanks Barry. Yes I am not using the Pupget version of Firefox. I downloaded it from Mozilla's web site. I found GuestToo's old thread here. It is a little out dated though since Puppy has changed some since then. You are correct that Puppy is set for Sylpheed by default. For those of you who want to change the default to something else like Thunderbird or if you have a different version of Firefox, here are GuestToo's directions modified for Puppy 1.0.4.

Open /usr/sbin/mailto.sh as text.

Change the line

Code: Select all

exec sylpheed --compose "$@"
to something like

Code: Select all

exec thunderbird --compose "$@"
or whatever mail application that you want.

Run Firefox
Type this url in the address bar:

about:config

type in the filter box:

mail

network.protocol-handler.external.mailto should be set to true
if it isn't, double click it to change it to true

right click somewhere on the about:config page, and select:
New, String

Type or paste in:
network.protocol-handler.app.mailto

Then type or paste in for the string value:
mailto.sh

Now, when you click an email address in a web page, Thunderbird should pop up, with the address already in the address bar.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#4 Post by disciple »

With newer versions of Firefox we seem to have problems with a space in the prefs.js key - see http://www.murga-linux.com/puppy/viewto ... 396#109396.
It seems the mailto.sh may be unnecessary as well.

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

#5 Post by John Doe »

*edit, just saw the solved post, nevermind.

Post Reply