<<< Date Index >>>     <<< Thread Index >>>

Re: Calling firefox with mutt?



> It was Wed, Apr 21, 2004 at 03:54:35PM -0400 when Seth Williamson said:
> Has anybody been able to get mutt to call mozilla-firefox as the browser 
> in mutt--AND get it to open successive links IN TABS and NOT as 
> additional instances of the browser?  Is this even possible?
> 
> This would be a line in the mailcap file, is that right?  Have been 
> trying to figure out how to do it with no luck so far.

Do you mean using C-b to call urlview? If so then all you need to do is
write a script to open the URL in a new firefox tab and put this in your
~/.urlview:

COMMAND </path/to/firefox/launcher> %s

mozilla.sh:

#!/bin/sh
mozilla -remote "openURL($@, new-tab)" || firefox $@

NB: this scripts only works if you have Mozilla installed as well.

-- 
Sami Samhuri

Attachment: pgps5DYH5oMrr.pgp
Description: PGP signature