/usr/share/mime/packages/zim.xml is in zim 0.68~rc1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/x-zim-notebook">
<sub-class-of type="text/plain"/>
<glob pattern="*.zim"/>
<comment>Zim notebook</comment>
</mime-type>
<mime-type type="text/x-zim-wiki">
<!-- Support two specs version:
* current (>= 0.16) says we need to specify *.txt to make sure our magic gets checked for .txt files
* older (< 0.15) says we need to specify priority 80 to have magic check before glob check
-->
<sub-class-of type="text/plain"/>
<magic priority="80">
<match value='Content-Type: text/x-zim-wiki' type="string" offset="0"/>
</magic>
<!-- <glob pattern="*.txt"/>
Hide this glob because it confuses older implementations
to think all text files are zim...
-->
<comment>Zim wiki page</comment>
</mime-type>
<mime-type type="application/x-gjots">
<sub-class-of type="text/plain"/>
<glob pattern="*.gjots"/>
<comment>Gjots notebook</comment>
</mime-type>
</mime-info>
|