[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to set up iceweasel 3.5 to use mutt as mailer for "link sendto"



On Fri, Sep 04, 2009 at 03:00:13PM +0200, Elimar Riesebieter wrote:
> I've tried settings -> apps -> mailto -> shellscript
> 
> Shellscript:
> 
> #!/bin/sh
> exec xterm -e mutt "$@"
> 
> The xterm only pops up for 1 second.

I use following in lenny and works fine:
--
#!/bin/sh
gnome-terminal -e "mutt $@"
--

these terminal softwares act not exactly the same with -e and -x options.

With gnome-terminal:
      -e, --command=STRING
                 Execute the argument to this option inside the terminal.

       -x, --execute
                 Execute the remainder of the command line inside the terminal.

With xterm:
       -e program [ arguments ... ]
               This option specifies the program (and its command line arguments) to be run in the xterm window.  It also sets the win‐
               dow  title  and icon name to be the basename of the program being executed if neither -T nor -n are given on the command
               line.  This must be the last option on the command line.

Osamu


Reply to: