Bug#384351: mutt: fails to correctly send a .doc file to OpenOffice
On Sun, Aug 27, 2006 at 06:38:42PM +0200, Rene Engelhard wrote:
> Julian Gilbey wrote:
> > > >| application/msword; oowriter '%s'; edit=oowriter '%s';
> > >
> > > BTW, there should not be single quotes around %s in mailcap.
>
> Why?
I don't know - I didn't write this. Perhaps ask the person who made
this comment?
> > > > OpenOffice gives the error message: /tmp/People_list_060612.doc does
> > > > not exist
> > >
> > > Mutt deletes the temporary file when the called process returns.
> > > This is not a bug, but admitedly may not suit background running apps.
> > > Gary Johnson's excellent mutt_bgrun is the usual solution.
> >
> > Unfortunately, mutt_bgrun doesn't work either: oowriter exits
> > immediately and so the temporary file gets deleted before the new
> > oowriter process which is called has time to read it.
> >
> > I'm using openoffice.org-gnome; might that have something to do with
> > it?
>
> Probably, because then ooqstart gets used.
> [ which is now de-facto default in current experimental, even without
> -gtk installed ]
Oh. So any ideas what the "correct" way to call openoffice from
mailcap should be?
Thanks,
Julian
Reply to: