Shared-mime checking order
Sanel Zukan
sanelz at gmail.com
Mon Jul 23 04:47:42 PDT 2007
Hi to all,
In shared-mime specs one of the recommended ways to check file type is
given with:
"if no explicit type is present, magic rules with a priority of 80 or more
should be tried next."
My intent is not to start discussion if proposed order is correct or wrong
but to see how others implement cases when foo.txt is renamed to
foo.mp3 (btw. I have to ask either, is given order for compatibility
with older applications because seeing that file as mp3 is clearly wrong?).
IMHO, it would be very inconsistent that, for example, EDE desktop see
renamed foo.txt as text/plain, but started konqueror or thunar see it as mp3
file :-)
Best,
--
Sanel
More information about the xdg
mailing list