wok view shared-mime-info/stuff/spacefm-mime.xml @ rev 17261

Move separate MIME definitions to the shared-mime-info package.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 22 03:42:23 2014 +0300 (2014-10-22)
parents
children
line source
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Additional mime-types provided by libmimetype, adding some
4 missing but frequently seen globs for some common mime-types.
5 -->
6 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
8 <mime-type type="text/plain">
9 <glob pattern="*.ini"/>
10 <glob pattern="*.inf"/>
11 </mime-type>
13 <mime-type type="application/x-ms-dos-executable">
14 <glob pattern="*.com" />
15 </mime-type>
17 <mime-type type="application/x-ms-win-installer">
18 <comment>Windows installer</comment>
19 <comment xml:lang="zh_TW">Windows 安裝程式</comment>
20 <glob pattern="*.msi" />
21 </mime-type>
23 <mime-type type="application/x-vbscript">
24 <comment>MS VBScript</comment>
25 <glob pattern="*.vbs" />
26 </mime-type>
28 <mime-type type="text/x-csharp">
29 <comment xml:lang="en">C# source</comment>
30 <comment xml:lang="zh_TW">C# 程式碼</comment>
31 <glob pattern="*.cs"/>
32 </mime-type>
34 <mime-type type="application/x-desktop">
35 <comment xml:lang="zh_TW">應用程式捷徑</comment>
36 </mime-type>
38 <mime-type type="application/x-sharedlib">
39 <!--
40 This pattern matching is not very accurate ,but the probability that
41 a file is named like this and it's not a shared lib, is very low.
42 -->
43 <glob pattern="*.dll"/> <!-- Windows dll are shared libs, too -->
44 <glob pattern="*.so.[0-9]" />
45 <glob pattern="*.so.[0-9].*" />
46 </mime-type>
48 <mime-type type="application/x-shared-library-la">
49 <glob pattern="*.a" />
50 </mime-type>
52 </mime-info>