{"id":247,"date":"2007-08-22T20:02:21","date_gmt":"2007-08-22T18:02:21","guid":{"rendered":"http:\/\/www.lucas-nussbaum.net\/blog\/?p=247"},"modified":"2007-08-22T20:02:21","modified_gmt":"2007-08-22T18:02:21","slug":"opening-mutts-html-attachments-with-epiphany","status":"publish","type":"post","link":"https:\/\/www.lucas-nussbaum.net\/blog\/?p=247","title":{"rendered":"Opening mutt&#8217;s HTML attachments with epiphany?"},"content":{"rendered":"<p>I just ran into a rather funny problem. I&#8217;d like to use epiphany to open text\/html attachments or mail parts.<\/p>\n<p>Mutt uses mailcap, so I added an entry in ~\/.mailcap:<br \/>\n<code>text\/html; epiphany-browser '%s'; description=HTML Text; nametemplate=%s.html<\/code><\/p>\n<p>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 <code>File \"\/tmp\/mutt.html\" not found.<\/code> error page.<\/p>\n<p>Anyone using mutt and epiphany together successfully?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just ran into a rather funny problem. I&#8217;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 &#8216;%s&#8217;; 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"0","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,13,7],"tags":[],"class_list":["post-247","post","type-post","status-publish","format-standard","hentry","category-debianubuntu","category-planetdebian","category-technology"],"_links":{"self":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=247"}],"version-history":[{"count":0,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/247\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}