I’m a mutt user and I have always used
to view complex images-rich html mails;
those kind of email that lynx or html2text cannot render in a reliable way.
I’m thinking to switch from iceweasel
(google chrome in
and one problem I encounter is on viewing html-mail from mutt inside the browser.
and the following line in the ~/.mailcap file, everything is ok,
text/html; iceweasel -new-tab %s; test=test -n "$DISPLAY"
but with chromium this is what happens
This webpage is not found.
No webpage was found for the web address: file:///tmp/mutt.html
In order to work with chromium
I have to add a “needsterminal” to prevent mutt
from erasing the temporary html-file to show before the browser has opened it.
text/html; chromium-browser %s; test=test -n "$DISPLAY"; needsterminal
in this way mutt waits for a key to be pressed
to continue after the browser is opened, giving
chrome the time to display the page.
return to the calling process after the page has been opened,
chromium after a sub-browser has been launched.