[Alpine-info] How to make Alpine recognize .doc, .odt,.docx again?

Mirko Hessel-von Molo mirkoh at upb.de
Wed Feb 1 08:49:11 PST 2012


On Wed, 1 Feb 2012, Mikael Böök wrote:


>

> It seems that the /etc/mailcap which I have edited on my (personal) laptop,

> where I have installed alpine under ubuntulinux 10.0, is every now and then

> being replaced by a procedure I do not control, and thus, without my

> knowledge. As a consequence, the lines I have added to my /etc/mailcap in

> order to make Alpine open Libre Office, when it recognizes a .doc or an .odt ,

> disappear.

> What is going on here? Mikael


My first shot: this is the normal Ubuntu update-mime routine called
whenever any application is installed, updated or changed in any other way
which may be used in mime-attachment handling (so this may be about any
file-handling application). It takes the right to freely change contents
of /etc/mailcap, _except_ what is contained between the lines

# ----- User Section Begins ----- #

and

# ----- User Section Ends ----- #

So I do my personal, but system-wide configuration between these lines,
and update-mime respects it. As these are in the beginning of the file,
they should take precedence over what may be contained later on.

Hope this helps,

Mirko


More information about the Alpine-info mailing list