From 0e3cff932de082e478dfbcc6277251fe7021902d Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 12 Nov 2014 15:26:40 +0300 Subject: [PATCH] .mailcap: edit msword files with libreoffice --- .mailcap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mailcap b/.mailcap index 462200b..aa3f968 100644 --- a/.mailcap +++ b/.mailcap @@ -29,7 +29,7 @@ application/msword; doc2html_web %s; description="M$ Word Text"; test=test -n "` application/msword; doc2html1 %s; copiousoutput; description="M$ Word Text"; test=test -n "`which wvHtml 2>/dev/null`" -a -n "`which elinks 2>/dev/null`" application/msword; doc2html2 %s; copiousoutput; description="M$ Word Text"; test=test -n "`which wvHtml 2>/dev/null`" -a -n "`which links2 2>/dev/null`" application/msword; catdoc %s; copiousoutput; description="M$ Word Text"; test=test -n "`which catdoc 2>/dev/null`" -application/msword; wordview %s; description="M$ Word Text"; test=test -n "$DISPLAY" -a -n "`which wordview 2>/dev/null`" +application/msword; wordview %s; edit=libreoffice %s; description="M$ Word Text"; test=test -n "$DISPLAY" -a -n "`which wordview 2>/dev/null`" application/vnd.ms-excel; xls2csv %s; copiousoutput; description="M$ Excel files"; test=test -n "`which xls2csv 2>/dev/null`" application/vnd.openxmlformats-officedocument.wordprocessingml.document; docx2txt %s -; copiousoutput; description="M$ Word OOXML Text"; test=test -n "`which docx2txt 2>/dev/null`" -- 2.39.5