On Wed, Jan 10, 2018 at 09:55:12AM -0200, Marcelo Laia wrote:
> On 10/01/18 at 02:05, David Woodfall wrote:
> >
> > What does mutt display the mimetype as?
>
> I found the problem! It was in the file name.
>
> File named "Assunto 27 - FORMULA.odt" dosen't open, but, file named as
> "Assunto27-FORMULA.odt" showed up in libreoffice.
>
> I hope thies could help someone.
>
> Thanks.
>
For file names with spaces, you could try changing nametemplate=%s.odt
to nametemplate='%s'.odt (notice quotation marks) in the mailcap entry:
application/vnd.oasis.opendocument.text; libreoffice '%s'; edit=libreoffice
'%s'; test=test -n "$DISPLAY"; description="OpenDocument Text Document";
nametemplate='%s'.odt
--
Jason