Le Mon, Feb 01, 2021 at 07:39:13PM -0500, José María Mateos a écrit : > Date: Mon, 1 Feb 2021 19:39:13 -0500 > From: José María Mateos <ch...@rinzewind.org> > To: mutt-users@mutt.org > Subject: Re: open an html attachment when an instance of firefox is already > open > > I use a modified version of this script: > > https://github.com/RichiH/mutt_bgrun > > My modification is that I add this after line 111: > > "$viewer" $options "$tmpfile" > sleep 20 > > ... so that there's more than enough time to launch whatever program. > > I place it on my ~/bin (and make sure it's in the path). Then, on my > .mailcap, I have: > > text/html; mutt_bgrun /usr/bin/firefox %s >/dev/null 2>&1; needsterminal > text/html; elinks -dump ; copiousoutput > > I think this should work as you expect. > > Cheers, > > -- > José María (Chema) Mateos || https://rinzewind.org
Thanks so much José Maria, it works ! -- Gerard ___________________________ *************************** Created with Mutt 2.0.2 under Debian Linux BUSTER ***************************