On Fri, Jun 03, 2011 at 10:36:57PM +0100, Paul wrote:
> On Thu, Jun 02, 2011 at 09:31:13AM -0400, Trey Sizemore wrote:
> >Hoping someone can help with the correct mailcap entry for viewing .doc
> >and .docx files from mutt on Snow Leopard.
> >
> >I have Office 2011 installed, so I guess I would need the line to invoke
> >that in my .mailcap file as Preview does not appear to be compatible
> >with Office files.
> 
> I use this:
> 
> application/vnd.openxmlformats-officedocument.wordprocessingml.document;mutt_bgrun
>  soffice %s
> 
> Your binary will be different. I don't know it.

On a Mac I have just one entry for application, audio, image, video
etc... in the format:

application/*; /usr/bin/open %s

It just works as long as you have the appropriate program associated
with the file type in Finder. It's only for text MIME types that I
have more specific entries, and that's only so I can read HTML
e-mail easily in mutt, rather than using a web browser for it.

Hope this helps,

Leo

Reply via email to