$HOME is where the <3 is
git clone git://
Log | Files | Refs | Submodules | README

commit a7e3c5b0662a68e21165596c6af6bd4cccbc0b99 (patch)
parent 420d864637871ef44f028e82c3e65ee2c76a0115
Author: Alex Karle <>
Date:   Tue, 16 Jul 2019 23:55:01 -0400

[mutt] update mailcap for Virtual Console images

I found that the framebuffer in the virtual console can display images
(!!) using the fbi tool, and pdfs using fbgs.

This is _super_ cool B)

Thankfully, based on the way mailcap works, these entries are not used
unless the first fail (which they will, should $DISPLAY not be set).

Mmutt/mailcap | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/mutt/mailcap b/mutt/mailcap @@ -1,5 +1,10 @@ +# Defaults (for GUI/X) +text/plain; $EDITOR '%s'; text/html; firefox '%s' &; test=test -n "$DISPLAY"; needsterminal; text/html; w3m -I %{charset} -T text/html; copiousoutput; image/*; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; application/pdf; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; -text/plain; $EDITOR '%s'; + +# Backups for Virtual Console (needs fbida package) +image/*; fbi -a '%s'; +application/pdf; fbgs '%s';