Re: Configuring mailcap to view vnd.openxm

2011-10-08 Thread Brian Salter-Duke
On Sat, Oct 08, 2011 at 07:17:48PM +0200, P. Mazart wrote:
> Hi,
> 
> Mandar Mitra schrieb am 08.10.2011 17:24:30:
> > I have the following line in /etc/mailcap (probably added by the
> > installation scripts for libreoffice):
> >
> > application/vnd.openxmlformats-officedocument.wordprocessingml.document; 
> > soffice -no-oosplash -writer '%s'; edit=soffice -no-oosplash -writer '%s'; 
> > test=test -n "$DISPLAY"; description="Office Open XML Document"; 
> > nametemplate=%s.docx
> 
> I have the exact same line on Debian Lenny,
> yet mutt won’t open it with soffice…

What version of OpenOffice do you have? Support for docx files is
relatively new I think.
 
> > I also have libreoffice installed, and can read docx files after a
> > fashion using this package.
> 
> Maybe its because mutt mentions the attachment as octett stream‽
> 
> Regards,
> P.M.

-- 
A Computer is like a horse, it will sense weakness.
-- Greg Wettstein
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Configuring mailcap to view vnd.openxm

2011-10-08 Thread P. Mazart
Hi,

Mandar Mitra schrieb am 08.10.2011 17:24:30:
> I have the following line in /etc/mailcap (probably added by the
> installation scripts for libreoffice):
>
> application/vnd.openxmlformats-officedocument.wordprocessingml.document; 
> soffice -no-oosplash -writer '%s'; edit=soffice -no-oosplash -writer '%s'; 
> test=test -n "$DISPLAY"; description="Office Open XML Document"; 
> nametemplate=%s.docx

I have the exact same line on Debian Lenny,
yet mutt won’t open it with soffice…

> I also have libreoffice installed, and can read docx files after a
> fashion using this package.

Maybe its because mutt mentions the attachment as octett stream‽

Regards,
P.M.


Re: Configuring mailcap to view vnd.openxm

2011-10-08 Thread Mandar Mitra
Haines Brown wrote (Fri, Oct 07, 2011 at 05:05:03PM -0400):
> I run mutt under debian Squeeze, and occasionally am sent a .docx 
> message. I've not had much luck displaying it with trial and error, 
> and so I raise these questions:


I have the following line in /etc/mailcap (probably added by the
installation scripts for libreoffice):

application/vnd.openxmlformats-officedocument.wordprocessingml.document; 
soffice -no-oosplash -writer '%s'; edit=soffice -no-oosplash -writer '%s'; 
test=test -n "$DISPLAY"; description="Office Open XML Document"; 
nametemplate=%s.docx

I also have libreoffice installed, and can read docx files after a
fashion using this package.

HTH,
mandar.