xdg-utils does not implement the standard for default applications

Maxwell Anselm silverhammermba at gmail.com
Tue Oct 4 19:34:33 UTC 2016


>
> On 3 October 2016 at 21:09, Maxwell Anselm <silverhammermba at gmail.com>
> wrote:
> I'm unclear whether you think that /usr/bin/file *should* not be used by
> xdg-mime (in which case, fair enough, I guess), or simply that it currently
> provides the wrong types or mis-identifies files too readily.
>

file is a fine tool for what it intends to do, but since it does *not*
intend to implement the standard it does not make sense as a fallback. For
example, the shared MIME-info database allows for specifying MIME type
according to the internal root and namespace of an XML file. Unless the
file devs are willing to push an update for every single esoteric XML
format out there, xdg-mime could end up behaving incorrectly.

If xdg-mime and xdg-open implement the standard themselves there would be
no need for any external fallback.

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/xdg/attachments/20161004/d852006b/attachment.html>


More information about the xdg mailing list