<div dir="ltr"><div class="gmail_default" style="font-size:small">On 3 October 2016 at 21:09, Maxwell Anselm <span dir="ltr"><<a href="mailto:silverhammermba@gmail.com" target="_blank">silverhammermba@gmail.com</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I am willing to help develop these changes, but only if it is clear that such contributions would actually be welcome and accepted.</div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small;display:inline">​This would be great to see.</div></div><div><div class="gmail_default" style="font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-size:small">​As an occasional xdg-utils contributor and sometime /usr/bin/file maintainer, I'd say that it would be good to see more work on xdg-utils; and that I think I can speak for file maintainers when I say that if file can, within its obvious limitations (specifically, that it only identifies files by their contents), ​be improved, patches would be speedily processed.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'm unclear whether you think that /usr/bin/file <i>should</i> 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.</div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Wrong MIME types in file's patterns can of course easily be fixed (I added them only relatively recently).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Mis-identification is harder to fix, of course, but improved patterns are always welcome, and in the absence of other methods of identification, it seems to me a better fallback than nothing. It could perhaps be improved if there were some way for xdg-mime to indicate a confidence level, as file itself has "strength" levels internally which could be used to indicate a degree of confidence, and, with a little work, it could for example not return a match if it was below a certain level of confidence.​</div></div><div><br></div>--<div class="gmail_default" style="font-size:small;display:inline">​ ​</div><br><div class="gmail_signature" data-smartmail="gmail_signature"><a href="http://rrt.sc3d.org" target="_blank">http://rrt.sc3d.org</a></div>
</div></div>