From: Elimar Riesebieter on
* Clive Standbridge [090904 16:47 +0100]
> > I've tried settings -> apps -> mailto -> shellscript
> >
> > Shellscript:
> >
> > #!/bin/sh
> > exec xterm -e mutt "$@"
> >
> > The xterm only pops up for 1 second.
>
> That's very close to the script that is working for me (using
> Iceweasel 3.0.6 on Lenny):
>
[...]
> exec xterm -e bash -c "set -x; mutt $*; read -p 'Press enter to exit '"

+ subject=%3CLinux%3E%20-%20Google-Suche
+ read -p 'Press enter to exit '
Press enter to exit + mutt
'mailto:?body=http%3A%2F%2Fwww.google.de%2Flinux'
Failed to parse mailto: link

Mutt can't read $*

This is with iceweasel 3.5.2 and
Mutt 1.5.20+lxtec (2009-07-23)

Elimar

--
It's a good thing we don't get all
the government we pay for.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Elimar Riesebieter on
* s. keeling [090907 02:14 +0000]
> Elimar Riesebieter <riesebie(a)lxtec.de>:
> > I've tried settings -> apps -> mailto -> shellscript
> >
> > Shellscript:
> >
> > #!/bin/sh
> > exec xterm -e mutt "$@"
> >
> > The xterm only pops up for 1 second.
> >
> > Any hints?
>
> Ben at linuxgazette.net and I've been playing with this for years (I
> haven't used it in a while; caveat emptor):
>
> ----------------------------
> #!/usr/bin/perl

All the contributed solutions don't extract the URL in to the
mailbody of mutt in the case of choosing send link within FF3.5.2.

Elimar


--
.~.
/V\ L I N U X
/( )\ >Phear the Penguin<
^^-^^


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Michael Wagner on
* Elimar Riesebieter <riesebie(a)lxtec.de> 04.09.2009
> I've tried settings -> apps -> mailto -> shellscript
>
> Shellscript:
>
> #!/bin/sh
> exec xterm -e mutt "$@"
>
> The xterm only pops up for 1 second.
>
> Any hints?

Hello Elimar,

in the mutt package is the shellscript /usr/lib/mutt/mailto-mutt, which
is the solution for your problem. These are the first lines from the
script.

# mailto-mutt -- wrapper to be able to use mutt as mailto handler from
# firefox
#
# To use, surf to Firefox's about:config page and configure the
# following
# three values:
# network.protocol-handler.external.mailto boolean true
# network.protocol-handler.app.mailto string '/path/to/handler'
# network.protocol-handler.warn-external.mailto boolean false


Hth Michael

--
Death is just God's way of dropping carrier.
From: Michael Wagner on
* Michael Wagner <michaeldebian(a)web.de> 08.09.2009
> * Elimar Riesebieter <riesebie(a)lxtec.de> 04.09.2009
> > I've tried settings -> apps -> mailto -> shellscript

Apart from my other message you can also make it like this:

settings -> apps -> mailto -> /usr/lib/mutt/mailto-mutt

Hth Michael

--
"Every production of genius must be the production
of enthusiasm."
--Benjamin Disraeli
From: Michael Wagner on
* green <greenfreedom10(a)gmail.com> 09.09.2009
> Michael Wagner wrote at 2009-09-08 15:11 -0500:
> > * Michael Wagner <michaeldebian(a)web.de> 08.09.2009
> > > * Elimar Riesebieter <riesebie(a)lxtec.de> 04.09.2009
> > > > I've tried settings -> apps -> mailto -> shellscript
> >
> > Apart from my other message you can also make it like this:
> >
> > settings -> apps -> mailto -> /usr/lib/mutt/mailto-mutt
>
> But this won't work in Lenny... mutt 1.5.18-6 does not seem to include that
> file.

You are right, it's only included in unstable "mutt (1.5.20-2)", but the
OP wrote that he works with "iceweasel 3.5" which is in experimental. So
I thought a solution for unstable is ok.

Michael

--
To conquer oneself is the noblest and greatest triumph.
-Plato