Shared-mime checking order

Alexander Larsson alexl at
Fri Aug 24 06:53:59 PDT 2007

On Fri, 2007-08-24 at 15:39 +0200, David Faure wrote:

> I understand what you mean... I'm not sure what's the best behavior though;
> your mail made me realize that I did skip "high-magic-beats-extension" in the
> delayed-mimetype-determination code (even though the core mimetype code can do that),
> and I re-enabling that would mean a lot of sniffing (every file needs to be rechecked
> in the post-listing mimetype redetermination...)... Hmm.

Ah, so we're actually doing the same thing. You're only sniffing when
there is no known extension, so the priority in that case is irrelevant.

Do you do this even when deciding mimetype for picking app to open the
file in?

More information about the xdg mailing list