There is already a MIME type for these files "Internet shortcut (application/x-mswinurl)" registered in /usr/share/mime/application/x-mswinurl.xml and /usr/share/packages/freedesktop.org.xml
The latter contains the magic word search: <magic priority="50"> <match value="InternetShortcut" type="string" offset="1"/> <match value="DEFAULT" type="string" offset="1"> <match value="BASEURL=" type="string" offset="10"/> </match> </magic> The files are actually recognized as "resource location (text/x-uri)" when I view the Properties in Nautilus, though. This seems to be based on the .url glob: /u/s/mime> grep -ir "\.url" * globs:text/x-uri:*.url globs2:50:text/x-uri:*.url packages/freedesktop.org.xml: <glob pattern="*.url"/> Not sure about the details of this. Do these definitions need to be cleaned up to be consistent? -- Ubuntu does not open MS Windows internet shortcuts with 'url' extension https://bugs.launchpad.net/bugs/185165 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to shared-mime-info in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs