File type recognition of KDE

Kevin Krammer kevin.krammer at gmx.at
Sun Aug 28 22:23:08 BST 2005


On Sunday 28 August 2005 23:14, Florian Lindner wrote:

> I thought KDE uses the file command, but it seems to have its own system.
> How is it working?

KDE is using its own system so it can also apply it to remote files if 
required.

I am not sure how it exactly works.
I think if the access protocol supports MIME types itself, for example HTTP's 
content-type field, it will take that.
If it doesn't I think it first checks the file extension and then the file 
contents.

You can check the outcome of this by using the kfile command

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20050828/5ab15234/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list