mime, magic files
David Faure
faure at kde.org
Thu Jan 15 19:39:54 GMT 2004
On Thursday 15 January 2004 17:38, Mikolaj Machowski wrote:
> Hello,
>
> I am not sure if this is proper list but it affects Konq:
>
> How exactly Konqueror (and whole KDE) recognizes filetypes?
>
> AFAIU it is mix of official magic files (file(1) command),
> KDE own resources and personal in .kde .
Using KDE's magic file, <kdedir>/share/mimelnk/magic
A local override ~/.kde/share/mimelnk/magic would work, but it would
completely override the one in <kdedir>, not be merged to it (this is
a side-effect, not a real feature).
But if an application wants to install a mime-magic snippet, it can put it in
<kdedir>/share/config/magic/*.magic, or a user can put a snippet in
~/.kde/share/config/magic/*.magic
--
David FAURE, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list