On Mon, May 07, 2012 at 10:56:00PM -0500, Jonathan Nieder wrote: > Steve M. Robbins wrote: > > > Removing ~/.mailcap is slightly better. > > > > 1. If lowriter is NOT running, the document displays. > > 2. If lowriter IS running, I just get a popup that says > > "/tmp/$(DOCNAME).doc does not exist" > > I assume /etc/mailcap has some rule.
It does. The attachment is type application/msword, so it runs this rule: # Microsoft Word application/msword; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="Microsoft Word Document"; nametemplate=%s.doc; priority=3 So, in case #1, something -- mutt, I presume (?) -- writes the attachment to /tmp/FOO.doc, invokes soffice -no-oosplash --writer '/tmp/FOO.doc' and all is well. In case #2, something **fails** to write the attachment to /tmp/FOO.doc. The soffice invocation is done as before but, as there is no file, lowriter simply displays the error popup. > If it's not customized, we can > reassign this bug to whatever package provides that rule[*] so it can > be tweaked, for example by passing --view. > > [*] perhaps via /usr/lib/mime/packages/libreoffice-writer Yes, that's the one. However, it's not clear to me the fault lies in the rule. Something is failing to write the attachment to the disk. Isn't that done by mutt? Regards, -Steve
signature.asc
Description: Digital signature