August 22nd, 2007 by lucas
I just ran into a rather funny problem. I’d like to use epiphany to open text/html attachments or mail parts.
Mutt uses mailcap, so I added an entry in ~/.mailcap:
text/html; epiphany-browser '%s'; description=HTML Text; nametemplate=%s.html
This should work fine, but the problem is that mutt creates a temporary file (/tmp/mutt.html) and removes it when the command terminates, which is nearly immediately with epiphany. And epiphany has a really nice feature: it monitors local files for changes and reload them when they change. Which results in seeing the page briefly, then a
File "/tmp/mutt.html" not found. error page.
Anyone using mutt and epiphany together successfully?