When the XML describing the mimetype is in a folder which contains a space, xdg-mime does not install it. Otherwise the file works fine. I tried it in two different ways: > xdg-mime install "/home/dev/my folder/my-mfe.xml" and > xdg-mime install /home/dev/my\ folder/my-mfe.xml Note that using the same XML file just in a different location, the following worked: > xdg-mime install /home/dev/myfolderwithoutaspace/my-mfe.xml Just for completeness' sake, here is my XML: <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/myfiletype.archive"> <comment>my type</comment> <glob pattern="*.mfe"/> </mime-type> </mime-info>
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdgmime/issues/20.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.