[wellylug] Mutt, Mailcap, & Abiword-2.6.6

Kingsley G. Morse Jr. change at nas.com
Fri Mar 6 12:23:26 NZDT 2009


Hi Adam,

I've encountered similar problems from time to
time, and I'm happy to share a few suggestions
with you.

Feel free to delete away if they're obvious!

1.) It seems to me that versions 2.4.6 and 2.6.6
may both be installed on your computer, which
might create some conflicts. 

Most linux distributions have package managers
that 
    a.) make it easy to upgrade packages,

    b.) automatically remove all vestiges of the
    old version and

    c.) put the new executable in a path that's
    automatically searched, so you don't have to
    fully qualify it.

For example, Debian linux has

    $ aptitude install abiword

Other distributions use different package
managers.

If you're not using one already, perhaps you could
avoid some problems by using a package manager.


2.) My understanding is that the application mutt
uses can be determined by several configuration
files, both in /etc and in your home directory.

If you happen to have the "locate" package
installed, you might use it to locate all files
with names including the strings "mime.type" and
"mailcap" as follows

    $ locate mime.types mailcap

It should point you to files with names like

    /etc/mailcap
    /etc/mime.types
    /home/adam/.mailcap
    /home/adam/.mime.types

mime.types files relate file name extensions,
like ".doc" to generic application categories,
like "application/msword".

mailcap files give the exact application and
options to use for the application category.


3.) My understanding is that it's not necessary
to fully qualify executables' paths in
/etc/mailcap.

Thanks,
Kingsley

On 03/06/09 10:50, Adam Bogacki wrote:
> Hi, I have just upgraded to Abiword-2.6.6 at
> 
> /usr/local/bin/AbiWord-2.6.6/bin/abiword
> 
> However, trying t  open .doc files in Mutt
> brings up Abiword-2.4.6 which flickers hesitantly
> and then dies.
> 
> I have replaced all references to abiword in /etc/mailcap with
> 
> /usr/local/bin/AbiWord-2.6.6/bin/abiword
> 
> but Abiword-2.4.6 keeps popping up like a ghost at a funeral.
> 
> What am I missing here ?
> 
> Adam.
> afb at paradise.net.nz



> 
> -- 
> Wellington Linux Users Group Mailing List: wellylug at lists.wellylug.org.nz
> To Leave:  http://lists.wellylug.org.nz/mailman/listinfo/wellylug



More information about the wellylug mailing list