<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mime-info [
  <!ELEMENT mime-info (mime-type)+>
  <!ATTLIST mime-info xmlns CDATA #FIXED "http://www.freedesktop.org/standards/shared-mime-info">

  <!ELEMENT mime-type (comment+, (acronym,expanded-acronym)? , (icon? | generic-icon? | glob | magic | treemagic | root-XML | alias | sub-class-of)*)>
  <!ATTLIST mime-type type CDATA #REQUIRED>

  <!-- a comment describing a document with the respective MIME type. Example: "WMV video" -->
  <!ELEMENT comment (#PCDATA)>
  <!ATTLIST comment xml:lang CDATA #IMPLIED>

  <!-- a comment describing the respective unexpanded MIME type acronym. Example: "WMV" -->
  <!ELEMENT acronym (#PCDATA)>

  <!-- a comment describing the respective expanded MIME type acronym. Example: "Windows Media Video" -->
  <!ELEMENT expanded-acronym (#PCDATA)>

  <!ELEMENT icon EMPTY>
  <!ATTLIST icon name CDATA #REQUIRED>

  <!-- a generic icon name as per the Icon Naming Specification, only required if computing
  it from the mime-type would not work, See "generic-icon" in the Shared Mime Specification -->
  <!ELEMENT generic-icon EMPTY>
  <!ATTLIST generic-icon name (application-x-executable|audio-x-generic|emblem-symbolic-link|folder|font-x-generic|image-x-generic|media-floppy|media-optical|package-x-generic|text-html|text-x-generic|text-x-generic-template|text-x-script|video-x-generic|x-office-address-book|x-office-calendar|x-office-document|x-office-presentation|x-office-spreadsheet) #REQUIRED>

  <!ELEMENT glob EMPTY>
  <!ATTLIST glob pattern CDATA #REQUIRED>
  <!ATTLIST glob weight CDATA "50">
  <!ATTLIST glob case-sensitive CDATA #IMPLIED>

  <!ELEMENT magic (match)+>
  <!ATTLIST magic priority CDATA "50">

  <!ELEMENT match (match)*>
  <!ATTLIST match offset CDATA #REQUIRED>
  <!ATTLIST match type (string|big16|big32|little16|little32|host16|host32|byte) #REQUIRED>
  <!ATTLIST match value CDATA #REQUIRED>
  <!ATTLIST match mask CDATA #IMPLIED>

  <!ELEMENT treemagic (treematch)+>
  <!ATTLIST treemagic priority CDATA "50">

  <!ELEMENT treematch (treematch)*>
  <!ATTLIST treematch path CDATA #REQUIRED>
  <!ATTLIST treematch type (file|directory|link) #IMPLIED>
  <!ATTLIST treematch match-case (true|false) #IMPLIED>
  <!ATTLIST treematch executable (true|false) #IMPLIED>
  <!ATTLIST treematch non-empty (true|false) #IMPLIED>
  <!ATTLIST treematch mimetype CDATA #IMPLIED>

  <!ELEMENT root-XML EMPTY>
  <!ATTLIST root-XML namespaceURI CDATA #REQUIRED>
  <!ATTLIST root-XML localName CDATA #REQUIRED>

  <!ELEMENT alias EMPTY>
  <!ATTLIST alias type CDATA #REQUIRED>

  <!ELEMENT sub-class-of EMPTY>
  <!ATTLIST sub-class-of type CDATA #REQUIRED>
]>

<!--
The freedesktop.org shared MIME database (this file) was created by merging
several existing MIME databases (all released under the GNU GPL).

It comes with ABSOLUTELY NO WARRANTY, to the extent permitted by law. You may
redistribute copies of freedesktop.org.xml under the terms of the GNU General
Public License version 2 or later. For more information about these matters,
see the file named COPYING.

The latest version is available from:

	http://www.freedesktop.org/wiki/Software/shared-mime-info/

To extend this database, users and applications should create additional
XML files in the 'packages' directory and run the update-mime-database
command to generate the output files.
-->

<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/x-atari-2600-rom">
    <comment>Atari 2600 ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.a26"/>
  </mime-type>
  <mime-type type="application/x-atari-7800-rom">
    <comment>Atari 7800 ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.a78"/>
    <magic>
      <match type="string" value="ATARI7800" offset="1"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-atari-lynx-rom">
    <comment>Atari Lynx ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.lnx"/>
    <magic>
      <match type="string" value="LYNX" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/andrew-inset">
    <comment>ATK inset</comment>
    <acronym>ATK</acronym>
    <expanded-acronym>Andrew Toolkit</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.ez"/>
  </mime-type>
  <mime-type type="application/epub+zip">
    <comment>Electronic book document</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/epub+zip" offset="38"/>
          <match type="string" value="application/epub+zip" offset="43"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.epub"/>
  </mime-type>
  <mime-type type="application/vnd.amazon.mobi8-ebook">
    <comment>Kindle book document</comment>
    <sub-class-of type="application/x-mobipocket-ebook"/>
    <glob pattern="*.azw3"/>
    <glob pattern="*.kfx"/>
    <alias type="application/x-mobi8-ebook"/>
  </mime-type>
  <mime-type type="application/illustrator">
    <comment>Adobe Illustrator document</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.ai"/>
    <alias type="application/vnd.adobe.illustrator"/>
  </mime-type>
  <mime-type type="application/mac-binhex40">
    <comment>Macintosh BinHex-encoded file</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="(This file must be converted with BinHex 4.0)" offset="0"/>
      <match type="string" value="(This file must be converted; you knew that already.)" offset="0"/>
    </magic>
    <glob pattern="*.hqx"/>
  </mime-type>
  <mime-type type="application/mathematica">
    <comment>Mathematica Notebook file</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.nb" />
    <magic>
      <match value="(************** Content-type: application/mathematica"
             type="string" offset="0" />
      <match value="This notebook can be used on any computer system with Mathematica"
             type="string" offset="100:256" />
      <match value="This is a Mathematica Notebook file.  It contains ASCII text"
             type="string" offset="10:256" />
    </magic>
    <alias type="application/x-mathematica"/>
  </mime-type>
  <mime-type type="application/mathml+xml">
    <comment>MathML document</comment>
    <acronym>MathML</acronym>
    <expanded-acronym>Mathematical Markup Language</expanded-acronym>
    <alias type="text/mathml"/>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.mml"/>
    <root-XML namespaceURI="http://www.w3.org/1998/Math/MathML" localName="math"/>
  </mime-type>
  <mime-type type="application/mbox">
    <comment>Mailbox file</comment>
    <generic-icon name="text-x-generic"/>
    <sub-class-of type="text/plain"/>
    <magic priority="20">
      <match type="string" value="From " offset="0"/>
    </magic>
    <glob pattern="*.mbox"/>
  </mime-type>
  <mime-type type="application/metalink+xml">
    <comment>Metalink file</comment>
    <sub-class-of type="application/xml"/>
    <magic>
      <match type="string" value="&lt;metalink version=&quot;3.0&quot;" offset="0:256"/>
    </magic>
    <glob pattern="*.metalink"/>
    <root-XML namespaceURI="http://www.metalinker.org/" localName="metalink"/>
  </mime-type>
  <mime-type type="application/metalink4+xml">
    <comment>Metalink file</comment>
    <sub-class-of type="application/xml"/>
    <magic>
      <match type="string" value="&lt;metalink xmlns=&quot;urn" offset="0:256"/>
    </magic>
    <glob pattern="*.meta4"/>
    <root-XML namespaceURI="urn:ietf:params:xml:ns:metalink" localName="metalink"/>
  </mime-type>
  <mime-type type="application/octet-stream">
    <comment>Unknown</comment>
  </mime-type>
  <mime-type type="application/x-partial-download">
    <comment>Partially downloaded file</comment>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.wkdownload"/>
    <glob pattern="*.crdownload"/>
    <glob pattern="*.part"/>
  </mime-type>
  <mime-type type="application/oda">
    <comment>ODA document</comment>
    <acronym>ODA</acronym>
    <expanded-acronym>Office Document Architecture</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.oda"/>
  </mime-type>
  <mime-type type="application/x-wwf">
    <comment>WWF document</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.wwf"/>
    <sub-class-of type="application/pdf"/>
    <alias type="application/wwf"/>
  </mime-type>
  <mime-type type="application/pdf">
    <comment>PDF document</comment>
    <acronym>PDF</acronym>
    <expanded-acronym>Portable Document Format</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="%PDF-" offset="0:1024"/>
    </magic>
    <glob pattern="*.pdf"/>
    <alias type="application/x-pdf"/>
    <alias type="image/pdf"/>
    <alias type="application/acrobat"/>
    <alias type="application/nappdf"/>
  </mime-type>
  <mime-type type="application/xspf+xml">
    <comment>XSPF playlist</comment>
    <acronym>XSPF</acronym>
    <expanded-acronym>XML Shareable Playlist Format</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="audio-x-generic"/>
    <magic>
      <match type="string" value="&lt;playlist version=&quot;1" offset="0:64"/>
      <match type="string" value="&lt;playlist version='1" offset="0:64"/>
    </magic>
    <glob pattern="*.xspf"/>
    <root-XML namespaceURI="http://xspf.org/ns/0/" localName="playlist"/>
    <alias type="application/x-xspf+xml"/>
  </mime-type>
  <mime-type type="application/x-windows-themepack">
    <comment>Microsoft Windows theme pack</comment>
    <sub-class-of type="application/vnd.ms-cab-compressed"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.themepack"/>
  </mime-type>
  <mime-type type="audio/x-amzxml">
    <comment>AmazonMP3 download file</comment>
    <glob pattern="*.amz"/>
  </mime-type>
  <mime-type type="audio/x-gsm">
    <comment>GSM 06.10 audio</comment>
    <acronym>GSM</acronym>
    <expanded-acronym>Global System for Mobile communications</expanded-acronym>
    <glob pattern="*.gsm"/>
  </mime-type>
  <mime-type type="audio/x-iriver-pla">
    <comment>iRiver playlist</comment>
    <magic>
      <match type="string" value="iriver UMS PLA" offset="4"/>
    </magic>
    <glob pattern="*.pla"/>
  </mime-type>
  <mime-type type="application/pgp-encrypted">
    <comment>PGP/MIME-encrypted message header</comment>
    <magic>
      <match type="string" value="-----BEGIN PGP MESSAGE-----" offset="0"/>
    </magic>
    <glob pattern="*.pgp"/>
    <glob pattern="*.gpg"/>
    <glob pattern="*.asc" weight="10"/>
    <alias type="application/pgp"/>
  </mime-type>
  <mime-type type="application/pgp-keys">
    <comment>PGP keys</comment>
    <acronym>PGP</acronym>
    <expanded-acronym>Pretty Good Privacy</expanded-acronym>
    <magic>
      <match type="string" value="-----BEGIN PGP PUBLIC KEY BLOCK-----" offset="0"/>
      <match type="string" value="-----BEGIN PGP PRIVATE KEY BLOCK-----" offset="0"/>
      <match type="big16" value="0x9501" offset="0"/>
      <match type="big16" value="0x9500" offset="0"/>
      <match type="big16" value="0x9900" offset="0"/>
      <match type="big16" value="0x9901" offset="0"/>
    </magic>
    <glob pattern="*.skr"/>
    <glob pattern="*.pkr"/>
    <glob pattern="*.asc" weight="10"/>
    <glob pattern="*.pgp"/>
    <glob pattern="*.gpg"/>
    <glob pattern="*.key"/>
  </mime-type>
  <mime-type type="application/pgp-signature">
    <comment>Detached OpenPGP signature</comment>
    <magic>
      <match type="string" value="-----BEGIN PGP SIGNATURE-----" offset="0"/>
    </magic>
    <glob pattern="*.asc" weight="10"/>
    <glob pattern="*.sig"/>
    <glob pattern="*.pgp"/>
    <glob pattern="*.gpg"/>
  </mime-type>
  <!-- defined in RFC 2311 -->
  <mime-type type="application/pkcs7-mime">
    <comment>PKCS#7 file</comment>
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.p7c"/>
    <glob pattern="*.p7m"/>
  </mime-type>
  <mime-type type="application/pkcs7-signature">
    <comment>Detached S/MIME signature</comment>
    <acronym>S/MIME</acronym>
    <expanded-acronym>Secure/Multipurpose Internet Mail Extensions</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.p7s"/>
  </mime-type>
  <mime-type type="application/pkcs8">
    <comment>PKCS#8 private key</comment>
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
    <glob pattern="*.p8"/>
  </mime-type>
  <mime-type type="application/pkcs8-encrypted">
    <comment>PKCS#8 private key (encrypted)</comment>
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
    <glob pattern="*.p8e"/>
  </mime-type>
  <mime-type type="application/pkcs10">
    <comment>PKCS#10 certification request</comment>
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.p10"/>
  </mime-type>
  <mime-type type="application/pkix-cert">
    <comment>X.509 certificate</comment>
    <magic>
      <match type="string" value="-----BEGIN CERTIFICATE-----" offset="0"/>
      <match type="string" value="-----BEGIN X509 CERTIFICATE-----" offset="0"/>
    </magic>
    <glob pattern="*.cer"/>
  </mime-type>
  <mime-type type="application/pkix-crl">
    <comment>Certificate revocation list</comment>
    <magic>
      <match type="string" value="-----BEGIN X509 CRL-----" offset="0"/>
    </magic>
    <glob pattern="*.crl"/>
  </mime-type>
  <mime-type type="application/pkix-pkipath">
    <comment>PkiPath certification path</comment>
    <glob pattern="*.pkipath"/>
  </mime-type>
  <mime-type type="application/postscript">
    <comment>PostScript document</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="\004%!" offset="0"/>
      <match type="string" value="%!" offset="0"/>
    </magic>
    <glob pattern="*.ps"/>
  </mime-type>
  <mime-type type="application/prs.plucker">
    <comment>Plucker document</comment>
    <generic-icon name="x-office-document"/>
    <magic priority="80">
      <match type="string" value="DataPlkr" offset="60"/>
    </magic>
  </mime-type>
  <mime-type type="application/raml+yaml">
    <comment>RAML document</comment>
    <acronym>RAML</acronym>
    <expanded-acronym>RESTful API Modeling Language</expanded-acronym>
    <sub-class-of type="application/yaml"/>
    <magic>
      <match type="string" value="#%RAML " offset="0"/>
    </magic>
    <glob pattern="*.raml"/>
  </mime-type>
  <mime-type type="application/relax-ng-compact-syntax">
    <comment>RELAX NG XML schema</comment>
    <acronym>RELAX NG</acronym>
    <expanded-acronym>REgular LAnguage for XML Next Generation</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.rnc"/>
    <alias type="application/x-rnc"/>
  </mime-type>
  <mime-type type="application/rtf">
    <comment>RTF document</comment>
    <acronym>RTF</acronym>
    <expanded-acronym>Rich Text Format</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="{\\rtf" offset="0"/>
    </magic>
    <glob pattern="*.rtf"/>
    <alias type="text/rtf"/>
  </mime-type>
  <mime-type type="application/sieve">
    <comment>Sieve mail filter script</comment>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.siv"/>
    <glob pattern="*.sieve"/>
  </mime-type>
  <mime-type type="application/smil+xml">
    <comment>SMIL document</comment>
    <acronym>SMIL</acronym>
    <expanded-acronym>Synchronized Multimedia Integration Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <alias type="application/smil"/>
    <generic-icon name="video-x-generic"/>
    <glob pattern="*.smil"/>
    <glob pattern="*.smi"/>
    <glob pattern="*.sml"/>
    <glob pattern="*.kino"/>
    <magic priority="55">
      <match type="string" value="&lt;smil" offset="0:256"/>
    </magic>
    <root-XML namespaceURI="http://www.w3.org/2001/SMIL20/Language" localName="smil"/>
    <root-XML namespaceURI="http://www.w3.org/2005/SMIL21/Language" localName="smil"/>
    <root-XML namespaceURI="http://www.w3.org/ns/SMIL" localName="smil"/>
  </mime-type>
  <mime-type type="application/vnd.ms-wpl">
    <comment>WPL playlist</comment>
    <acronym>WPL</acronym>
    <expanded-acronym>Windows Media Player Playlist</expanded-acronym>
    <generic-icon name="video-x-generic"/>
    <glob pattern="*.wpl"/>
    <magic priority="60">
      <match type="string" value="&lt;?wpl" offset="0:256"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-sqlite2">
    <comment>SQLite2 database</comment>
    <glob pattern="*.sqlite2"/>
    <magic>
      <match type="string" value="** This file contains an SQLite" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/vnd.sqlite3">
    <comment>SQLite3 database</comment>
    <glob pattern="*.sqlite3"/>
    <magic>
      <match type="string" value="SQLite format 3" offset="0"/>
    </magic>
    <alias type="application/x-sqlite3"/>
  </mime-type>
  <mime-type type="application/x-apple-systemprofiler+xml">
    <comment>Apple System Profiler</comment>
    <sub-class-of type="application/xml"/>
    <magic>
      <match type="string" value="&lt;plist version=&quot;1.0&quot;" offset="0:256">
        <match type="string" value="&lt;key&gt;_SPCommandLineArguments&lt;/key&gt;" offset="34:384"/>
      </match>
    </magic>
    <glob pattern="*.spx" weight="40"/>
    <root-XML namespaceURI="http://www.apple.com/DTDs/PropertyList-1.0.dtd" localName="plist"/>
  </mime-type>
  <mime-type type="text/vnd.familysearch.gedcom">
    <comment>GEDCOM family history</comment>
    <acronym>GEDCOM</acronym>
    <expanded-acronym>GEnealogical Data COMmunication</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="0 HEAD" offset="0"/>
    </magic>
    <glob pattern="*.ged"/>
    <glob pattern="*.gedcom"/>
    <alias type="application/x-gedcom"/>
    <alias type="text/gedcom"/>
  </mime-type>
  <mime-type type="video/x-flv">
    <comment>Flash video</comment>
    <generic-icon name="video-x-generic"/>
    <magic>
      <match type="string" value="FLV" offset="0"/>
    </magic>
    <glob pattern="*.flv"/>
    <alias type="application/x-flash-video"/>
    <alias type="flv-application/octet-stream"/>
    <alias type="video/flv"/>
  </mime-type>
  <mime-type type="video/x-javafx">
    <comment>JavaFX video</comment>
    <generic-icon name="video-x-generic"/>
    <magic priority="40">
      <match type="string" value="FLV" offset="0"/>
    </magic>
    <glob pattern="*.fxm"/>
    <sub-class-of type="video/x-flv"/>
  </mime-type>
  <mime-type type="application/x-go-sgf">
    <!-- translators: a record is in this context a description of a board game
         that has been played, and that can be played back again:
         http://www.red-bean.com/sgf/ -->
    <comment>SGF record</comment>
    <acronym>SGF</acronym>
    <expanded-acronym>Smart Game Format</expanded-acronym>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.sgf"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="(;FF[3]" offset="0"/>
      <match type="string" value="(;FF[4]" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-godot-project">
    <comment>Godot Engine project</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="project.godot"/>
  </mime-type>
  <mime-type type="application/x-godot-resource">
    <comment>Godot Engine resource</comment>
    <glob pattern="*.res"/>
    <glob pattern="*.tres"/>
    <magic>
      <match type="string" value="[gd_resource " offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-godot-scene">
    <comment>Godot Engine scene</comment>
    <glob pattern="*.scn"/>
    <glob pattern="*.tscn"/>
    <glob pattern="*.escn"/>
    <magic>
      <match type="string" value="[gd_scene " offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-godot-shader">
    <comment>Godot Engine shader</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.gdshader"/>
  </mime-type>
  <mime-type type="application/x-gdscript">
    <comment>GDScript script</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.gd"/>
  </mime-type>
  <mime-type type="application/its+xml">
    <comment>ITS translation file</comment>
    <acronym>ITS</acronym>
    <expanded-acronym>Internationalization Tag Set</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.its"/>
    <magic>
      <match type="string" value="&lt;its" offset="0:256"/>
    </magic>
    <root-XML namespaceURI="http://www.w3.org/2005/11/its" localName="its"/>
  </mime-type>
  <mime-type type="application/xliff+xml">
    <comment>XLIFF translation file</comment>
    <acronym>XLIFF</acronym>
    <expanded-acronym>XML Localization Interchange File Format</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.xlf"/>
    <glob pattern="*.xliff"/>
    <magic priority="80">
      <match type="string" value="&lt;xliff" offset="0:256"/>
    </magic>
    <root-XML namespaceURI='urn:oasis:names:tc:xliff:document:1.1' localName='xliff'/>
    <alias type="application/x-xliff"/>
  </mime-type>
  <mime-type type="application/toml">
    <comment>TOML document</comment>
    <acronym>TOML</acronym>
    <expanded-acronym>Tom's Obvious Minimal Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.toml"/>
  </mime-type>
  <mime-type type="application/yaml">
    <comment>YAML document</comment>
    <acronym>YAML</acronym>
    <expanded-acronym>YAML Ain't Markup Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="%YAML" offset="0"/>
    </magic>
    <glob pattern="*.yaml"/>
    <glob pattern="*.yml"/>
    <alias type="application/x-yaml"/>
    <alias type="text/yaml"/>
    <alias type="text/x-yaml"/>
  </mime-type>
  <mime-type type="application/vnd.corel-draw">
    <comment>Corel Draw drawing</comment>
    <generic-icon name="image-x-generic"/>
    <magic priority="80">
      <match type="string" value="CDRXvrsn" mask="0xffffff00ffffffff" offset="8"/>
    </magic>
    <glob pattern="*.cdr"/>
    <alias type="application/cdr"/>
    <alias type="application/coreldraw"/>
    <alias type="application/x-cdr"/>
    <alias type="application/x-coreldraw"/>
    <alias type="image/cdr"/>
    <alias type="image/x-cdr"/>
    <alias type="zz-application/zz-winassoc-cdr"/>
  </mime-type>
  <mime-type type="application/vnd.hp-hpgl">
    <comment>HPGL file</comment>
    <acronym>HPGL</acronym>
    <expanded-acronym>HP Graphics Language</expanded-acronym>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.hpgl"/>
  </mime-type>
  <mime-type type="application/vnd.hp-pcl">
    <comment>PCL file</comment>
    <acronym>PCL</acronym>
    <expanded-acronym>HP Printer Control Language</expanded-acronym>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.pcl"/>
  </mime-type>
  <mime-type type="application/vnd.cups-ppd">
    <comment>PostScript printer description</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="*PPD-Adobe:" offset="0"/>
    </magic>
    <glob pattern="*.ppd"/>
  </mime-type>
  <mime-type type="application/vnd.lotus-1-2-3">
    <comment>Lotus 1-2-3 spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <magic>
      <match type="string" value="\x00\x00\x02\x00\x06\x04\x06\x00\x08\x00\x00\x00\x00\x00" offset="0"/>
    </magic>
    <glob pattern="*.123"/>
    <glob pattern="*.wk1"/>
    <glob pattern="*.wk3"/>
    <glob pattern="*.wk4"/>
    <glob pattern="*.wks"/>
    <alias type="application/x-lotus123"/>
    <alias type="application/x-123"/>
    <alias type="application/lotus123"/>
    <alias type="application/wk1"/>
    <alias type="zz-application/zz-winassoc-123"/>
  </mime-type>
  <mime-type type="application/vnd.lotus-wordpro">
    <comment>Lotus Word Pro document</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="WordPro" offset="0"/>
    </magic>
    <glob pattern="*.lwp"/>
  </mime-type>
  <mime-type type="application/x-lmdb">
    <comment>LMDB database</comment>
    <acronym>LMDB</acronym>
    <expanded-acronym>Lightning Memory-Mapped Database</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <magic>
      <match offset="16" type="little32" value="0xBEEFC0DE" />
    </magic>
    <glob pattern="*.mdb" />
    <glob pattern="*.lmdb" />
  </mime-type>
  <mime-type type="application/vnd.ms-access">
    <comment>JET database</comment>
    <acronym>JET</acronym>
    <expanded-acronym>Joint Engine Technology</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <magic>
      <match offset="0" type="string" value="\x00\x01\x00\x00Standard Jet DB" />
    </magic>
    <glob pattern="*.mdb" weight="60"/>
    <alias type="application/msaccess"/>
    <alias type="application/vnd.msaccess"/>
    <alias type="application/x-msaccess"/>
    <alias type="application/mdb"/>
    <alias type="application/x-mdb"/>
    <alias type="zz-application/zz-winassoc-mdb"/>
  </mime-type>
  <mime-type type="application/vnd.ms-cab-compressed">
    <comment>Microsoft Cabinet archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match offset="0" type="string" value="MSCF\0\0\0\0" />
    </magic>
    <glob pattern="*.cab"/>
    <alias type="zz-application/zz-winassoc-cab"/>
  </mime-type>
  <mime-type type="application/vnd.ms-excel">
    <comment>Excel spreadsheet</comment>
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-spreadsheet"/>
    <magic>
      <match type="string" value="Microsoft Excel 5.0 Worksheet" offset="2080"/>
    </magic>
    <glob pattern="*.xls"/>
    <glob pattern="*.xlc"/>
    <glob pattern="*.xll"/>
    <glob pattern="*.xlm"/>
    <glob pattern="*.xlw"/>
    <glob pattern="*.xla"/>
    <glob pattern="*.xlt"/>
    <glob pattern="*.xld"/>
    <alias type="application/msexcel"/>
    <alias type="application/x-msexcel"/>
    <alias type="zz-application/zz-winassoc-xls"/>
  </mime-type>
  <mime-type type="application/vnd.ms-excel.addin.macroEnabled.12">
    <comment>Excel add-in</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xlam"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
  </mime-type>
  <mime-type type="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
    <comment>Excel 2007 binary spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xlsb"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
  </mime-type>
  <mime-type type="application/vnd.ms-excel.sheet.macroEnabled.12">
    <comment>Excel spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xlsm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
  </mime-type>
  <mime-type type="application/vnd.ms-excel.template.macroEnabled.12">
    <comment>Excel spreadsheet template</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xltm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.template"/>
  </mime-type>
  <mime-type type="application/vnd.ms-powerpoint">
    <comment>PowerPoint presentation</comment>
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.ppz"/>
    <glob pattern="*.ppt"/>
    <glob pattern="*.pps"/>
    <glob pattern="*.pot"/>
    <alias type="application/powerpoint"/>
    <alias type="application/mspowerpoint"/>
    <alias type="application/x-mspowerpoint"/>
  </mime-type>
  <mime-type type="application/vnd.ms-powerpoint.addin.macroEnabled.12">
    <comment>PowerPoint add-in</comment>
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.ppam"/>
  </mime-type>
  <mime-type type="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
    <comment>PowerPoint presentation</comment>
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.pptm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.presentation"/>
  </mime-type>
  <mime-type type="application/vnd.ms-powerpoint.slide.macroEnabled.12">
    <comment>PowerPoint slide</comment>
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.sldm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.slide"/>
  </mime-type>
  <mime-type type="application/vnd.ms-powerpoint.slideshow.macroEnabled.12">
    <comment>PowerPoint presentation</comment>
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.ppsm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.slideshow"/>
  </mime-type>
  <mime-type type="application/vnd.ms-powerpoint.template.macroEnabled.12">
    <comment>PowerPoint presentation template</comment>
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.potm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.template"/>
  </mime-type>
    <mime-type type="application/vnd.ms-visio.drawing.main+xml">
    <comment>Office Open XML Visio drawing</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.vsdx"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.template.main+xml">
    <comment>Office Open XML Visio template</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.vstx"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.stencil.main+xml">
    <comment>Office Open XML Visio stencil</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.vssx"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.drawing.macroEnabled.main+xml">
    <comment>Office Open XML Visio drawing</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.vsdm"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.template.macroEnabled.main+xml">
    <comment>Office Open XML Visio template</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.vstm"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.stencil.macroEnabled.main+xml">
    <comment>Office Open XML Visio stencil</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.vssm"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-word.document.macroEnabled.12">
    <comment>Word document</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.docm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
  </mime-type>
  <mime-type type="application/vnd.ms-word.template.macroEnabled.12">
    <comment>Word document template</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.dotm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.template"/>
  </mime-type>
  <mime-type type="application/oxps">
    <comment>OpenXPS document</comment>
    <acronym>OpenXPS</acronym>
    <expanded-acronym>Open XML Paper Specification</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.oxps"/>
  </mime-type>
  <mime-type type="application/vnd.ms-xpsdocument">
    <comment>XPS document</comment>
    <acronym>XPS</acronym>
    <expanded-acronym>XML Paper Specification</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.xps"/>
    <alias type="application/xps"/>
  </mime-type>
  <mime-type type="application/vnd.ms-works">
    <comment>Microsoft Works document</comment>
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.wcm"/>
    <glob pattern="*.wdb"/>
    <glob pattern="*.wks"/>
    <glob pattern="*.wps"/>
    <glob pattern="*.xlr"/>
  </mime-type>
  <mime-type type="application/vnd.visio">
    <comment>Microsoft Visio document</comment>
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.vsd"/>
    <glob pattern="*.vst"/>
    <glob pattern="*.vsw"/>
    <glob pattern="*.vss"/>
  </mime-type>
  <mime-type type="application/msword">
    <comment>Word document</comment>
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-document"/>
    <magic priority="60">
      <match type="string" value="\x31\xbe\x00\x00" offset="0"/>
      <match type="string" value="PO^Q`" offset="0"/>
      <match type="string" value="\376\067\0\043" offset="0"/>
      <match type="string" value="\333\245-\0\0\0" offset="0"/>
      <match type="string" value="MSWordDoc" offset="2112"/>
      <match type="string" value="MSWordDoc" offset="2108"/>
      <match type="string" value="Microsoft Word document data" offset="2112"/>
      <match type="string" value="bjbj" offset="546"/>
      <match type="string" value="jbjb" offset="546"/>
    </magic>
    <glob pattern="*.doc"/>
    <alias type="application/vnd.ms-word"/>
    <alias type="application/x-msword"/>
    <alias type="zz-application/zz-winassoc-doc"/>
  </mime-type>
  <mime-type type="application/msword-template">
    <comment>Word template</comment>
    <sub-class-of type="application/msword"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.dot"/>
  </mime-type>
  <mime-type type="application/gml+xml">
    <comment>GML document</comment>
    <acronym>GML</acronym>
    <expanded-acronym>Geography Markup Language</expanded-acronym>
    <glob pattern="*.gml"/>
    <root-XML namespaceURI="http://www.opengis.net/gml/3.2" localName="gml"/>
    <sub-class-of type="application/xml"/>
  </mime-type>
  <mime-type type="application/gnunet-directory">
    <comment>GNUnet search file</comment>
    <magic>
      <match type="string" value="\211GND\r\n\032\n" offset="0"/>
    </magic>
    <glob pattern="*.gnd"/>
  </mime-type>
  <mime-type type="application/vnd.ms-tnef">
    <comment>TNEF message</comment>
    <acronym>TNEF</acronym>
    <expanded-acronym>Transport Neutral Encapsulation Format</expanded-acronym>
    <magic>
      <match type="little32" value="0x223e9f78" offset="0"/>
    </magic>
    <glob pattern="*.tnef"/>
    <glob pattern="*.tnf"/>
    <glob pattern="winmail.dat"/>
    <alias type="application/ms-tnef"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.calc">
    <comment>StarCalc spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.sdc"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.chart">
    <comment>StarChart chart</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.sds"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.draw">
    <comment>StarDraw drawing</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.sda"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.impress">
    <comment>StarImpress presentation</comment>
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.sdd"/>
    <glob pattern="*.sdp"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.mail">
    <comment>StarMail email</comment>
    <glob pattern="*.smd"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.math">
    <comment>StarMath formula</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.smf"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.writer">
    <comment>StarWriter document</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.sdw"/>
    <glob pattern="*.vor"/>
    <glob pattern="*.sgl"/>
    <magic priority="90">
      <match type="string" value="StarWriter" offset="2089" />
    </magic>
    <alias type="application/vnd.stardivision.writer-global"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.calc">
    <comment>LibreOffice Calc spreadsheet</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.calc"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.sxc"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.calc.template">
    <comment>LibreOffice Calc template</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.calc"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.stc"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.draw">
    <comment>LibreOffice Draw drawing</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="image-x-generic"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.draw"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.sxd"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.draw.template">
    <comment>LibreOffice Draw template</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="image-x-generic"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.draw"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.std"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.impress">
    <comment>LibreOffice Impress presentation</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-presentation"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.impress"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.sxi"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.impress.template">
    <comment>LibreOffice Impress template</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-presentation"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.impress"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.sti"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.math">
    <comment>LibreOffice Math formula</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.math"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.sxm"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.writer">
    <comment>LibreOffice Writer document</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.writer"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.sxw"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.writer.global">
    <comment>LibreOffice Writer global document</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.writer"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.sxg"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.writer.template">
    <comment>LibreOffice Writer template</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" offset="38" value="application/vnd.sun.xml.writer"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.stw"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.text">
    <comment>ODT document</comment>
    <acronym>ODT</acronym>
    <expanded-acronym>OpenDocument Text</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.text" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.odt"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.text-flat-xml">
    <comment>ODT document (Flat XML)</comment>
    <acronym>FODT</acronym>
    <expanded-acronym>OpenDocument Text (Flat XML)</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.fodt"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.text-template">
    <comment>ODT template</comment>
    <acronym>ODT</acronym>
    <expanded-acronym>OpenDocument Text</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.text-template" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.ott"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.text-web">
    <comment>OTH template</comment>
    <acronym>OTH</acronym>
    <expanded-acronym>OpenDocument HTML</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="text-html"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.text-web" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.oth"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.text-master">
    <comment>ODM document</comment>
    <acronym>ODM</acronym>
    <expanded-acronym>OpenDocument Master</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.text-master" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.odm"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.graphics">
    <comment>ODG drawing</comment>
    <acronym>ODG</acronym>
    <expanded-acronym>OpenDocument Drawing</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="image-x-generic"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.graphics" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.odg"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.graphics-flat-xml">
    <comment>ODG drawing (Flat XML)</comment>
    <acronym>FODG</acronym>
    <expanded-acronym>OpenDocument Drawing (Flat XML)</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.fodg"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.graphics-template">
    <comment>ODG template</comment>
    <acronym>ODG</acronym>
    <expanded-acronym>OpenDocument Drawing</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="image-x-generic"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.graphics-template" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.otg"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.presentation">
    <comment>ODP presentation</comment>
    <acronym>ODP</acronym>
    <expanded-acronym>OpenDocument Presentation</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-presentation"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.presentation" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.odp"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.presentation-flat-xml">
    <comment>ODP presentation (Flat XML)</comment>
    <acronym>FODP</acronym>
    <expanded-acronym>OpenDocument Presentation (Flat XML)</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.fodp"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.presentation-template">
    <comment>ODP template</comment>
    <acronym>ODP</acronym>
    <expanded-acronym>OpenDocument Presentation</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-presentation"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.presentation-template" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.otp"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.spreadsheet">
    <comment>ODS spreadsheet</comment>
    <acronym>ODS</acronym>
    <expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.spreadsheet" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.ods"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
    <comment>ODS spreadsheet (Flat XML)</comment>
    <acronym>FODS</acronym>
    <expanded-acronym>OpenDocument Spreadsheet (Flat XML)</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.fods"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.spreadsheet-template">
    <comment>ODS template</comment>
    <acronym>ODS</acronym>
    <expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.spreadsheet-template" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.ots"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.chart">
    <comment>ODC chart</comment>
    <acronym>ODC</acronym>
    <expanded-acronym>OpenDocument Chart</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.chart" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.odc"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.chart-template">
    <comment>ODC template</comment>
    <acronym>ODC</acronym>
    <expanded-acronym>OpenDocument Chart</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.chart-template" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.otc"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.formula">
    <comment>ODF formula</comment>
    <acronym>ODF</acronym>
    <expanded-acronym>OpenDocument Formula</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.formula" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.odf"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.formula-template">
    <comment>ODF template</comment>
    <acronym>ODF</acronym>
    <expanded-acronym>OpenDocument Formula</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.formula-template" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.otf"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.database">
    <comment>ODB database</comment>
    <acronym>ODB</acronym>
    <expanded-acronym>OpenDocument Database</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.base" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.odb"/>
    <alias type="application/vnd.sun.xml.base"/>
  </mime-type>
  <mime-type type="application/vnd.oasis.opendocument.image">
    <comment>ODI image</comment>
    <acronym>ODI</acronym>
    <expanded-acronym>OpenDocument Image</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="image-x-generic"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/vnd.oasis.opendocument.image" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.odi"/>
  </mime-type>
  <mime-type type="application/vnd.openofficeorg.extension">
    <comment>OpenOffice.org extension</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.oxt" />
  </mime-type>
  <mime-type type="application/vnd.android.package-archive">
    <comment>Android package</comment>
    <sub-class-of type="application/java-archive"/>
    <glob pattern="*.apk"/>
  </mime-type>
  <mime-type type="application/vnd.symbian.install">
    <comment>SIS package</comment>
    <acronym>SIS</acronym>
    <expanded-acronym>Symbian Installation File</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="little32" value="0x10000419" offset="8"/>
    </magic>
    <glob pattern="*.sis"/>
  </mime-type>
  <mime-type type="x-epoc/x-sisx-app">
    <comment>SISX package</comment>
    <acronym>SIS</acronym>
    <expanded-acronym>Symbian Installation File</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="little32" value="0x10201a7a" offset="0"/>
    </magic>
    <glob pattern="*.sisx"/>
  </mime-type>
  <mime-type type="application/vnd.tcpdump.pcap">
    <comment>Network packet capture</comment>
    <magic>
      <match type="host32" value="0xa1b2c3d4" offset="0"/>
      <match type="host32" value="0xd4c3b2a1" offset="0"/>
    </magic>
    <glob pattern="*.pcap"/>
    <glob pattern="*.cap"/>
    <glob pattern="*.dmp"/>
    <alias type="application/x-pcap"/>
    <alias type="application/pcap"/>
  </mime-type>
  <mime-type type="application/vnd.wordperfect">
    <comment>WordPerfect document</comment>
    <alias type="application/x-wordperfect"/>
    <alias type="application/wordperfect"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="WPC" offset="1"/>
      <!-- <match type="big32" value="0xff575053c405" offset="0"/> -->
    </magic>
    <glob pattern="*.wp"/>
    <glob pattern="*.wp4"/>
    <glob pattern="*.wp5"/>
    <glob pattern="*.wp6"/>
    <glob pattern="*.wpd"/>
    <glob pattern="*.wpp"/>
  </mime-type>
  <mime-type type="video/vnd.youtube.yt">
    <comment>YouTube media archive</comment>
    <alias type="application/vnd.youtube.yt"/>
    <generic-icon name="video-x-generic"/>
    <magic>
      <match type="string" value="ftypyt4 " offset="4"/>
    </magic>
    <glob pattern="*.yt"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/x-spss-por">
    <comment>SPSS portable data file</comment>
    <acronym>SPSS</acronym>
    <expanded-acronym>Statistical Package for the Social Sciences</expanded-acronym>
    <magic>
      <match type="string" offset="40" value="ASCII SPSS PORT FILE"/>
    </magic>
    <glob pattern="*.por"/>
  </mime-type>
  <mime-type type="application/x-spss-sav">
    <comment>SPSS data file</comment>
    <acronym>SPSS</acronym>
    <expanded-acronym>Statistical Package for the Social Sciences</expanded-acronym>
    <alias type="application/x-spss-savefile"/>
    <magic>
      <match type="string" offset="0" value="$FL2"/>
      <match type="string" offset="0" value="$FL3"/>
    </magic>
    <glob pattern="*.sav"/>
    <glob pattern="*.zsav"/>
  </mime-type>
  <mime-type type="application/x-xbel">
    <comment>XBEL bookmarks</comment>
    <acronym>XBEL</acronym>
    <expanded-acronym>XML Bookmark Exchange Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-html"/>
    <magic>
      <match type="string" value="&lt;!DOCTYPE\ xbel" offset="0:256"/>
    </magic>
    <glob pattern="*.xbel"/>
  </mime-type>
  <mime-type type="application/x-7z-compressed">
    <comment>7-zip archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="7z\274\257\047\034" offset="0"/>
    </magic>
    <glob pattern="*.7z"/>
    <glob pattern="*.7z.001"/>
  </mime-type>
  <mime-type type="application/x-abiword">
    <comment>AbiWord document</comment>
    <sub-class-of type="application/xml"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="&lt;abiword" offset="0:256"/>
      <match type="string" value="&lt;!DOCTYPE abiword" offset="0:256"/>
    </magic>
    <glob pattern="*.abw"/>
    <glob pattern="*.abw.CRASHED"/>
    <glob pattern="*.abw.gz"/>
    <glob pattern="*.zabw"/>
    <root-XML namespaceURI="http://www.abisource.com/awml.dtd" localName="abiword"/>
  </mime-type>
  <mime-type type="application/x-cue">
    <comment>CD image cuesheet</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.cue"/>
  </mime-type>
  <mime-type type="application/x-amipro">
    <comment>Lotus AmiPro document</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.sam"/>
  </mime-type>
  <mime-type type="application/x-aportisdoc">
    <comment>AportisDoc document</comment>
    <sub-class-of type="application/vnd.palm"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="TEXtREAd" offset="60"/>
      <match type="string" value="TEXtTlDc" offset="60"/>
    </magic>
    <glob pattern="*.pdb" weight="30"/>
    <glob pattern="*.pdc"/>
  </mime-type>
  <mime-type type="chemical/x-pdb">
    <comment>Protein Data Bank file</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic priority="40">
      <match type="string" value="HEADER " offset="0"/>
    </magic>
    <glob pattern="*.pdb"/>
    <glob pattern="*.brk"/>
  </mime-type>
  <mime-type type="application/x-applix-spreadsheet">
    <comment>Applix Spreadsheets spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <magic>
      <match type="string" value="*BEGIN SPREADSHEETS" offset="0"/>
      <match type="string" value="*BEGIN" offset="0">
        <match type="string" value="SPREADSHEETS" offset="7"/>
      </match>
    </magic>
    <glob pattern="*.as"/>
  </mime-type>
  <mime-type type="application/x-applix-word">
    <comment>Applix Words document</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="*BEGIN" offset="0">
        <match type="string" value="WORDS" offset="7"/>
      </match>
    </magic>
    <glob pattern="*.aw"/>
  </mime-type>
  <mime-type type="application/x-arc">
    <comment>ARC archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="little32" mask="0x8080ffff" value="0x0000081a" offset="0"/>
      <match type="little32" mask="0x8080ffff" value="0x0000091a" offset="0"/>
      <match type="little32" mask="0x8080ffff" value="0x0000021a" offset="0"/>
      <match type="little32" mask="0x8080ffff" value="0x0000031a" offset="0"/>
      <match type="little32" mask="0x8080ffff" value="0x0000041a" offset="0"/>
      <match type="little32" mask="0x8080ffff" value="0x0000061a" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-archive">
    <comment>AR archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="45">
      <match type="string" value="&lt;ar&gt;" offset="0"/>
      <match type="string" value="!&lt;arch&gt;" offset="0"/>
    </magic>
    <glob pattern="*.a"/>
    <glob pattern="*.ar"/>
  </mime-type>
  <mime-type type="application/x-arj">
    <comment>ARJ archive</comment>
    <acronym>ARJ</acronym>
    <expanded-acronym>Archived by Robert Jung</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="little16" value="0xea60" offset="0"/>
    </magic>
    <glob pattern="*.arj"/>
  </mime-type>
  <mime-type type="application/x-asar">
    <comment>Electron Archive (ASAR)</comment>
    <acronym>ASAR</acronym>
    <expanded-acronym>Atom Shell Archive Format</expanded-acronym>
    <magic>
      <match type="string" value="\004\000\000\000" offset="0">
        <match type="string" value="{&quot;files&quot;:" offset="16"/>
      </match>
    </magic>
    <glob pattern="*.asar"/>
  </mime-type>
  <mime-type type="application/x-asp">
    <comment>ASP page</comment>
    <acronym>ASP</acronym>
    <expanded-acronym>Active Server Page</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.asp"/>
  </mime-type>
  <mime-type type="application/x-awk">
    <comment>AWK script</comment>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="#!/bin/gawk" offset="0"/>
      <match type="string" value="#! /bin/gawk" offset="0"/>
      <match type="string" value="#!/usr/bin/gawk" offset="0"/>
      <match type="string" value="#! /usr/bin/gawk" offset="0"/>
      <match type="string" value="#!/usr/local/bin/gawk" offset="0"/>
      <match type="string" value="#! /usr/local/bin/gawk" offset="0"/>
      <match type="string" value="#!/bin/awk" offset="0"/>
      <match type="string" value="#! /bin/awk" offset="0"/>
      <match type="string" value="#!/usr/bin/awk" offset="0"/>
      <match type="string" value="#! /usr/bin/awk" offset="0"/>
    </magic>
    <glob pattern="*.awk"/>
  </mime-type>
  <mime-type type="application/x-bcpio">
    <comment>BCPIO archive</comment>
    <acronym>BCPIO</acronym>
    <expanded-acronym>Binary CPIO</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.bcpio"/>
  </mime-type>
  <mime-type type="application/x-bittorrent">
    <comment>BitTorrent seed file</comment>
    <magic>
      <match type="string" value="d8:announce" offset="0"/>
    </magic>
    <glob pattern="*.torrent"/>
  </mime-type>
  <mime-type type="application/x-blender">
    <comment>Blender scene</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.blend"/>
    <glob pattern="*.BLEND"/>
    <glob pattern="*.blender"/>
    <magic>
      <match type="string" value="BLENDER" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-bzdvi">
    <comment>TeX DVI document (bzip2-compressed)</comment>
    <sub-class-of type="application/x-bzip2"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.dvi.bz2"/>
  </mime-type>
  <mime-type type="application/x-bzip1">
    <comment>Bzip1 archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="BZ0" offset="0"/>
    </magic>
    <glob pattern="*.bz"/>
  </mime-type>
  <mime-type type="application/x-bzip1-compressed-tar">
    <comment>Tar archive (bzip1-compressed)</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="application/x-bzip1"/>
    <glob pattern="*.tar.bz"/>
    <glob pattern="*.tbz"/>
  </mime-type>
  <mime-type type="application/x-bzip2">
    <comment>Bzip2 archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="BZh" offset="0"/>
    </magic>
    <glob pattern="*.bz2"/>
    <alias type="application/bzip2"/>
    <alias type="application/x-bzip"/>
  </mime-type>
  <mime-type type="application/x-bzip2-compressed-tar">
    <comment>Tar archive (bzip2-compressed)</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="application/x-bzip2"/>
    <glob pattern="*.tar.bz2"/>
    <glob pattern="*.tbz2"/>
    <glob pattern="*.tb2"/>
    <alias type="application/x-bzip-compressed-tar"/>
  </mime-type>
  <mime-type type="application/x-bzip3">
    <comment>Bzip3 archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="BZ3v1" offset="0"/>
    </magic>
    <glob pattern="*.bz3"/>
  </mime-type>
  <mime-type type="application/x-bzip3-compressed-tar">
    <comment>Tar archive (bzip3-compressed)</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="application/x-bzip3"/>
    <glob pattern="*.tar.bz3"/>
    <glob pattern="*.tbz3"/>
  </mime-type>
  <mime-type type="application/x-bzpdf">
    <comment>PDF document (bzip2-compressed)</comment>
    <sub-class-of type="application/x-bzip2"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.pdf.bz2"/>
  </mime-type>
  <mime-type type="application/x-bzpostscript">
    <comment>PostScript document (bzip2-compressed)</comment>
    <sub-class-of type="application/x-bzip2"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.ps.bz2"/>
  </mime-type>
  <mime-type type="application/vnd.comicbook-rar">
    <comment>Comic book archive (rar container)</comment>
    <sub-class-of type="application/vnd.rar"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.cbr"/>
    <alias type="application/x-cbr"/>
  </mime-type>
  <mime-type type="application/x-cb7">
    <comment>Comic book archive (7z container)</comment>
    <sub-class-of type="application/x-7z-compressed"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.cb7"/>
  </mime-type>
  <mime-type type="application/x-cbt">
    <comment>Comic book archive (tar container)</comment>
    <sub-class-of type="application/x-tar"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.cbt"/>
  </mime-type>
  <mime-type type="application/vnd.comicbook+zip">
    <comment>Comic book archive (zip container)</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.cbz"/>
    <alias type="application/x-cbz"/>
  </mime-type>
  <mime-type type="application/x-lrzip">
    <comment>Lrzip archive</comment>
    <acronym>Lrzip</acronym>
    <expanded-acronym>Long Range Zip</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="LRZI" offset="0"/>
    </magic>
    <glob pattern="*.lrz"/>
  </mime-type>
  <mime-type type="application/x-lrzip-compressed-tar">
    <comment>Tar archive (lrzip-compressed)</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="application/x-lrzip"/>
    <glob pattern="*.tar.lrz"/>
    <glob pattern="*.tlrz"/>
  </mime-type>
  <mime-type type="application/x-apple-diskimage">
    <comment>Apple disk image</comment>
    <glob pattern="*.dmg"/>
  </mime-type>
  <mime-type type="application/vnd.efi.img">
    <comment>Raw disk image</comment>
    <alias type="application/x-raw-disk-image"/>
    <glob pattern="*.raw-disk-image"/>
    <glob pattern="*.img"/>
  </mime-type>
  <mime-type type="application/x-raw-floppy-disk-image">
    <comment>Floppy disk image</comment>
    <sub-class-of type="application/vnd.efi.img"/>
    <generic-icon name="media-floppy"/>
    <alias type="application/x-fd-file"/>
    <glob pattern="*.fd"/>
    <glob pattern="*.qd"/>
  </mime-type>
  <mime-type type="application/x-raw-disk-image-xz-compressed">
    <comment>Raw disk image (XZ-compressed)</comment>
    <sub-class-of type="application/x-xz"/>
    <glob pattern="*.raw-disk-image.xz"/>
    <glob pattern="*.img.xz"/>
  </mime-type>
  <mime-type type="application/vnd.efi.iso">
    <comment>Raw CD image</comment>
    <sub-class-of type="application/vnd.efi.img"/>
    <generic-icon name="media-optical"/>
    <alias type="application/x-cd-image"/>
    <alias type="application/x-iso9660-image"/>
    <!-- No magic, see https://bugs.freedesktop.org/show_bug.cgi?id=10049 -->
    <glob pattern="*.iso" weight="80"/>
    <glob pattern="*.iso9660"/>
  </mime-type>
  <mime-type type="application/x-compressed-iso">
    <comment>Compressed CD image</comment>
    <generic-icon name="media-optical"/>
    <magic>
      <match value="CISO" type="string" offset="0"/>
    </magic>
    <glob pattern="*.cso"/>
  </mime-type>
  <mime-type type="application/x-iso9660-appimage">
    <comment>AppImage application bundle</comment>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="application/vnd.efi.iso"/>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match value="ELF" type="string" offset="1" >
        <match value="0x41" type="byte" offset="8">
          <match value="0x49" type="byte" offset="9">
            <match value="0x01" type="byte" offset="10"/>
          </match>
        </match>
      </match>
    </magic>
    <glob pattern="*.appimage"/>
  </mime-type>
  <mime-type type="application/x-cdrdao-toc">
    <comment>CD Table Of Contents</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="CD_ROM\n" offset="0"/>
      <match type="string" value="CD_DA\n" offset="0"/>
      <match type="string" value="CD_ROM_XA\n" offset="0"/>
      <match type="string" value="CD_TEXT " offset="0"/>
      <match type="string" value="CATALOG &quot;" offset="0">
        <match type="string" value="&quot;" offset="22"/>
      </match>
    </magic>
    <glob pattern="*.toc"/>
  </mime-type>
  <mime-type type="application/x-gd-rom-cue">
    <comment>GD-ROM image cuesheet</comment>
    <!-- It is a non-standard cuesheet used only for Dreamcast GD-ROM images, it
         is typically surrounded by the .bin and .raw files it lists, each one
         matching a disc track.
         The first file should have the application/x-dreamcast-rom type. -->
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.gdi"/>
  </mime-type>
  <mime-type type="application/x-discjuggler-cd-image">
    <comment>Padus DiscJuggler CD image</comment>
    <generic-icon name="media-optical"/>
    <glob pattern="*.cdi"/>
  </mime-type>
  <mime-type type="application/vnd.chess-pgn">
    <comment>PGN chess game notation</comment>
    <acronym>PGN</acronym>
    <expanded-acronym>Portable Game Notation</expanded-acronym>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.pgn"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="[Event " offset="0"/>
    </magic>
    <alias type="application/x-chess-pgn"/>
  </mime-type>
  <mime-type type="application/vnd.ms-htmlhelp">
    <comment>CHM document</comment>
    <acronym>CHM</acronym>
    <expanded-acronym>Compiled Help Modules</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.chm"/>
    <alias type="application/x-chm"/>
  </mime-type>
  <mime-type type="application/x-class-file">
    <comment>Java byte code</comment>
  </mime-type>
  <mime-type type="application/x-compress">
    <comment>UNIX-compressed file</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="\037\235" offset="0"/>
    </magic>
    <glob pattern="*.Z"/>
  </mime-type>
  <mime-type type="application/x-compressed-tar">
    <comment>Tar archive (gzip-compressed)</comment>
    <sub-class-of type="application/gzip"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.tar.gz"/>
    <glob pattern="*.tgz"/>
  </mime-type>
  <mime-type type="application/x-core">
    <comment>Program crash data</comment>
    <magic>
      <match type="string" mask="0xffffffff000000000000000000000000ff" value="\177ELF            \004" offset="0"/>
      <match type="string" value="\177ELF" offset="0">
        <match type="byte" value="1" offset="5">
          <match type="little16" value="4" offset="16"/>
        </match>
      </match>
      <match type="string" value="\177ELF" offset="0">
        <match type="byte" value="2" offset="5">
          <match type="big16" value="4" offset="16"/>
        </match>
      </match>
      <match type="string" value="Core\001" offset="0"/>
      <match type="string" value="Core\002" offset="0"/>
    </magic>
    <glob pattern="core" case-sensitive="true"/>
  </mime-type>
  <mime-type type="application/x-cpio">
    <comment>CPIO archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="host16" value="070707" offset="0"/>
      <match type="string" value="070701" offset="0"/>
      <match type="string" value="070702" offset="0"/>
      <match type="host16" value="0143561" offset="0"/>
    </magic>
    <glob pattern="*.cpio"/>
  </mime-type>
  <mime-type type="application/x-cpio-compressed">
    <comment>CPIO archive (gzip-compressed)</comment>
    <sub-class-of type="application/gzip"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.cpio.gz"/>
  </mime-type>
  <mime-type type="application/x-perf-data">
    <comment>Perf data</comment>
    <glob pattern="perf.data" case-sensitive="true"/>
    <magic priority="50">
      <match type="string" value="PERFILE2" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-csh">
    <comment>C shell script</comment>
    <sub-class-of type="application/x-shellscript"/>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="/bin/tcsh" offset="2:16"/>
      <match type="string" value="/bin/csh" offset="2:16"/>
      <match type="string" value="/bin/env csh" offset="2:16"/>
      <match type="string" value="/bin/env tcsh" offset="2:16"/>
    </magic>
    <glob pattern="*.csh"/>
  </mime-type>
  <mime-type type="application/vnd.dbf">
    <comment>Xbase document</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.dbf"/>
    <alias type="application/dbase"/>
    <alias type="application/dbf"/>
    <alias type="application/x-dbase"/>
    <alias type="application/x-dbf"/>
  </mime-type>
  <mime-type type="application/ecmascript">
    <comment>ECMAScript program</comment>
    <alias type="text/ecmascript"/>
    <sub-class-of type="text/javascript"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.es"/>
  </mime-type>
  <mime-type type="application/x-mame-chd">
    <comment>MAME compressed hard disk image</comment>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="MComprHD" offset="0"/>
    </magic>
    <glob pattern="*.chd"/>
  </mime-type>
  <mime-type type="application/x-sega-cd-rom">
    <!-- Translate this to Mega-CD if the console was known as such in your locale
         Should be Mega-CD in all but en_US, Mexico, Canada and Brazil: https://en.wikipedia.org/wiki/Sega_CD -->
    <comment>Sega CD disc image</comment>
    <generic-icon name="application-x-executable"/>
    <!-- Also matches the application/x-genesis-rom magic values, hence the higher priority -->
    <magic priority="60">
      <match type="string" value="SEGADISCSYSTEM" offset="0">
        <match type="string" value="SEGA" offset="256"/>
      </match>
      <match type="string" value="SEGADISCSYSTEM" offset="16">
        <match type="string" value="SEGA" offset="272"/>
      </match>
    </magic>
    <glob pattern="*.iso"/>
  </mime-type>
  <mime-type type="application/x-sega-pico-rom">
    <!-- Translate this to Kids Computer Pico if the console was known as such in your locale
         Should be Sega Pico in all but Japan: https://en.wikipedia.org/wiki/Sega_Pico -->
    <comment>Sega Pico ROM</comment>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="SEGA PICO" offset="256"/>
    </magic>
    <glob pattern="*.iso"/>
  </mime-type>
  <mime-type type="application/x-saturn-rom">
    <comment>Sega Saturn disc image</comment>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="SEGA SEGASATURN" offset="0"/>
      <match type="string" value="SEGA SEGASATURN" offset="16"/>
    </magic>
    <glob pattern="*.iso"/>
  </mime-type>
  <mime-type type="application/x-dreamcast-rom">
    <comment>Dreamcast disc image</comment>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="SEGA SEGAKATANA" offset="16"/>
    </magic>
    <glob pattern="*.iso"/>
  </mime-type>
  <mime-type type="application/x-nintendo-ds-rom">
    <comment>Nintendo DS ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.nds"/>
  </mime-type>
  <mime-type type="application/x-nintendo-3ds-rom">
    <comment>Nintendo 3DS ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.3ds"/>
    <glob pattern="*.cci"/>
    <magic>
      <match offset="256" type="string" value="NCSD"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-nintendo-3ds-executable">
    <comment>Nintendo 3DS Executable</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.3dsx"/>
    <magic priority="40">
      <match offset="0" type="string" value="3DSX"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-pc-engine-rom">
    <comment>PC Engine ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.pce"/>
  </mime-type>
  <mime-type type="application/x-wii-rom">
    <comment>Wii disc image</comment>
    <alias type="application/x-wii-iso-image"/>
    <alias type="application/x-wbfs"/>
    <alias type="application/x-wia"/>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.iso"/>
    <magic>
      <match offset="24" type="big32" value="0x5d1c9ea3"/>
      <match offset="0" type="string" value="WBFS"/>
      <match offset="0" type="string" value="WII\001DISC"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-wii-wad">
    <comment>WiiWare bundle</comment>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="Is\0\0" offset="4"/>
      <match type="string" value="ib\0\0" offset="4"/>
      <match type="string" value="Bk\0\0" offset="4"/>
    </magic>
    <glob pattern="*.wad"/>
  </mime-type>
  <mime-type type="application/x-gamecube-rom">
    <comment>GameCube disc image</comment>
    <generic-icon name="application-x-executable"/>
    <alias type="application/x-gamecube-iso-image"/>
    <glob pattern="*.iso"/>
    <magic>
      <match offset="28" type="big32" value="0xc2339f3d"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-thomson-cartridge-memo7">
    <comment>Thomson Mémo7 cartridge</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.m7"/>
  </mime-type>
  <mime-type type="application/x-thomson-cassette">
    <comment>Thomson cassette</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.k7"/>
  </mime-type>
  <mime-type type="application/x-hfe-floppy-image">
    <comment>HFE floppy disk image</comment>
    <acronym>HFE</acronym>
    <expanded-acronym>HxC Floppy Emulator</expanded-acronym>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.hfe"/>
    <magic>
      <match offset="0" type="string" value="HXCPICFE"/>
    </magic>
    <alias type="application/x-hfe-file"/>
  </mime-type>
  <mime-type type="application/x-thomson-sap-image">
    <comment>SAP Thomson floppy disk image</comment>
    <acronym>SAP</acronym>
    <expanded-acronym>Système d'Archivage Pukall</expanded-acronym>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.sap"/>
    <magic>
      <match offset="1" type="string" value="SYSTEME D'ARCHIVAGE PUKALL S.A.P. (c) Alexandre PUKALL Avril 1998"/>
    </magic>
    <alias type="application/x-sap-file"/>
  </mime-type>
  <mime-type type="application/vnd.debian.binary-package">
    <comment>Debian package</comment>
    <alias type="application/x-deb"/>
    <alias type="application/x-debian-package"/>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="!&lt;arch&gt;" offset="0">
        <match type="string" value="debian" offset="8"/>
      </match>
    </magic>
    <glob pattern="*.deb"/>
    <glob pattern="*.udeb"/>
  </mime-type>
  <mime-type type="application/x-designer">
    <comment>Qt Designer interface document</comment>
    <generic-icon name="x-office-document"/>
    <sub-class-of type="application/xml"/>
    <magic>
      <match type="string" value="&lt;ui " offset="0:256"/>
      <match type="string" value="&lt;UI " offset="0:256"/>
    </magic>
    <glob pattern="*.ui"/>
  </mime-type>
  <mime-type type="text/x-kaitai-struct">
    <comment>Kaitai Struct definition file</comment>
    <sub-class-of type="application/yaml"/>
    <glob pattern="*.ksy"/>
  </mime-type>
  <mime-type type="text/x-qml">
    <comment>Qt Markup Language file</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="/bin/env qml" offset="2:16"/>
      <match type="string" value="import Qt" offset="0:3000">
        <match type="string" value="{" offset="9:3009"/>
      </match>
      <match type="string" value="import Qml" offset="0:3000">
        <match type="string" value="{" offset="9:3009"/>
      </match>
    </magic>
    <glob pattern="*.qml"/>
    <glob pattern="*.qmltypes"/>
    <glob pattern="*.qmlproject"/>
  </mime-type>
  <mime-type type="application/x-desktop">
    <comment>Desktop entry</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="[Desktop Entry]" offset="0:32"/>
      <match type="string" value="[Desktop Action" offset="0"/>
      <match type="string" value="[KDE Desktop Entry]" offset="0"/>
      <match type="string" value="# Config File" offset="0"/>
      <match type="string" value="# KDE Config File" offset="0"/>
    </magic>
    <glob pattern="*.desktop"/>
    <glob pattern="*.kdelnk"/>
    <alias type="application/x-gnome-app-info"/>
  </mime-type>
  <mime-type type="application/x-fictionbook+xml">
    <comment>FictionBook document</comment>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.fb2"/>
    <magic priority="80">
      <match type="string" value="&lt;FictionBook" offset="0:256"/>
    </magic>
    <alias type="application/x-fictionbook"/>
    <root-XML namespaceURI="http://www.gribuser.ru/xml/fictionbook/2.0" localName="FictionBook"/>
  </mime-type>
  <mime-type type="application/x-zip-compressed-fb2">
    <comment>Compressed FictionBook document</comment>
    <sub-class-of type="application/zip"/>
    <glob pattern="*.fb2.zip"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <!-- Okay, this is not ideal, but it should be good enough for normal cases -->
        <match type="string" value=".fb2" offset="30:256"/>
      </match>
    </magic>
  </mime-type>
  <mime-type type="application/x-dia-diagram">
    <comment>Dia diagram</comment>
    <generic-icon name="image-x-generic"/>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.dia"/>
    <magic>
      <match offset="5:100" type="string" value="&lt;dia:"/>
    </magic>
    <root-XML namespaceURI="http://www.lysator.liu.se/~alla/dia/" localName="diagram"/>
  </mime-type>
  <mime-type type="application/x-dia-shape">
    <comment>Dia shape</comment>
    <generic-icon name="image-x-generic"/>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.shape"/>
    <magic>
      <match offset="5:100" type="string" value="&lt;shape"/>
    </magic>
    <root-XML namespaceURI="http://www.daa.com.au/~james/dia-shape-ns" localName="shape"/>
  </mime-type>
  <mime-type type="application/x-dvi">
    <comment>TeX DVI document</comment>
    <acronym>DVI</acronym>
    <expanded-acronym>Device independent file format</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="little16" value="0x02f7" offset="0"/>
    </magic>
    <glob pattern="*.dvi"/>
  </mime-type>
  <mime-type type="application/x-e-theme">
    <comment>Enlightenment theme</comment>
    <glob pattern="*.etheme"/>
  </mime-type>
  <mime-type type="application/x-egon">
    <comment>Egon Animator animation</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.egon"/>
  </mime-type>
  <mime-type type="application/x-executable">
    <comment>Executable</comment>
    <generic-icon name="application-x-executable"/>
    <magic priority="40">
      <match type="string" value="\177ELF" offset="0">
        <match type="byte" value="1" offset="5"/>
      </match>
      <match type="string" value="\177ELF" offset="0">
        <match type="byte" value="2" offset="5"/>
      </match>
      <match type="string" value="MZ" offset="0"/>
      <match type="little16" value="0x521c" offset="0"/>
      <match type="host16" value="0420" offset="0"/>
      <match type="host16" value="0421" offset="0"/>
      <match type="little16" value="0603" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-fluid">
    <comment>FLTK Fluid file</comment>
    <acronym>FLTK</acronym>
    <expanded-acronym>Fast Light Toolkit</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="# data file for the Fltk" offset="0"/>
    </magic>
    <glob pattern="*.fl"/>
  </mime-type>
  <mime-type type="font/woff">
    <comment>WOFF font</comment>
    <acronym>WOFF</acronym>
    <expanded-acronym>Web Open Font Format</expanded-acronym>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="big32" value="0x774f4646" offset="0"/>
    </magic>
    <glob pattern="*.woff"/>
    <alias type="application/font-woff"/>
  </mime-type>
  <mime-type type="font/woff2">
    <comment>WOFF2 font</comment>
    <acronym>WOFF2</acronym>
    <expanded-acronym>Web Open Font Format 2.0</expanded-acronym>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="big32" value="0x774f4632" offset="0"/>
    </magic>
    <glob pattern="*.woff2"/>
  </mime-type>
  <mime-type type="application/x-font-type1">
    <comment>PostScript type-1 font</comment>
    <sub-class-of type="application/postscript"/>
    <generic-icon name="font-x-generic"/>
    <magic priority="60">
      <match type="string" value="LWFN" offset="0"/>
      <match type="string" value="LWFN" offset="65"/>
      <match type="string" value="%!PS-AdobeFont-1." offset="0"/>
      <match type="string" value="%!PS-AdobeFont-1." offset="6"/>
      <match type="string" value="%!FontType1-1." offset="0"/>
      <match type="string" value="%!FontType1-1." offset="6"/>
    </magic>
    <glob pattern="*.pfa"/>
    <glob pattern="*.pfb"/>
    <glob pattern="*.gsf"/>
  </mime-type>
  <mime-type type="application/x-font-afm">
    <comment>Adobe font metrics</comment>
    <generic-icon name="font-x-generic"/>
    <glob pattern="*.afm"/>
  </mime-type>
  <mime-type type="application/x-font-bdf">
    <comment>BDF font</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="STARTFONT\040" offset="0"/>
    </magic>
    <glob pattern="*.bdf"/>
  </mime-type>
  <mime-type type="application/x-font-dos">
    <comment>DOS font</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="\xff\x46\x4f\x4e" offset="0"/>
      <match type="string" value="\x00\x45\x47\x41" offset="7"/>
      <match type="string" value="\x00\x56\x49\x44" offset="7"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-font-framemaker">
    <comment>Adobe FrameMaker font</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="&lt;MakerScreenFont" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-font-libgrx">
    <comment>LIBGRX font</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="\x14\x02\x59\x19" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-font-linux-psf">
    <comment>Linux PSF console font</comment>
    <acronym>PSF</acronym>
    <expanded-acronym>PC Screen Font</expanded-acronym>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="\x36\x04" offset="0"/>
    </magic>
    <glob pattern="*.psf"/>
  </mime-type>
  <mime-type type="application/x-gz-font-linux-psf">
    <comment>Linux PSF console font (gzip-compressed)</comment>
    <acronym>PSF</acronym>
    <expanded-acronym>PC Screen Font</expanded-acronym>
    <sub-class-of type="application/gzip"/>
    <generic-icon name="font-x-generic"/>
    <glob pattern="*.psf.gz"/>
  </mime-type>
  <mime-type type="application/x-font-pcf">
    <comment>PCF font</comment>
    <acronym>PCF</acronym>
    <expanded-acronym>Portable Compiled Format</expanded-acronym>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="\001fcp" offset="0"/>
    </magic>
    <glob pattern="*.pcf"/>
    <glob pattern="*.pcf.Z"/>
    <glob pattern="*.pcf.gz"/>
  </mime-type>
  <mime-type type="font/otf">
    <comment>OpenType font</comment>
    <sub-class-of type="font/ttf"/>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="OTTO" offset="0"/>
    </magic>
    <glob pattern="*.otf"/>
    <alias type="application/x-font-otf"/>
  </mime-type>
  <mime-type type="application/x-font-speedo">
    <comment>Speedo font</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="D1.0\015" offset="0"/>
    </magic>
    <glob pattern="*.spd"/>
  </mime-type>
  <mime-type type="application/x-font-sunos-news">
    <comment>SunOS News font</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="StartFont" offset="0"/>
      <match type="string" value="\x13\x7A\x29" offset="0"/>
      <match type="string" value="\x13\x7A\x2B" offset="8"/>
    </magic>
  </mime-type>
  <mime-type type="application/font-tdpfr">
    <comment>TDPFR font</comment>
    <acronym>TDPFR</acronym>
    <expanded-acronym>TrueDoc Portable Font Resource</expanded-acronym>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="big32" value="0x50465230" offset="0"/>
      <match type="big32" value="0x50465231" offset="0"/>
    </magic>
    <glob pattern="*.pfr"/>
    <alias type="application/vnd.truedoc"/>
  </mime-type>
  <mime-type type="application/x-font-tex">
    <comment>TeX font</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="\367\203" offset="0"/>
      <match type="string" value="\367\131" offset="0"/>
      <match type="string" value="\367\312" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-font-tex-tfm">
    <comment>TeX font metrics</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="\000\021" offset="2"/>
      <match type="string" value="\000\022" offset="2"/>
    </magic>
  </mime-type>
  <mime-type type="font/ttf">
    <comment>TrueType font</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="FFIL" offset="0"/>
      <match type="string" value="FFIL" offset="65"/>
      <match type="string" value="\000\001\000\000\000" offset="0"/>
    </magic>
    <glob pattern="*.ttf"/>
    <alias type="application/x-font-ttf"/>
  </mime-type>
  <mime-type type="font/collection">
    <comment>Font collection</comment>
    <generic-icon name="font-x-generic"/>
    <glob pattern="*.ttc"/>
  </mime-type>
  <mime-type type="application/x-font-ttx">
    <comment>TrueType XML font</comment>
    <sub-class-of type="application/xml"/>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="&lt;ttFont sfntVersion=&quot;\\x00\\x01\\x00\\x00&quot; ttLibVersion=&quot;" offset="0:256"/>
    </magic>
    <glob pattern="*.ttx"/>
  </mime-type>
  <mime-type type="application/x-font-vfont">
    <comment>V font</comment>
    <generic-icon name="font-x-generic"/>
    <magic>
      <match type="string" value="FONT" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/vnd.framemaker">
    <comment>Adobe FrameMaker document</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="&lt;MakerFile" offset="0"/>
      <match type="string" value="&lt;MIFFile" offset="0"/>
      <match type="string" value="&lt;MakerDictionary" offset="0"/>
      <match type="string" value="&lt;MakerScreenFon" offset="0"/>
      <match type="string" value="&lt;MML" offset="0"/>
      <match type="string" value="&lt;Book" offset="0"/>
      <match type="string" value="&lt;Maker" offset="0"/>
    </magic>
    <glob pattern="*.fm"/>
    <alias type="application/x-frame"/>
  </mime-type>
  <mime-type type="application/x-gameboy-rom">
    <comment>Game Boy ROM</comment>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="\xce\xed\x66\x66\xcc\x0d\x00\x0b\x03\x73\x00\x83\x00\x0c\x00\x0d\x00\x08\x11\x1f\x88\x89\x00\x0e" offset="260">
        <match type="byte" value="0x0" mask="0x80" offset="323"/>
      </match>
    </magic>
    <glob pattern="*.gb"/>
    <glob pattern="*.sgb"/>
  </mime-type>
  <mime-type type="application/x-gameboy-color-rom">
    <comment>Game Boy Color ROM</comment>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="\xce\xed\x66\x66\xcc\x0d\x00\x0b\x03\x73\x00\x83\x00\x0c\x00\x0d\x00\x08" offset="260">
        <match type="byte" value="0x80" mask="0x80" offset="323"/>
      </match>
    </magic>
    <glob pattern="*.gbc"/>
    <glob pattern="*.cgb"/>
  </mime-type>
  <mime-type type="application/x-gba-rom">
    <comment>Game Boy Advance ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.gba"/>
    <glob pattern="*.agb"/>
  </mime-type>
  <mime-type type="application/x-virtual-boy-rom">
    <comment>Virtual Boy ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.vb"/>
  </mime-type>
  <mime-type type="application/x-gdbm">
    <comment>GDBM database</comment>
    <acronym>GDBM</acronym>
    <expanded-acronym>GNU Database Manager</expanded-acronym>
    <magic>
      <match type="big32" value="0x13579ace" offset="0"/>
      <match type="little32" value="0x13579ace" offset="0"/>
      <match type="string" value="GDBM" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-genesis-rom">
    <!-- Translate this to Mega Drive if the console was known as such in your locale
         Should be Mega Drive in all but en_US, Mexico and Canada: https://en.wikipedia.org/wiki/Sega_Genesis#History -->
    <comment>Genesis ROM</comment>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="SEGA GENESIS" offset="256"/>
      <match type="string" value="SEGA MEGA DRIVE" offset="256"/>
      <match type="string" value="SEGA_MEGA_DRIVE" offset="256"/>
      <match type="string" value="EAGN" offset="640"/>
      <match type="string" value="EAMG" offset="640"/>
    </magic>
    <glob pattern="*.gen"/>
    <glob pattern="*.smd"/>
    <glob pattern="*.sgd"/>
  </mime-type>
  <mime-type type="application/x-genesis-32x-rom">
    <!-- Translate this to Super 32X, Mega Drive 32X or Mega 32X if the system was known as such in your locale
         Should be Super 32X in Japan, Mega Drive 32X in PAL region and Mega 32X in Brazil: https://en.wikipedia.org/wiki/32X -->
    <comment>Genesis 32X ROM</comment>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="SEGA 32X" offset="256"/>
    </magic>
    <glob pattern="*.32x"/>
    <glob pattern="*.mdx"/>
  </mime-type>
  <mime-type type="application/x-gettext-translation">
    <comment>Translated messages (machine-readable)</comment>
    <magic>
      <match type="string" value="\336\22\4\225" offset="0"/>
      <match type="string" value="\225\4\22\336" offset="0"/>
    </magic>
    <glob pattern="*.gmo"/>
    <glob pattern="*.mo"/>
  </mime-type>
  <mime-type type="application/x-gtk-builder">
    <comment>GTK+ Builder interface document</comment>
    <sub-class-of type="application/xml"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.ui"/>
    <magic>
      <match type="string" value="&lt;interface" offset="0:256"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-glade">
    <comment>Glade project</comment>
    <sub-class-of type="application/xml"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.glade"/>
    <magic>
      <match type="string" value="&lt;glade-interface" offset="0:256"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-gnucash">
    <comment>GnuCash financial data</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.gnucash"/>
    <glob pattern="*.gnc"/>
    <glob pattern="*.xac"/>
  </mime-type>
  <mime-type type="application/x-gnumeric">
    <comment>Gnumeric spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <magic>
      <match type="string" value="gmr:Workbook" offset="0:64"/>
      <match type="string" value="gnm:Workbook" offset="0:64"/>
    </magic>
    <glob pattern="*.gnumeric"/>
  </mime-type>
  <mime-type type="application/x-gnuplot">
    <comment>Gnuplot document</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.gp"/>
    <glob pattern="*.gplt"/>
    <glob pattern="*.gnuplot"/>
  </mime-type>
  <mime-type type="application/x-graphite">
    <comment>Graphite scientific graph</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.gra"/>
  </mime-type>
  <mime-type type="application/x-gtktalog">
    <comment>GTKtalog catalog</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="gtktalog " offset="4"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-gzdvi">
    <comment>TeX DVI document (gzip-compressed)</comment>
    <sub-class-of type="application/gzip"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.dvi.gz"/>
  </mime-type>
  <mime-type type="application/gzip">
    <comment>Gzip archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="\037\213" offset="0"/>
    </magic>
    <glob pattern="*.gz"/>
    <alias type="application/x-gzip"/>
  </mime-type>
  <mime-type type="application/x-gzpdf">
    <comment>PDF document (gzip-compressed)</comment>
    <sub-class-of type="application/gzip"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.pdf.gz"/>
  </mime-type>
  <mime-type type="application/x-gzpostscript">
    <comment>PostScript document (gzip-compressed)</comment>
    <sub-class-of type="application/gzip"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.ps.gz"/>
  </mime-type>
  <mime-type type="application/x-hdf">
    <comment>HDF document</comment>
    <acronym>HDF</acronym>
    <expanded-acronym>Hierarchical Data Format</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" offset="0" value="\211HDF\r\n\032\n"/>
      <match type="string" offset="0" value="\016\003\023\001"/>
    </magic>
    <glob pattern="*.hdf"/>
    <glob pattern="*.hdf4"/>
    <glob pattern="*.h4"/>
    <glob pattern="*.hdf5"/>
    <glob pattern="*.h5"/>
  </mime-type>
  <mime-type type="application/x-iff">
    <comment>IFF file</comment>
    <acronym>IFF</acronym>
    <expanded-acronym>Interchange File Format</expanded-acronym>
    <magic priority="40">
      <match type="string" value="FORM" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-ipod-firmware">
    <comment>iPod firmware</comment>
    <magic>
      <match type="string" value="S T O P" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/java-archive">
    <comment>Java archive</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="package-x-generic"/>
    <alias type="application/x-jar"/>
    <alias type="application/x-java-archive"/>
    <glob pattern="*.jar"/>
  </mime-type>
  <mime-type type="application/x-java">
    <comment>Java class</comment>
    <magic>
      <match type="big32" value="0xcafebabe" offset="0"/>
    </magic>
    <alias type="application/java"/>
    <alias type="application/java-byte-code"/>
    <alias type="application/java-vm"/>
    <alias type="application/x-java-class"/>
    <alias type="application/x-java-vm"/>
    <glob pattern="*.class"/>
  </mime-type>
  <mime-type type="text/x-groovy">
    <comment>Groovy source code</comment>
    <sub-class-of type="text/x-csrc"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.groovy"/>
    <glob pattern="*.gvy"/>
    <glob pattern="*.gy"/>
    <glob pattern="*.gsh"/>
  </mime-type>
  <mime-type type="text/x-gradle">
    <comment>Gradle script</comment>
    <sub-class-of type="text/x-groovy"/>
    <glob pattern="*.gradle"/>
  </mime-type>
  <mime-type type="application/x-java-jnlp-file">
    <comment>JNLP file</comment>
    <acronym>JNLP</acronym>
    <expanded-acronym>Java Network Launching Protocol</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.jnlp"/>
    <magic>
      <match type="string" value="&lt;jnlp" offset="0:256"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-java-keystore">
    <comment>Java keystore</comment>
    <magic>
      <match type="big32" value="0xfeedfeed" offset="0"/>
    </magic>
    <glob pattern="*.jks"/>
    <glob pattern="*.ks"/>
    <glob pattern="cacerts"/>
  </mime-type>
  <mime-type type="application/x-java-jce-keystore">
    <comment>Java JCE keystore</comment>
    <acronym>JCE</acronym>
    <expanded-acronym>Java Cryptography Extension</expanded-acronym>
    <magic>
      <match type="host32" value="0xcececece" offset="0"/>
    </magic>
    <glob pattern="*.jceks"/>
  </mime-type>
  <mime-type type="application/x-java-pack200">
    <comment>Pack200 Java archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="big32" value="0xcafed00d" offset="0"/>
    </magic>
    <glob pattern="*.pack"/>
  </mime-type>
  <mime-type type="text/javascript">
    <comment>JavaScript program</comment>
    <alias type="application/x-javascript"/>
    <alias type="application/javascript"/>
    <alias type="text/jscript"/>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="#!/bin/gjs" offset="0"/>
      <match type="string" value="#! /bin/gjs" offset="0"/>
      <match type="string" value='eval \"exec /bin/gjs' offset="0"/>
      <match type="string" value="#!/usr/bin/gjs" offset="0"/>
      <match type="string" value="#! /usr/bin/gjs" offset="0"/>
      <match type="string" value='eval \"exec /usr/bin/gjs' offset="0"/>
      <match type="string" value="#!/usr/local/bin/gjs" offset="0"/>
      <match type="string" value="#! /usr/local/bin/gjs" offset="0"/>
      <match type="string" value='eval \"exec /usr/local/bin/gjs' offset="0"/>
      <match type="string" value='/bin/env gjs' offset="2:16"/>
    </magic>
    <glob pattern="*.js"/>
    <glob pattern="*.jsm"/>
    <glob pattern="*.mjs"/>
  </mime-type>
  <mime-type type="text/jscript.encode">
    <comment>Encoded JScript program</comment>
    <sub-class-of type="application/x-executable"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="#@~^" offset="0"/>
    </magic>
    <glob pattern="*.jse"/>
  </mime-type>
  <mime-type type="application/json">
    <comment>JSON document</comment>
    <acronym>JSON</acronym>
    <expanded-acronym>JavaScript Object Notation</expanded-acronym>
    <sub-class-of type="application/json5"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.json"/>
  </mime-type>
  <mime-type type="application/json5">
    <comment>JSON5 document</comment>
    <acronym>JSON5</acronym>
    <expanded-acronym>JavaScript Object Notation 5</expanded-acronym>
    <sub-class-of type="text/javascript"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.json5"/>
  </mime-type>
  <mime-type type="application/jrd+json">
    <comment>JRD document</comment>
    <acronym>JRD</acronym>
    <expanded-acronym>JSON Resource Descriptor</expanded-acronym>
    <sub-class-of type="application/json"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.jrd"/>
  </mime-type>
  <mime-type type="application/json-patch+json">
    <comment>JSON patch</comment>
    <acronym>JSON</acronym>
    <expanded-acronym>JavaScript Object Notation</expanded-acronym>
    <sub-class-of type="application/json"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.json-patch"/>
  </mime-type>
  <mime-type type="application/ld+json">
    <comment>JSON-LD document</comment>
    <acronym>JSON-LD</acronym>
    <expanded-acronym>JavaScript Object Notation for Linked Data</expanded-acronym>
    <sub-class-of type="application/json"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.jsonld"/>
  </mime-type>
  <mime-type type="application/schema+json">
    <comment>JSON schema</comment>
    <sub-class-of type="application/json"/>
    <generic-icon name="text-x-script"/>
    <magic priority="80">
      <match type="string" value="{" offset="0">
        <match type="string" value="&quot;$schema&quot;:" offset="1:256"/>
      </match>
    </magic>
    <glob pattern="*.json"/>
  </mime-type>
  <mime-type type="application/x-ipynb+json">
    <comment>Jupyter notebook document</comment>
    <sub-class-of type="application/json"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="{" offset="0">
        <match type="string" value='"cells":' offset="1:256"/>
      </match>
    </magic>
    <glob pattern="*.ipynb"/>
  </mime-type>
  <mime-type type="application/vnd.coffeescript">
    <comment>CoffeeScript document</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.coffee"/>
  </mime-type>
  <mime-type type="application/x-jbuilder-project">
    <comment>JBuilder project</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.jpr"/>
    <glob pattern="*.jpx"/>
  </mime-type>
  <mime-type type="application/x-karbon">
    <comment>Karbon14 drawing</comment>
    <generic-icon name="image-x-generic"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-karbon\004\006" offset="18"/>
        </match>
      </match>
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/x-karbon" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.karbon"/>
  </mime-type>
  <mime-type type="application/x-kchart">
    <comment>KChart chart</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-kchart\004\006" offset="18"/>
        </match>
      </match>
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/x-kchart" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.chrt"/>
  </mime-type>
  <mime-type type="application/x-kexi-connectiondata">
    <comment>Kexi settings</comment>
    <glob pattern="*.kexic"/>
  </mime-type>
  <mime-type type="application/x-kexiproject-shortcut">
    <comment>Kexi shortcut</comment>
    <glob pattern="*.kexis"/>
  </mime-type>
  <mime-type type="application/x-kexiproject-sqlite2">
    <comment>Kexi database file</comment>
    <sub-class-of type="application/x-sqlite2"/>
    <glob pattern="*.kexi"/>
  </mime-type>
  <mime-type type="application/x-kexiproject-sqlite3">
    <comment>Kexi database file</comment>
    <sub-class-of type="application/vnd.sqlite3"/>
    <glob pattern="*.kexi"/>
    <alias type="application/x-vnd.kde.kexi"/>
    <alias type="application/x-kexiproject-sqlite"/>
  </mime-type>
  <mime-type type="application/x-kformula">
    <comment>KFormula formula</comment>
    <generic-icon name="x-office-document"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-kformula\004\006" offset="18"/>
        </match>
      </match>
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/x-kformula" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.kfo"/>
  </mime-type>
  <mime-type type="application/x-killustrator">
    <comment>KIllustrator drawing</comment>
    <generic-icon name="image-x-generic"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-killustrator\004\006" offset="18"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.kil"/>
  </mime-type>
  <mime-type type="application/x-kivio">
    <comment>Kivio flowchart</comment>
    <generic-icon name="x-office-document"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-kivio\004\006" offset="18"/>
        </match>
      </match>
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/x-kivio" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.flw"/>
  </mime-type>
  <mime-type type="application/x-kontour">
    <comment>Kontour drawing</comment>
    <generic-icon name="image-x-generic"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-kontour\004\006" offset="18"/>
        </match>
      </match>
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/x-kontour" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.kon"/>
  </mime-type>
  <mime-type type="application/x-kpovmodeler">
    <comment>KPovModeler scene</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.kpm"/>
  </mime-type>
  <mime-type type="application/x-kpresenter">
    <comment>KPresenter presentation</comment>
    <generic-icon name="x-office-presentation"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-kpresenter\004\006" offset="18"/>
        </match>
      </match>
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/x-kpresenter" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.kpr"/>
    <glob pattern="*.kpt"/>
  </mime-type>
  <mime-type type="application/x-krita">
    <comment>Krita document</comment>
    <generic-icon name="x-office-document"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-krita\004\006" offset="18"/>
        </match>
      </match>
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <!-- Depending on the zip library and whether a 32 or 64 bits zip file is used, the offset is different. -->
          <match type="string" value="application/x-krita" offset="38"/>
          <match type="string" value="application/x-krita" offset="42"/>
          <match type="string" value="application/x-krita" offset="63"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.kra"/>
    <glob pattern="*.krz"/>
  </mime-type>
  <mime-type type="application/x-kspread">
    <comment>KSpread spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-kspread\004\006" offset="18"/>
        </match>
      </match>
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/x-kspread" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.ksp"/>
  </mime-type>
  <mime-type type="application/x-kspread-crypt">
    <comment>KSpread spreadsheet (encrypted)</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <magic>
      <match type="big32" value="0x0d1a2702" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-ksysv-package">
    <comment>KSysV init package</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="KSysV" offset="4">
        <match type="byte" value="1" offset="15"/>
      </match>
    </magic>
  </mime-type>
  <mime-type type="application/x-kugar">
    <comment>Kugar document</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.kud"/>
  </mime-type>
  <mime-type type="application/x-kword">
    <comment>KWord document</comment>
    <generic-icon name="x-office-document"/>
    <magic priority="60">
      <match type="string" value="\037\213" offset="0">
        <match type="string" value="KOffice" offset="10">
          <match type="string" value="application/x-kword\004\006" offset="18"/>
        </match>
      </match>
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/x-kword" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.kwd"/>
    <glob pattern="*.kwt"/>
  </mime-type>
  <mime-type type="application/x-kword-crypt">
    <comment>KWord document (encrypted)</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="big32" value="0x0d1a2701" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-lha">
    <comment>LHA archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="-lh -" offset="2"/>
      <match type="string" value="-lh0-" offset="2"/>
      <match type="string" value="-lh1-" offset="2"/>
      <match type="string" value="-lh2-" offset="2"/>
      <match type="string" value="-lh3-" offset="2"/>
      <match type="string" value="-lh4-" offset="2"/>
      <match type="string" value="-lh5-" offset="2"/>
      <match type="string" value="-lh40-" offset="2"/>
      <match type="string" value="-lhd-" offset="2"/>
      <match type="string" value="-lz4-" offset="2"/>
      <match type="string" value="-lz5-" offset="2"/>
      <match type="string" value="-lzs-" offset="2"/>
    </magic>
    <glob pattern="*.lha"/>
    <glob pattern="*.lzh"/>
    <alias type="application/x-lzh-compressed"/>
  </mime-type>
  <mime-type type="application/x-lhz">
    <comment>LHZ archive</comment>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.lhz"/>
  </mime-type>
  <mime-type type="text/vnd.trolltech.linguist">
    <comment>Message catalog</comment>
    <sub-class-of type="application/xml"/>
    <magic>
      <match type="string" value="&lt;TS " offset="0:256"/>
      <match type="string" value="&lt;TS&gt;" offset="0:256"/>
    </magic>
    <glob pattern="*.ts"/>
    <alias type="application/x-linguist"/>
    <alias type="text/vnd.qt.linguist"/>
  </mime-type>
  <mime-type type="application/x-lyx">
    <comment>LyX document</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="#LyX" offset="0"/>
    </magic>
    <glob pattern="*.lyx"/>
    <alias type="text/x-lyx"/>
  </mime-type>
  <mime-type type="application/x-lz4">
    <comment>LZ4 archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="little32" value="0x184d2204" offset="0"/>
      <match type="little32" value="0x184c2102" offset="0"/>
    </magic>
    <glob pattern="*.lz4"/>
  </mime-type>
  <mime-type type="application/x-lz4-compressed-tar">
    <comment>Tar archive (LZ4-compressed)</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="application/x-lz4"/>
    <glob pattern="*.tar.lz4"/>
  </mime-type>
  <mime-type type="application/x-lzip">
    <comment>Lzip archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="LZIP" offset="0"/>
    </magic>
    <glob pattern="*.lz"/>
  </mime-type>
  <mime-type type="application/x-lzip-compressed-tar">
    <comment>Tar archive (lzip-compressed)</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="application/x-lzip"/>
    <glob pattern="*.tar.lz"/>
  </mime-type>
  <mime-type type="application/x-lzpdf">
    <comment>PDF document (lzip-compressed)</comment>
    <sub-class-of type="application/x-lzip"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.pdf.lz"/>
  </mime-type>
  <mime-type type="application/x-lzma">
    <comment>LZMA archive</comment>
    <acronym>LZMA</acronym>
    <expanded-acronym>Lempel-Ziv-Markov chain-Algorithm</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.lzma"/>
  </mime-type>
  <mime-type type="application/x-lzma-compressed-tar">
    <comment>Tar archive (LZMA-compressed)</comment>
    <sub-class-of type="application/x-lzma"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.tar.lzma"/>
    <glob pattern="*.tlz"/>
  </mime-type>
  <mime-type type="application/x-lzop">
    <comment>LZO archive</comment>
    <acronym>LZO</acronym>
    <expanded-acronym>Lempel-Ziv-Oberhumer</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="\x89\x4c\x5a\x4f\x00\x0d\x0a\x1a\x0a" offset="0"/>
    </magic>
    <glob pattern="*.lzo"/>
  </mime-type>
  <mime-type type="application/x-qpress">
    <comment>Qpress archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="qpress10" offset="0"/>
    </magic>
    <glob pattern="*.qp"/>
  </mime-type>
  <mime-type type="application/x-xar">
    <comment>XAR archive</comment>
    <acronym>XAR</acronym>
    <expanded-acronym>eXtensible ARchive</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="big32" value="0x78617221" offset="0"/>
    </magic>
    <glob pattern="*.xar"/>
    <!-- OS X 10.5+ installer package -->
    <glob pattern="*.pkg"/>
  </mime-type>
  <mime-type type="application/zlib">
    <comment>Zlib archive</comment>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.zz"/>
  </mime-type>
  <mime-type type="application/x-magicpoint">
    <comment>MagicPoint presentation</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.mgp"/>
  </mime-type>
  <mime-type type="application/x-macbinary">
    <comment>Macintosh MacBinary file</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="mBIN" offset="102"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-matroska">
    <comment>Matroska stream</comment>
    <generic-icon name="video-x-generic"/>
    <magic>
      <!-- EBML ID -->
      <match type="big32" value="0x1a45dfa3" offset="0">
        <!-- DocumentType ID -->
        <match type="big16" value="0x4282" offset="5:65">
          <!-- DocumentType -->
          <match type="string" value="matroska" offset="8:75"/>
        </match>
      </match>
    </magic>
  </mime-type>
  <mime-type type="video/x-matroska">
    <comment>Matroska video</comment>
    <glob pattern="*.mkv"/>
    <sub-class-of type="application/x-matroska"/>
  </mime-type>
  <mime-type type="video/x-matroska-3d">
    <comment>Matroska 3D video</comment>
    <glob pattern="*.mk3d"/>
    <sub-class-of type="application/x-matroska"/>
  </mime-type>
  <mime-type type="audio/x-matroska">
    <comment>Matroska audio</comment>
    <glob pattern="*.mka"/>
    <sub-class-of type="application/x-matroska"/>
  </mime-type>
  <mime-type type="video/webm">
    <comment>WebM video</comment>
    <glob pattern="*.webm"/>
    <magic>
      <!-- EBML ID -->
      <match type="big32" value="0x1a45dfa3" offset="0">
        <!-- DocumentType ID -->
        <match type="big16" value="0x4282" offset="5:65">
          <!-- DocumentType -->
          <match type="string" value="webm" offset="8:75"/>
        </match>
      </match>
    </magic>
  </mime-type>
  <mime-type type="audio/webm">
    <comment>WebM audio</comment>
    <sub-class-of type="video/webm"/>
  </mime-type>
  <mime-type type="application/x-mimearchive">
    <comment>MHTML web archive</comment>
    <acronym>MHTML</acronym>
    <expanded-acronym>MIME HTML</expanded-acronym>
    <glob pattern="*.mhtml"/>
    <glob pattern="*.mht"/>
    <sub-class-of type="multipart/related"/>
  </mime-type>
  <mime-type type="application/mxf">
    <comment>MXF video</comment>
    <acronym>MXF</acronym>
    <expanded-acronym>Material Exchange Format</expanded-acronym>
    <generic-icon name="video-x-generic"/>
    <magic>
      <match type="string" value="\x06\x0e\x2b\x34\x02\x05\x01\x01\x0d\x01\x02\x01\x01\x02" offset="0:256"/>
    </magic>
    <glob pattern="*.mxf"/>
  </mime-type>
  <mime-type type="text/x-ocl">
    <comment>OCL file</comment>
    <acronym>OCL</acronym>
    <expanded-acronym>Object Constraint Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.ocl"/>
  </mime-type>
  <mime-type type="text/x-cobol">
    <comment>COBOL source code</comment>
    <acronym>COBOL</acronym>
    <expanded-acronym>COmmon Business Oriented Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.cbl"/>
    <glob pattern="*.cob"/>
  </mime-type>
  <mime-type type="application/x-mobipocket-ebook">
    <comment>Mobipocket e-book</comment>
    <sub-class-of type="application/vnd.palm"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.mobi"/>
    <glob pattern="*.prc"/>
    <magic priority="30">
      <!-- This also matches AportisDoc, so lower the priority and prefer extension -->
      <match type="string" offset="60" value="TEXtREAd" />
    </magic>
    <magic priority="80">
      <match type="string" offset="60" value="BOOKMOBI" />
    </magic>
  </mime-type>
  <mime-type type="application/x-mif">
    <comment>Adobe FrameMaker MIF document</comment>
    <glob pattern="*.mif"/>
  </mime-type>
  <mime-type type="application/x-mozilla-bookmarks">
    <comment>Mozilla bookmarks</comment>
    <sub-class-of type="text/html"/>
    <generic-icon name="text-html"/>
    <magic priority="80">
      <match type="string" value="&lt;!DOCTYPE NETSCAPE-Bookmark-file-1&gt;" offset="0:64"/>
    </magic>
    <alias type="application/x-netscape-bookmarks"/>
  </mime-type>
  <mime-type type="application/x-msdownload">
    <comment>Windows or DOS program</comment>
    <acronym>DOS</acronym>
    <expanded-acronym>Disk Operating System</expanded-acronym>
    <sub-class-of type="application/x-executable"/>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="MZ" offset="0"/>
    </magic>
    <glob pattern="*.exe"/>
    <glob pattern="*.dll"/>
    <glob pattern="*.cpl"/>
    <glob pattern="*.drv"/>
    <glob pattern="*.scr"/>
    <alias type="application/x-ms-dos-executable"/>
  </mime-type>
  <mime-type type="application/x-dosexec">
    <comment>DOS executable</comment>
    <acronym>DOS</acronym>
    <expanded-acronym>Disk Operating System</expanded-acronym>
    <sub-class-of type="application/x-msdownload"/>
    <generic-icon name="application-x-executable"/>
    <magic priority="60">
      <match type="string" value="MZ" offset="0">
        <match type="little16" mask="0xffc0" value="0" offset="24"/>
      </match>
    </magic>
    <glob pattern="*.exe" weight="30"/>
  </mime-type>
  <mime-type type="application/x-ms-ne-executable">
    <comment>16-bit Windows program</comment>
    <sub-class-of type="application/x-msdownload"/>
    <generic-icon name="application-x-executable"/>
    <magic priority="70">
      <match type="string" value="MZ" offset="0">
        <match type="string" value="NE" offset="64:256"/>
      </match>
    </magic>
    <glob pattern="*.exe" weight="20"/>
    <glob pattern="*.dll" weight="20"/>
    <glob pattern="*.cpl" weight="20"/>
    <glob pattern="*.drv" weight="20"/>
    <glob pattern="*.scr" weight="20"/>
  </mime-type>
  <mime-type type="application/vnd.microsoft.portable-executable">
    <comment>Windows or EFI program</comment>
    <acronym>EFI</acronym>
    <expanded-acronym>Extensible Firmware Interface</expanded-acronym>
    <sub-class-of type="application/x-msdownload"/>
    <generic-icon name="application-x-executable"/>
    <magic priority="80">
      <match type="string" value="MZ" offset="0">
        <match type="string" value="PE\0\0" offset="64:256"/>
      </match>
    </magic>
    <glob pattern="*.exe" weight="40"/>
    <glob pattern="*.dll" weight="40"/>
    <glob pattern="*.cpl" weight="40"/>
    <glob pattern="*.drv" weight="40"/>
    <glob pattern="*.scr" weight="40"/>
    <glob pattern="*.efi"/>
    <glob pattern="*.ocx"/>
    <glob pattern="*.sys"/>
    <glob pattern="*.lib"/>
  </mime-type>
  <mime-type type="application/x-ms-pdb">
    <comment>Windows program database</comment>
    <magic>
      <match type="string" value="Microsoft C/C++ MSF 7.00\r\n\x1aDS" offset="0"/>
      <match type="string" value="Microsoft C/C++ program database 2.00\r\n\x1aJG" offset="0"/>
    </magic>
    <glob pattern="*.pdb"/>
  </mime-type>
  <mime-type type="application/x-bat">
    <comment>DOS/Windows batch file</comment>
    <sub-class-of type="text/plain"/>
    <alias type="application/bat"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.bat"/>
  </mime-type>
  <mime-type type="application/x-powershell">
    <comment>PowerShell script</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="#Requires -PSEdition Core" offset="0"/>
      <match type="string" value="#Requires -PSEdition Desktop" offset="0"/>
    </magic>
    <glob pattern="*.ps1"/>
  </mime-type>
  <mime-type type="application/x-ms-shortcut">
    <comment>Windows shortcut</comment>
    <generic-icon name="emblem-symbolic-link"/>
    <magic>
      <match type="string" value="\x4c\x00\x00\x00\x01\x14\x02\x00\x00\x00\x00\x00\xc0\x00\x00\x00\x00\x00\x00\x46" offset="0"/>
    </magic>
    <glob pattern="*.lnk"/>
    <alias type="application/x-win-lnk"/>
  </mime-type>
  <mime-type type="application/x-mswinurl">
    <comment>Internet shortcut</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="emblem-symbolic-link"/>
    <magic>
      <match type="string" value="InternetShortcut" offset="1"/>
      <match type="string" value="DEFAULT" offset="1">
        <match type="string" value="BASEURL=" offset="11"/>
      </match>
    </magic>
    <glob pattern="*.url"/>
  </mime-type>
  <mime-type type="application/x-mswrite">
    <comment>WRI document</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.wri"/>
  </mime-type>
  <mime-type type="application/x-msx-rom">
    <comment>MSX ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.msx"/>
  </mime-type>
  <mime-type type="application/x-m4">
    <comment>M4 macro</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.m4"/>
  </mime-type>
  <mime-type type="application/x-n64-rom">
    <comment>Nintendo64 ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.n64"/>
    <glob pattern="*.z64"/>
    <glob pattern="*.v64"/>
    <magic>
      <!-- native *.z64 -->
      <match type="big32" offset="0" value="0x80371240"/>
      <!-- byteswapped [BADC] *.v64 -->
      <match type="big32" offset="0" value="0x37804012"/>
      <!-- wordswapped [DCBA] *.n64 -->
      <match type="big32" offset="0" value="0x40123780"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-nautilus-link">
    <comment>Nautilus link</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="&lt;nautilus_object nautilus_link" offset="0:32"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-neo-geo-pocket-rom">
    <comment>Neo-Geo Pocket ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.ngp"/>
    <magic>
      <match offset="35" type="byte" value="0x0">
        <match offset="0" type="string" value="COPYRIGHT BY SNK CORPORATION"/>
        <match offset="0" type="string" value=" LICENSED BY SNK CORPORATION"/>
      </match>
    </magic>
  </mime-type>
  <mime-type type="application/x-neo-geo-pocket-color-rom">
    <comment>Neo-Geo Pocket Color ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.ngc"/>
    <magic>
      <match offset="35" type="byte" value="0x10">
        <match offset="0" type="string" value="COPYRIGHT BY SNK CORPORATION"/>
        <match offset="0" type="string" value=" LICENSED BY SNK CORPORATION"/>
      </match>
    </magic>
  </mime-type>
  <mime-type type="application/x-nes-rom">
    <!-- Translate this to Famicom if the console was known as such in your locale -->
    <comment>NES ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.nes"/>
    <glob pattern="*.nez"/>
    <glob pattern="*.unf"/>
    <glob pattern="*.unif"/>
  </mime-type>
  <mime-type type="application/x-netcdf">
    <comment>Unidata NetCDF document</comment>
    <acronym>NetCDF</acronym>
    <expanded-acronym>Network Common Data Form</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.cdf"/>
    <glob pattern="*.nc"/>
  </mime-type>
  <mime-type type="application/x-nzb">
    <comment>NewzBin usenet index</comment>
    <sub-class-of type="application/xml"/>
    <magic priority="80">
      <match type="string" value="&lt;nzb" offset="0:256"/>
    </magic>
    <glob pattern="*.nzb"/>
  </mime-type>
  <mime-type type="application/x-object">
    <comment>Object code</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="\177ELF" offset="0">
        <match type="byte" value="1" offset="5">
          <match type="little16" value="1" offset="16"/>
        </match>
      </match>
      <match type="string" value="\177ELF" offset="0">
        <match type="byte" value="2" offset="5">
          <match type="big16" value="1" offset="16"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.o"/>
    <glob pattern="*.mod" weight="40"/>
  </mime-type>
  <mime-type type="application/annodex">
    <comment>Annodex exchange format</comment>
    <generic-icon name="video-x-generic"/>
    <magic>
      <match type="string" value="OggS" offset="0">
        <match type="string" value="fishead\0" offset="28">
          <match type="string" value="CMML\0\0\0\0" offset="56:512"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.anx"/>
    <alias type="application/x-annodex"/>
  </mime-type>
  <mime-type type="video/annodex">
    <comment>Annodex video</comment>
    <sub-class-of type="application/annodex"/>
    <magic>
      <match type="string" value="OggS" offset="0">
        <match type="string" value="fishead\0" offset="28">
          <match type="string" value="CMML\0\0\0\0" offset="56:512"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.axv"/>
    <alias type="video/x-annodex"/>
  </mime-type>
  <mime-type type="audio/annodex">
    <comment>Annodex audio</comment>
    <sub-class-of type="application/annodex"/>
    <magic>
      <match type="string" value="OggS" offset="0">
        <match type="string" value="fishead\0" offset="28">
          <match type="string" value="CMML\0\0\0\0" offset="56:512"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.axa"/>
    <alias type="audio/x-annodex"/>
  </mime-type>
  <mime-type type="application/ogg">
    <comment>Ogg multimedia file</comment>
    <generic-icon name="video-x-generic"/>
    <alias type="application/x-ogg"/>
    <magic>
      <match type="string" value="OggS" offset="0"/>
    </magic>
    <glob pattern="*.ogx"/>
  </mime-type>
  <mime-type type="audio/ogg">
    <comment>Ogg audio</comment>
    <sub-class-of type="application/ogg"/>
    <magic>
      <match type="string" value="OggS" offset="0"/>
    </magic>
    <glob pattern="*.oga"/>
    <glob pattern="*.ogg"/>
    <glob pattern="*.opus"/>
    <alias type="audio/x-ogg"/>
  </mime-type>
  <mime-type type="video/ogg">
    <comment>Ogg video</comment>
    <sub-class-of type="application/ogg"/>
    <magic>
      <match type="string" value="OggS" offset="0"/>
    </magic>
    <glob pattern="*.ogv"/>
    <glob pattern="*.ogg"/>
    <alias type="video/x-ogg"/>
  </mime-type>
  <mime-type type="audio/x-vorbis+ogg">
    <comment>Ogg Vorbis audio</comment>
    <sub-class-of type="audio/ogg"/>
    <alias type="audio/vorbis"/>
    <alias type="audio/x-vorbis"/>
    <magic priority="80">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="\x01vorbis" offset="28"/>
      </match>
    </magic>
    <glob pattern="*.oga"/>
    <glob pattern="*.ogg"/>
  </mime-type>
  <mime-type type="audio/x-flac+ogg">
    <comment>Ogg FLAC audio</comment>
    <sub-class-of type="audio/ogg"/>
    <alias type="audio/x-oggflac"/>
    <magic priority="80">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="fLaC" offset="28"/>
      </match>
      <match value="OggS" type="string" offset="0">
        <match value="\177FLAC" type="string" offset="28"/>
      </match>
    </magic>
    <glob pattern="*.oga"/>
    <glob pattern="*.ogg"/>
  </mime-type>
  <mime-type type="audio/x-opus+ogg">
    <comment>Opus audio</comment>
    <sub-class-of type="audio/ogg"/>
    <magic priority="80">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="OpusHead" offset="28"/>
      </match>
    </magic>
    <glob pattern="*.opus"/>
  </mime-type>
  <mime-type type="audio/x-speex+ogg">
    <comment>Ogg Speex audio</comment>
    <sub-class-of type="audio/ogg"/>
    <magic priority="80">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="Speex  " offset="28"/>
      </match>
    </magic>
    <glob pattern="*.oga"/>
    <glob pattern="*.ogg"/>
    <glob pattern="*.spx"/>
  </mime-type>
  <mime-type type="audio/x-speex">
    <comment>Speex audio</comment>
    <magic>
      <match type="string" value="Speex" offset="0"/>
    </magic>
    <glob pattern="*.spx"/>
  </mime-type>
  <mime-type type="video/x-theora+ogg">
    <comment>Ogg Theora video</comment>
    <sub-class-of type="video/ogg"/>
    <alias type="video/x-theora"/>
    <magic priority="80">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="\x80theora" offset="28"/>
      </match>
    </magic>
    <glob pattern="*.ogg"/>
  </mime-type>
  <mime-type type="video/x-ogm+ogg">
    <comment>OGM video</comment>
    <sub-class-of type="video/ogg"/>
    <alias type="video/x-ogm"/>
    <magic priority="80">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="video" offset="29"/>
      </match>
    </magic>
    <glob pattern="*.ogm"/>
  </mime-type>
  <!-- These are typically compount document of various types, so prefer
       extensions for these -->
  <mime-type type="application/x-ole-storage">
    <comment>OLE2 compound document storage</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="\320\317\021\340\241\261\032\341" offset="0"/>
      <match type="little32" value="0xe011cfd0" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/vnd.microsoft.windows.thumbnail-cache">
    <comment>Microsoft Windows Thumbnail Cache</comment>
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="image-x-generic"/>
    <glob pattern="ehthumbs.db"/>
    <glob pattern="ehthumbs_vista.db"/>
    <glob pattern="image.db"/>
    <glob pattern="musicthumbs.db"/>
    <glob pattern="thumbs.db"/>
    <glob pattern="tvthumb.db"/>
    <glob pattern="video.db"/>
  </mime-type>
  <mime-type type="application/vnd.ms-publisher">
    <comment>Microsoft Publisher document</comment>
    <sub-class-of type="application/x-ole-storage"/>
    <glob pattern="*.pub"/>
  </mime-type>
  <mime-type type="application/x-msi">
    <comment>Windows Installer package</comment>
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.msi"/>
  </mime-type>
  <mime-type type="application/appx">
    <comment>Windows app store package</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.appx"/>
  </mime-type>
  <mime-type type="application/msix">
    <comment>Windows app store package</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.msix"/>
  </mime-type>
  <mime-type type="application/appxbundle">
    <comment>Windows app store bundle</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.appxbundle"/>
  </mime-type>
  <mime-type type="application/msixbundle">
    <comment>Windows app store bundle</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.msixbundle"/>
  </mime-type>
  <mime-type type="application/appinstaller">
    <comment>Windows app store installer</comment>
    <sub-class-of type="application/xml"/>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="&lt;AppInstaller" offset="0:256"/>
    </magic>
    <glob pattern="*.appinstaller"/>
  </mime-type>
  <mime-type type="application/x-oleo">
    <comment>GNU Oleo spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <magic>
      <match type="string" value="Oleo" offset="31"/>
    </magic>
    <glob pattern="*.oleo"/>
  </mime-type>
  <mime-type type="application/x-pak">
    <comment>PAK archive</comment>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.pak" />
  </mime-type>
  <mime-type type="application/vnd.palm">
    <comment>Palm OS database</comment>
    <glob pattern="*.prc"/>
    <glob pattern="*.pdb" weight="40"/>
    <glob pattern="*.pqa"/>
    <glob pattern="*.oprc"/>
    <alias type="application/x-palm-database"/>
  </mime-type>
  <mime-type type="application/x-par2">
    <comment>Parchive archive</comment>
    <acronym>Parchive</acronym>
    <expanded-acronym>Parity Volume Set Archive</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match offset="0" type="string" value="PAR2" />
    </magic>
    <glob pattern="*.PAR2" />
    <glob pattern="*.par2" />
  </mime-type>
  <mime-type type="application/x-pef-executable">
    <comment>PEF executable</comment>
    <acronym>PEF</acronym>
    <expanded-acronym>Preferred Executable Format</expanded-acronym>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match type="string" value="Joy!" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-perl">
    <comment>Perl script</comment>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <alias type="text/x-perl"/>
    <magic>
      <match type="string" value='eval \"exec /usr/local/bin/perl' offset="0"/>
      <match type="string" value="/bin/perl" offset="2:16"/>
      <match type="string" value="/bin/env perl" offset="2:16"/>
      <match type="string" value="use Test::" offset="0:256"/>
    </magic>
    <magic priority="40">
      <match type="string" value="use strict" offset="0:256"/>
      <match type="string" value="use warnings" offset="0:256"/>
      <match type="string" value="use diagnostics" offset="0:256"/>
      <match type="string" value="\n=pod" offset="0:256"/>
      <match type="string" value="\n=head1 NAME" offset="0:256"/>
      <match type="string" value="\n=head1 DESCRIPTION" offset="0:256"/>
      <match type="string" value="BEGIN {" offset="0:256"/>
    </magic>
    <glob pattern="*.pl"/>
    <glob pattern="*.PL"/><!-- CPAN-style Perl build script -->
    <glob pattern="*.pm"/><!-- module -->
    <glob pattern="*.al"/><!-- autoloader -->
    <glob pattern="*.perl"/>
    <glob pattern="*.pod"/><!-- documentation -->
    <glob pattern="*.t" weight="10"/><!-- CPAN-style Perl test script -->
  </mime-type>
  <mime-type type="application/x-php">
    <comment>PHP script</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <magic priority="80">
      <match type="string" value="&lt;?php" offset="0:64"/>
    </magic>
    <glob pattern="*.php"/>
    <glob pattern="*.php3"/>
    <glob pattern="*.php4"/>
    <glob pattern="*.php5"/>
    <glob pattern="*.phps"/>
  </mime-type>
  <mime-type type="application/x-pkcs7-certificates">
    <comment>PKCS#7 certificate bundle</comment>
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
    <glob pattern="*.p7b"/>
    <glob pattern="*.spc"/>
  </mime-type>
  <mime-type type="application/pkcs12">
    <comment>PKCS#12 certificate bundle</comment>
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
    <glob pattern="*.p12"/>
    <glob pattern="*.pfx"/>
    <alias type="application/x-pkcs12"/>
  </mime-type>
  <mime-type type="application/x-planperfect">
    <comment>PlanPerfect spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.pln"/>
  </mime-type>
  <mime-type type="application/x-pocket-word">
    <comment>Pocket Word document</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="{\\pwi" offset="0"/>
    </magic>
    <glob pattern="*.psw"/>
  </mime-type>
  <mime-type type="application/x-profile">
    <comment>Profiler results</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="gmon.out"/>
  </mime-type>
  <mime-type type="application/x-pw">
    <comment>Pathetic Writer document</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.pw"/>
  </mime-type>
  <mime-type type="application/x-python-bytecode">
    <comment>Python bytecode</comment>
    <magic>
      <match type="big32" value="0x994e0d0a" offset="0"/>
    </magic>
    <glob pattern="*.pyc"/>
    <glob pattern="*.pyo"/>
  </mime-type>
  <mime-type type="application/x-qtiplot">
    <comment>QtiPlot document</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match value="QtiPlot" type="string" offset="0"/>
    </magic>
    <glob pattern="*.qti"/>
    <glob pattern="*.qti.gz"/>
  </mime-type>
  <mime-type type="application/x-quattropro">
    <comment>Quattro Pro spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.wb1"/>
    <glob pattern="*.wb2"/>
    <glob pattern="*.wb3"/>
  </mime-type>
  <mime-type type="application/x-quicktime-media-link">
    <comment>QuickTime playlist</comment>
    <generic-icon name="video-x-generic"/>
    <sub-class-of type="video/quicktime"/>
    <alias type="application/x-quicktimeplayer"/>
    <magic priority="60">
      <match value="&lt;?xml" type="string" offset="0">
        <match type="string" value="&lt;?quicktime" offset="0:64"/>
      </match>
      <match value="RTSPtext" type="string" offset="0"/>
      <match value="rtsptext" type="string" offset="0"/>
      <match value="SMILtext" type="string" offset="0"/>
    </magic>
    <glob pattern="*.qtl"/>
  </mime-type>
  <mime-type type="application/x-qw">
    <comment>Quicken document</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.qif"/>
  </mime-type>
  <mime-type type="application/vnd.rar">
    <comment>RAR archive</comment>
    <acronym>RAR</acronym>
    <expanded-acronym>Roshal ARchive</expanded-acronym>
    <alias type="application/x-rar"/>
    <alias type="application/x-rar-compressed"/>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="Rar!" offset="0"/>
    </magic>
    <glob pattern="*.rar"/>
  </mime-type>
  <mime-type type="application/x-dar">
    <comment>DAR archive</comment>
    <acronym>DAR</acronym>
    <expanded-acronym>Disk ARchive</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="big32" value="123" offset="0"/>
    </magic>
    <glob pattern="*.dar"/>
  </mime-type>
  <mime-type type="application/x-alz">
    <comment>Alzip archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="ALZ" offset="0"/>
    </magic>
    <glob pattern="*.alz"/>
  </mime-type>
  <mime-type type="text/x-reject">
    <comment>Rejected patch</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <alias type="application/x-reject"/>
    <glob pattern="*.rej"/>
  </mime-type>
  <mime-type type="application/x-rpm">
    <comment>RPM package</comment>
    <generic-icon name="package-x-generic"/>
    <alias type="application/x-redhat-package-manager" />
    <magic>
      <match type="string" value="\xed\xab\xee\xdb" offset="0"/>
    </magic>
    <glob pattern="*.rpm"/>
  </mime-type>
  <mime-type type="application/x-source-rpm">
    <comment>Source RPM package</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="application/x-rpm"/>
    <glob pattern="*.src.rpm"/>
    <glob pattern="*.spm"/>
  </mime-type>
  <mime-type type="application/x-ruby">
    <comment>Ruby script</comment>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="/bin/env ruby" offset="2:16"/>
      <match type="string" value="/bin/ruby" offset="2:16"/>
    </magic>
    <glob pattern="*.rb"/>
  </mime-type>
  <mime-type type="application/x-markaby">
    <comment>Markaby script</comment>
    <sub-class-of type="application/x-ruby"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.mab"/>
  </mime-type>
  <mime-type type="text/x-crystal">
    <comment>Crystal source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.cr"/>
    <alias type="text/crystal"/>
  </mime-type>
  <mime-type type="text/julia">
    <comment>Julia source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.jl"/>
  </mime-type>  
  <mime-type type="text/rust">
    <comment>Rust source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.rs"/>
  </mime-type>
  <mime-type type="application/x-sc">
    <comment>SC/Xspread spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <magic>
      <match type="string" value="Spreadsheet" offset="38"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-shar">
    <comment>Shell archive</comment>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.shar"/>
  </mime-type>
  <mime-type type="application/x-shared-library-la">
    <comment>Libtool shared library</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.la"/>
  </mime-type>
  <mime-type type="application/x-sharedlib">
    <comment>Shared library</comment>
    <magic>
      <match type="little16" value="0603" offset="0">
        <match type="little16" mask="030000" value="020000" offset="22"/>
      </match>
    </magic>
    <glob pattern="*.so"/>
    <glob weight="60" pattern="*.so.[0-9]*"/>
  </mime-type>
  <mime-type type="application/x-shellscript">
    <comment>Shell script</comment>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="text/plain"/>
    <alias type="text/x-sh"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="# This is a shell archive" offset="10"/>
      <match type="string" value="/bin/bash" offset="2:16"/>
      <match type="string" value="/bin/nawk" offset="2:16"/>
      <match type="string" value="/bin/zsh" offset="2:16"/>
      <match type="string" value="/bin/sh" offset="2:16"/>
      <match type="string" value="/bin/ksh" offset="2:16"/>
      <match type="string" value="/bin/dash" offset="2:16"/>
      <match type="string" value="/bin/env sh" offset="2:16"/>
      <match type="string" value="/bin/env bash" offset="2:16"/>
      <match type="string" value="/bin/env zsh" offset="2:16"/>
      <match type="string" value="/bin/env ksh" offset="2:16"/>
    </magic>
    <glob pattern="*.sh"/>
  </mime-type>
  <mime-type type="application/x-fishscript">
    <comment>Fish shell script</comment>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="text/plain"/>
    <alias type="text/x-fish"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="/bin/env fish" offset="2:16"/>
    </magic>
    <glob pattern="*.fish"/>
  </mime-type>
  <mime-type type="application/x-nuscript">
    <comment>Nu shell script</comment>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="text/plain"/>
    <alias type="text/x-nu"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="/bin/env nu" offset="2:16"/>
    </magic>
    <glob pattern="*.nu"/>
  </mime-type>
  <mime-type type="application/vnd.adobe.flash.movie">
    <comment>Shockwave Flash file</comment>
    <alias type="application/x-shockwave-flash"/>
    <alias type="application/futuresplash"/>
    <generic-icon name="video-x-generic"/>
    <magic>
      <match type="string" value="FWS" offset="0"/>
      <match type="string" value="CWS" offset="0"/>
    </magic>
    <glob pattern="*.swf"/>
    <glob pattern="*.spl"/>
  </mime-type>
  <mime-type type="application/x-shorten">
    <!-- translators: "Shorten" is the name of an audio codec -->
    <comment>Shorten audio</comment>
    <generic-icon name="audio-x-generic"/>
    <magic>
      <match type="string" value="ajkg" offset="0"/>
    </magic>
    <glob pattern="*.shn"/>
    <alias type="audio/x-shorten"/>
  </mime-type>
  <mime-type type="application/x-siag">
    <comment>Siag spreadsheet</comment>
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.siag"/>
  </mime-type>
  <mime-type type="image/x-skencil">
    <comment>Skencil document</comment>
    <glob pattern="*.sk"/>
    <glob pattern="*.sk1"/>
    <magic>
      <match type="string" value="##Sketch" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-slp">
    <comment>Stampede package</comment>
    <generic-icon name="package-x-generic"/>
  </mime-type>
  <mime-type type="application/x-sg1000-rom">
    <comment>SG-1000 ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.sg"/>
  </mime-type>
  <mime-type type="application/x-sms-rom">
    <!-- Translate this to "Master System/Mark III" if the console was known as such in your locale (probably only in Japan) -->
    <comment>Master System ROM</comment>
    <generic-icon name="application-x-executable"/>
    <!-- Disabled, the magic would be too far into the file
    <magic>
      <match type="string" value="TMR SEGA" offset="32752">
        <match type="byte" value="0x30" offset="32767" mask="0xf0"/>
        <match type="byte" value="0x40" offset="32767" mask="0xf0"/>
      </match>
    </magic> -->
    <glob pattern="*.sms"/>
  </mime-type>
  <mime-type type="application/x-gamegear-rom">
    <comment>Game Gear ROM</comment>
    <generic-icon name="application-x-executable"/>
    <!-- Disabled, the magic would be too far into the file
    <magic>
      <match type="string" value="TMR SEGA" offset="32752">
        <match type="byte" value="0x50" offset="32767" mask="0xf0"/>
        <match type="byte" value="0x60" offset="32767" mask="0xf0"/>
        <match type="byte" value="0x70" offset="32767" mask="0xf0"/>
      </match>
    </magic> -->
    <glob pattern="*.gg"/>
  </mime-type>
  <mime-type type="application/vnd.nintendo.snes.rom">
    <!-- Translate this as Super Famicom (in Far East Asia) or Super Nintendo (in Europe) if the console was known as such in your locale -->
    <comment>Super NES ROM</comment>
    <generic-icon name="application-x-executable"/>
    <alias type="application/x-snes-rom"/>
    <glob pattern="*.sfc"/>
    <glob pattern="*.smc"/>
  </mime-type>
  <mime-type type="application/x-stuffit">
    <comment>StuffIt archive</comment>
    <generic-icon name="package-x-generic"/>
    <alias type="application/stuffit"/>
    <alias type="application/x-sit"/>
    <magic priority="60">
      <match type="string" value="StuffIt " offset="0"/>
      <match type="string" value="SIT!" offset="0"/>
    </magic>
    <glob pattern="*.sit"/>
  </mime-type>
  <mime-type type="application/x-stuffitx">
    <comment>StuffIt X archive</comment>
    <generic-icon name="package-x-generic"/>
    <alias type="application/x-sitx"/>
    <magic priority="60">
      <match type="string" value="StuffIt!" offset="0"/>
    </magic>
    <glob pattern="*.sitx"/>
  </mime-type>
  <mime-type type="application/x-subrip">
    <comment>SubRip subtitles</comment>
    <alias type="application/x-srt"/>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="1" offset="0">
        <match type="string" value=" --> " offset="0:256"/>
      </match>
    </magic>
    <glob pattern="*.srt"/>
  </mime-type>
  <mime-type type="text/vtt">
    <comment>WebVTT subtitles</comment>
    <acronym>VTT</acronym>
    <expanded-acronym>Video Text Tracks</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="WEBVTT" offset="0"/>
    </magic>
    <glob pattern="*.vtt"/>
  </mime-type>
  <mime-type type="application/x-sami">
    <comment>SAMI subtitles</comment>
    <acronym>SAMI</acronym>
    <expanded-acronym>Synchronized Accessible Media Interchange</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="&lt;SAMI&gt;" offset="0:256"/>
    </magic>
    <glob pattern="*.smi"/>
    <glob pattern="*.sami"/>
  </mime-type>
  <mime-type type="text/x-microdvd">
    <comment>MicroDVD subtitles</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="{1}" offset="0"/>
      <match type="string" value="{0}" offset="0"/>
      <match type="string" value="}{" offset="0:6"/>
    </magic>
    <glob pattern="*.sub"/>
  </mime-type>
  <mime-type type="text/x-mpl2">
    <comment>MPL2 subtitles</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="[1]" offset="0"/>
      <match type="string" value="[0]" offset="0"/>
      <match type="string" value="][" offset="0:6"/>
    </magic>
    <glob pattern="*.mpl"/>
  </mime-type>
  <mime-type type="text/x-mpsub">
    <comment>MPlayer subtitles</comment>
    <sub-class-of type="text/plain"/>
    <magic priority="40">
      <match type="string" value="FORMAT=" offset="0:256"/>
    </magic>
    <glob pattern="*.sub"/>
  </mime-type>
  <mime-type type="text/x-ssa">
    <comment>SSA subtitles</comment>
    <acronym>SSA</acronym>
    <expanded-acronym>SubStation Alpha</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="[Script Info]" offset="0:256"/>
      <match type="string" value="Dialogue: " offset="0:256"/>
    </magic>
    <glob pattern="*.ssa"/>
    <glob pattern="*.ass"/>
  </mime-type>
  <mime-type type="text/x-subviewer">
    <comment>SubViewer subtitles</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="[INFORMATION]" offset="0"/>
    </magic>
    <glob pattern="*.sub"/>
  </mime-type>
  <mime-type type="text/x-iMelody">
    <comment>iMelody ringtone</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="BEGIN:IMELODY" offset="0"/>
    </magic>
    <glob pattern="*.imy"/>
    <glob pattern="*.ime"/>
    <alias type="audio/x-iMelody"/>
    <alias type="audio/iMelody" />
  </mime-type>
  <mime-type type="application/vnd.smaf">
    <comment>SMAF audio</comment>
    <acronym>SMAF</acronym>
    <expanded-acronym>Synthetic music Mobile Application Format</expanded-acronym>
    <generic-icon name="audio-x-generic"/>
    <magic>
      <match type="string" value="MMMD" offset="0"/>
    </magic>
    <glob pattern="*.mmf"/>
    <glob pattern="*.smaf"/>
    <alias type="application/x-smaf"/>
  </mime-type>
  <mime-type type="text/x-mrml">
    <comment>MRML playlist</comment>
    <acronym>MRML</acronym>
    <expanded-acronym>Multimedia Retrieval Markup Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <magic>
      <match type="string" value="&lt;mrml " offset="0"/>
    </magic>
    <glob pattern="*.mrml"/>
    <glob pattern="*.mrl"/>
  </mime-type>
  <mime-type type="audio/x-xmf">
    <comment>XMF audio</comment>
    <acronym>XMF</acronym>
    <expanded-acronym>eXtensible Music Format</expanded-acronym>
    <magic>
      <match type="string" value="XMF_" offset="0"/>
    </magic>
    <glob pattern="*.xmf"/>
    <alias type="audio/xmf"/>
  </mime-type>
  <mime-type type="audio/mobile-xmf">
    <comment>Mobile XMF audio</comment>
    <acronym>XMF</acronym>
    <expanded-acronym>eXtensible Music Format</expanded-acronym>
    <magic>
      <match type="string" value="\130\115\106\137\062\056\060\060\000\000\000\002" offset="0"/>
    </magic>
    <glob pattern="*.mxmf"/>
    <alias type="audio/vnd.nokia.mobile-xmf"/>
  </mime-type>
  <mime-type type="application/x-sv4cpio">
    <comment>SV4 CPIO archive</comment>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.sv4cpio"/>
  </mime-type>
  <mime-type type="application/x-sv4crc">
    <comment>SV4 CPIO archive (with CRC)</comment>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.sv4crc"/>
  </mime-type>
  <mime-type type="application/x-tar">
    <comment>Tar archive</comment>
    <generic-icon name="package-x-generic"/>
    <alias type="application/x-gtar"/>
    <magic priority="60">
      <match type="string" value="ustar\0" offset="257"/>
      <match type="string" value="ustar\040\040\0" offset="257"/>
    </magic>
    <glob pattern="*.tar"/>
    <glob pattern="*.gtar"/>
    <glob pattern="*.gem"/>
  </mime-type>
  <mime-type type="application/x-tarz">
    <comment>Tar archive (compressed)</comment>
    <sub-class-of type="application/x-compress"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.tar.Z"/>
    <glob pattern="*.taz"/>
  </mime-type>
  <mime-type type="application/x-tex-gf">
    <comment>Generic font file</comment>
    <generic-icon name="font-x-generic"/>
    <glob pattern="*.gf"/>
  </mime-type>
  <mime-type type="application/x-tex-pk">
    <comment>Packed font file</comment>
    <generic-icon name="font-x-generic"/>
    <glob pattern="*.pk"/>
  </mime-type>
  <mime-type type="application/x-tgif">
    <comment>TGIF document</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="%TGIF" offset="0"/>
    </magic>
    <glob pattern="*.obj"/>
  </mime-type>
  <mime-type type="application/x-theme">
    <comment>Theme</comment>
    <sub-class-of type="application/x-desktop"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.theme"/>
  </mime-type>
  <mime-type type="application/x-toutdoux">
    <comment>ToutDoux document</comment>
    <generic-icon name="x-office-document"/>
  </mime-type>
  <mime-type type="application/x-trash">
    <comment>Backup file</comment>
    <glob pattern="*~"/>
    <glob pattern="*%"/>
    <glob pattern="*.bak"/>
    <glob pattern="*.old"/>
    <glob pattern="*.sik"/>
  </mime-type>
  <mime-type type="text/troff">
    <comment>Troff document</comment>
    <sub-class-of type="text/plain"/>
    <alias type="application/x-troff"/>
    <alias type="text/x-troff"/>
    <magic>
      <match type="string" value='.\\\"' offset="0"/>
      <match type="string" value="'\\\&quot;" offset="0"/>
      <match type="string" value="'.\\\&quot;" offset="0"/>
      <match type="string" value='\\\"' offset="0"/>
    </magic>
    <glob pattern="*.tr"/>
    <glob pattern="*.roff"/>
    <glob weight="10" pattern="*.t"/>
  </mime-type>
  <mime-type type="application/x-troff-man">
    <comment>Manual page</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.man"/>
    <glob pattern="*.[1-9]"/>
  </mime-type>
  <mime-type type="application/x-troff-man-compressed">
    <comment>Manual page (compressed)</comment>
    <generic-icon name="text-x-generic"/>
  </mime-type>
  <mime-type type="application/x-tzo">
    <comment>Tar archive (LZO-compressed)</comment>
    <sub-class-of type="application/x-lzop"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.tar.lzo"/>
    <glob pattern="*.tzo"/>
  </mime-type>
  <mime-type type="application/x-xz">
    <comment>XZ archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="\xfd\x37\x7a\x58\x5a\x00" offset="0"/>
    </magic>
    <glob pattern="*.xz"/>
  </mime-type>
  <mime-type type="application/x-xz-compressed-tar">
    <comment>Tar archive (XZ-compressed)</comment>
    <sub-class-of type="application/x-xz"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.tar.xz"/>
    <glob pattern="*.txz"/>
  </mime-type>
  <mime-type type="application/x-zpaq">
    <comment>Zpaq Archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="7kSt" offset="0"/>
    </magic>
    <glob pattern="*.zpaq"/>
  </mime-type>
  <mime-type type="application/zstd">
    <comment>Zstandard archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="little32" value="0xFD2FB528" offset="0"/>
    </magic>
    <glob pattern="*.zst"/>
  </mime-type>
  <mime-type type="application/x-zstd-compressed-tar">
    <comment>Tar archive (Zstandard-compressed)</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="application/zstd"/>
    <glob pattern="*.tar.zst"/>
    <glob pattern="*.tzst"/>
  </mime-type>
  <mime-type type="application/x-xzpdf">
    <comment>PDF document (XZ-compressed)</comment>
    <sub-class-of type="application/x-xz"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.pdf.xz"/>
  </mime-type>
  <mime-type type="application/x-ustar">
    <comment>Ustar archive</comment>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.ustar"/>
  </mime-type>
  <mime-type type="application/x-wais-source">
    <comment>WAIS source code</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.src"/>
  </mime-type>
  <mime-type type="application/x-wpg">
    <comment>WordPerfect/Drawperfect image</comment>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.wpg"/>
  </mime-type>
  <mime-type type="application/x-wonderswan-rom">
    <comment>Bandai WonderSwan ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.ws"/>
  </mime-type>
  <mime-type type="application/x-wonderswan-color-rom">
    <comment>Bandai WonderSwan Color ROM</comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.wsc"/>
  </mime-type>
  <mime-type type="application/x-x509-ca-cert">
    <comment>DER/PEM/Netscape-encoded X.509 certificate</comment>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="-----BEGIN CA CERTIFICATE-----" offset="0"/>
      <match type="string" value="-----BEGIN TRUSTED CERTIFICATE-----" offset="0"/>
    </magic>
    <glob pattern="*.der"/>
    <glob pattern="*.crt"/>
    <glob pattern="*.cert"/>
    <glob pattern="*.pem"/>
  </mime-type>
  <mime-type type="application/x-zerosize">
    <comment>Empty document</comment>
  </mime-type>
  <mime-type type="application/x-zoo">
    <comment>Zoo archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="little32" value="0xfdc4a7dc" offset="20"/>
    </magic>
    <glob pattern="*.zoo"/>
  </mime-type>
  <mime-type type="application/xhtml+xml">
    <comment>XHTML page</comment>
    <acronym>XHTML</acronym>
    <expanded-acronym>Extensible HyperText Markup Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-html"/>
    <glob pattern="*.xhtml"/>
    <glob pattern="*.xht"/>
    <glob pattern="*.html"/>
    <glob pattern="*.htm"/>
    <magic priority="60">
      <match type="string" value="//W3C//DTD XHTML " offset="0:256"/>
      <match type="string" value="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" offset="0:256"/>
      <match type="string" value="&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml" offset="0:256"/>
      <match type="string" value="&lt;HTML xmlns=&quot;http://www.w3.org/1999/xhtml" offset="0:256"/>
    </magic>
    <root-XML namespaceURI='http://www.w3.org/1999/xhtml' localName='html'/>
  </mime-type>
  <mime-type type="application/zip">
    <comment>Zip archive</comment>
    <alias type="application/x-zip-compressed"/>
    <alias type="application/x-zip"/>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="PK\003\004" offset="0"/>
    </magic>
    <glob pattern="*.zip"/>
    <glob pattern="*.zipx"/>
  </mime-type>
  <mime-type type="application/x-ms-wim">
    <comment>WIM disk image</comment>
    <acronym>WIM</acronym>
    <expanded-acronym>Windows Imaging Format</expanded-acronym>
    <magic>
      <match type="string" value="MSWIM\000\000\000" offset="0"/>
    </magic>
    <glob pattern="*.wim"/>
    <glob pattern="*.swm"/>
  </mime-type>
  <mime-type type="audio/ac3">
    <comment>Dolby Digital audio</comment>
    <magic>
      <match type="big16" value="0x0b77" offset="0"/>
    </magic>
    <glob pattern="*.ac3"/>
  </mime-type>
  <mime-type type="audio/vnd.dts">
    <comment>DTS audio</comment>
    <acronym>DTS</acronym>
    <expanded-acronym>Digital Theater Systems</expanded-acronym>
    <magic>
      <match type="big32" value="0x7FFE8001" offset="0"/> <!-- 16bits core be -->
      <match type="little32" value="0xFE7F0180" offset="0"/> <!-- 16bits core le -->
      <match type="big32" value="0x1FFFE800" offset="0"/> <!-- 14bits core be -->
      <match type="little32" value="0xFF1F00E8" offset="0"/> <!-- 14bits core le -->
    </magic>
    <alias type="audio/x-dts"/>
    <glob pattern="*.dts"/>
  </mime-type>
  <mime-type type="audio/vnd.dts.hd">
    <comment>DTS-HD audio</comment>
    <acronym>DTS-HD</acronym>
    <expanded-acronym>Digital Theater Systems High Definition</expanded-acronym>
    <sub-class-of type="audio/vnd.dts"/>
    <magic priority="60">
      <match type="big32" value="0x7FFE8001" offset="0"> <!-- 16bits core be -->
        <match type="big32" value="0x64582025" offset="4:18725"/> <!-- 16bits HD be -->
      </match>
    </magic>
    <alias type="audio/x-dtshd"/>
    <glob pattern="*.dtshd"/>
  </mime-type>
  <mime-type type="audio/AMR">
    <comment>AMR audio</comment>
    <acronym>AMR</acronym>
    <expanded-acronym>Adaptive Multi-Rate</expanded-acronym>
    <magic>
      <match type="string" value="#!AMR\n" offset="0"/>
      <match type="string" value="#!AMR_MC1.0\n" offset="0"/>
    </magic>
    <glob pattern="*.amr"/>
    <alias type="audio/amr-encrypted"/>
  </mime-type>
  <mime-type type="audio/AMR-WB">
    <comment>AMR-WB audio</comment>
    <acronym>AMR-WB</acronym>
    <expanded-acronym>Adaptive Multi-Rate Wideband</expanded-acronym>
    <magic>
      <match type="string" value="#!AMR-WB\n" offset="0"/>
      <match type="string" value="#!AMR-WB_MC1.0\n" offset="0"/>
    </magic>
    <glob pattern="*.awb"/>
    <alias type="audio/amr-wb-encrypted"/>
  </mime-type>
  <mime-type type="audio/basic">
    <comment>ULAW (Sun) audio</comment>
    <magic priority="40">
      <match type="string" value=".snd" offset="0"/>
    </magic>
    <glob pattern="*.au"/>
    <glob pattern="*.snd"/>
  </mime-type>
  <mime-type type="audio/prs.sid">
    <comment>Commodore 64 audio</comment>
    <magic>
      <match type="string" value="PSID" offset="0"/>
    </magic>
    <glob pattern="*.sid"/>
    <glob pattern="*.psid"/>
  </mime-type>
  <mime-type type="audio/x-adpcm">
    <comment>PCM audio</comment>
    <acronym>PCM</acronym>
    <expanded-acronym>Pulse-code Modulation</expanded-acronym>
    <magic>
      <match type="string" value=".snd" offset="0">
        <match type="big32" value="23" offset="12"/>
      </match>
      <match type="little32" value="0x0064732E" offset="0">
        <match type="little32" value="1" offset="12"/>
        <match type="little32" value="2" offset="12"/>
        <match type="little32" value="3" offset="12"/>
        <match type="little32" value="4" offset="12"/>
        <match type="little32" value="5" offset="12"/>
        <match type="little32" value="6" offset="12"/>
        <match type="little32" value="7" offset="12"/>
        <match type="little32" value="23" offset="12"/>
      </match>
    </magic>
  </mime-type>
  <mime-type type="audio/x-aifc">
    <comment>AIFC audio</comment>
    <acronym>AIFC</acronym>
    <expanded-acronym>Audio Interchange File format Compressed</expanded-acronym>
    <sub-class-of type="application/x-iff"/>
    <magic>
      <match type="string" value="AIFC" offset="8"/>
    </magic>
    <glob pattern="*.aifc"/>
    <glob pattern="*.aiffc"/>
    <alias type="audio/x-aiffc"/>
  </mime-type>
  <mime-type type="audio/x-aiff">
    <comment>AIFF/Amiga/Mac audio</comment>
    <acronym>AIFF</acronym>
    <expanded-acronym>Audio Interchange File Format</expanded-acronym>
    <sub-class-of type="application/x-iff"/>
    <magic>
      <match type="string" value="AIFF" offset="8"/>
      <match type="string" value="8SVX" offset="8"/>
    </magic>
    <glob pattern="*.aiff"/>
    <glob pattern="*.aif"/>
  </mime-type>
  <mime-type type="audio/x-ape">
    <comment>Monkey's audio</comment>
    <magic>
      <match type="string" value="MAC " offset="0"/>
    </magic>
    <glob pattern="*.ape"/>
  </mime-type>
  <mime-type type="audio/x-pn-audibleaudio">
    <comment>Audible.Com audio</comment>
    <magic>
      <!-- https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/aadec.c#L33 -->
      <match type="big32" value="1469084982" offset="4"/>
    </magic>
    <glob pattern="*.aa"/>
    <alias type="audio/vnd.audible"/>
  </mime-type>
  <mime-type type="audio/vnd.audible.aax">
    <comment>Audible Enhanced audio</comment>
    <magic>
      <match type="string" value="ftypaax " offset="4"/>
    </magic>
    <glob pattern="*.aax"/>
  </mime-type>
  <mime-type type="audio/vnd.audible.aaxc">
    <comment>Audible Enhanced audio</comment>
    <magic priority="50">
      <match type="string" value="ftypaaxc" offset="4"/>
    </magic>
    <glob pattern="*.aaxc"/>
  </mime-type>
  <mime-type type="audio/x-dff">
    <comment>DSDIFF audio</comment>
    <acronym>DSDIFF</acronym>
    <expanded-acronym>Direct Stream Digital Interchange File Format</expanded-acronym>
    <magic>
      <!-- from https://www.sonicstudio.com/pdf/dsd/DSDIFF_1.5_Spec.pdf -->
      <match value="FRM8" type="string" offset="0">
        <match value="DSD " type="string" offset="12"/>
      </match>
    </magic>
    <glob pattern="*.dff"/>
    <alias type="audio/dff"/>
  </mime-type>
  <mime-type type="audio/x-dsf">
    <comment>DSF audio</comment>
    <acronym>DSF</acronym>
    <expanded-acronym>Direct stream digital Stream File</expanded-acronym>
    <magic>
      <!-- from https://dsd-guide.com/sites/default/files/white-papers/DSFFileFormatSpec_E.pdf -->
      <match value="DSD " type="string" offset="0">
        <match value="fmt " type="string" offset="28">
          <match value="data" type="string" offset="80"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.dsf"/>
    <alias type="audio/dsf"/>
    <!-- Problematic because some clients expect these mime types to be DSDIFF files -->
    <alias type="audio/x-dsd"/>
    <alias type="audio/dsd"/>
  </mime-type>
  <mime-type type="audio/x-it">
    <comment>Impulse Tracker audio</comment>
    <magic>
      <match type="string" value="IMPM" offset="0"/>
    </magic>
    <glob pattern="*.it"/>
  </mime-type>
  <mime-type type="audio/flac">
    <comment>FLAC audio</comment>
    <acronym>FLAC</acronym>
    <expanded-acronym>Free Lossless Audio Codec</expanded-acronym>
    <magic>
      <match value="fLaC" type="string" offset="0"/>
    </magic>
    <glob pattern="*.flac"/>
    <alias type="audio/x-flac"/>
  </mime-type>
  <mime-type type="audio/x-tak">
    <comment>TAK audio</comment>
    <acronym>TAK</acronym>
    <expanded-acronym>Tom's lossless Audio Kompressor</expanded-acronym>
    <magic>
      <match type="string" value="tBaK" offset="0"/>
    </magic>
    <glob pattern="*.tak"/>
  </mime-type>
  <mime-type type="audio/x-wavpack">
    <comment>WavPack audio</comment>
    <magic>
      <match type="string" value="wvpk" offset="0"/>
    </magic>
    <glob pattern="*.wv"/>
    <glob pattern="*.wvp"/>
  </mime-type>
  <mime-type type="audio/x-wavpack-correction">
    <comment>WavPack audio correction file</comment>
    <magic>
      <match type="string" value="wvpk" offset="0"/>
    </magic>
    <glob pattern="*.wvc"/>
  </mime-type>
  <mime-type type="audio/midi">
    <comment>MIDI audio</comment>
    <acronym>MIDI</acronym>
    <expanded-acronym>Musical Instrument Digital Interface</expanded-acronym>
    <alias type="audio/x-midi"/>
    <magic>
      <match type="string" value="MThd" offset="0"/>
    </magic>
    <glob pattern="*.mid"/>
    <glob pattern="*.midi"/>
    <glob pattern="*.kar"/>
  </mime-type>
  <mime-type type="audio/x-mo3">
    <comment>Compressed Tracker audio</comment>
    <magic>
      <match type="string" value="MO3" offset="0"/>
    </magic>
    <glob pattern="*.mo3"/>
  </mime-type>
  <mime-type type="audio/aac">
    <comment>AAC audio</comment>
    <acronym>AAC</acronym>
    <expanded-acronym>Advanced Audio Coding</expanded-acronym>
    <magic>
      <match type="string" value="ADIF" offset="0"/>
      <match type="big16" value="0xFFF0" mask="0xFFF6" offset="0"/>
    </magic>
    <glob pattern="*.aac"/>
    <glob pattern="*.adts"/>
    <glob pattern="*.ass" weight="10"/>
    <alias type="audio/x-aac"/>
  </mime-type>
  <mime-type type="audio/usac">
    <comment>USAC audio</comment>
    <acronym>USAC</acronym>
    <expanded-acronym>Unified Speech and Audio Coding</expanded-acronym>
    <glob pattern="*.loas"/>
    <glob pattern="*.xhe"/>
  </mime-type>
  <mime-type type="audio/mp4">
    <comment>MPEG-4 audio</comment>
    <alias type="audio/x-m4a"/>
    <alias type="audio/m4a"/>
    <magic>
      <match type="string" value="ftypM4A" offset="4"/>
    </magic>
    <glob pattern="*.m4a"/>
    <glob pattern="*.f4a"/>
  </mime-type>
  <mime-type type="audio/x-m4r">
    <comment>MPEG-4 ringtone</comment>
    <glob pattern="*.m4r"/>
    <sub-class-of type="video/mp4"/>
  </mime-type>
  <mime-type type="video/mp4">
    <comment>MPEG-4 video</comment>
    <alias type="video/mp4v-es"/>
    <magic>
      <match type="string" value="ftypisom" offset="4"/>
      <match type="string" value="ftypmp41" offset="4"/>
      <match type="string" value="ftypmp42" offset="4"/>
      <match type="string" value="ftypMSNV" offset="4"/>
      <match type="string" value="ftypM4V " offset="4"/>
      <match type="string" value="ftypf4v " offset="4"/>
    </magic>
    <glob pattern="*.mp4"/>
    <glob pattern="*.m4v"/>
    <glob pattern="*.f4v"/>
    <glob pattern="*.lrv"/>
    <alias type="video/x-m4v"/>
  </mime-type>
  <mime-type type="audio/x-m4b">
    <comment>MPEG-4 audio book</comment>
    <sub-class-of type="audio/mp4"/>
    <magic>
      <match type="string" value="ftypM4B" offset="4"/>
    </magic>
    <glob pattern="*.m4b"/>
    <glob pattern="*.f4b"/>
  </mime-type>
  <mime-type type="video/3gpp">
    <comment>3GPP multimedia file</comment>
    <acronym>3GPP</acronym>
    <expanded-acronym>3rd Generation Partnership Project</expanded-acronym>
    <sub-class-of type="video/mp4"/>
    <magic>
      <match type="string" value="ftyp3ge" offset="4"/>
      <match type="string" value="ftyp3gg" offset="4"/>
      <match type="string" value="ftyp3gp" offset="4"/>
      <match type="string" value="ftyp3gs" offset="4"/>
    </magic>
    <glob pattern="*.3gp"/>
    <glob pattern="*.3gpp"/>
    <glob pattern="*.3ga"/>
    <alias type="video/3gp"/>
    <alias type="audio/3gpp"/>
    <alias type="video/3gpp-encrypted"/>
    <alias type="audio/3gpp-encrypted"/>
    <alias type="audio/x-rn-3gpp-amr"/>
    <alias type="audio/x-rn-3gpp-amr-encrypted"/>
    <alias type="audio/x-rn-3gpp-amr-wb"/>
    <alias type="audio/x-rn-3gpp-amr-wb-encrypted"/>
  </mime-type>
  <mime-type type="video/3gpp2">
    <comment>3GPP2 multimedia file</comment>
    <acronym>3GPP2</acronym>
    <expanded-acronym>3rd Generation Partnership Project 2</expanded-acronym>
    <magic>
      <match type="string" value="ftyp3g2" offset="4"/>
    </magic>
    <glob pattern="*.3g2"/>
    <glob pattern="*.3gp2"/>
    <glob pattern="*.3gpp2"/>
    <alias type="audio/3gpp2"/>
  </mime-type>
  <mime-type type="audio/x-mod">
    <comment>Amiga SoundTracker audio</comment>
    <magic priority="40">
      <match type="string" value="MTM" offset="0"/>
      <match type="string" value="MMD0" offset="0"/>
      <match type="string" value="MMD1" offset="0"/>
      <!-- 669 composer files: "if" and "JN" -->
      <match type="byte" value="0x0" mask="0x80" offset="112">
        <match type="string" value="if" offset="0">
          <!-- tempo list last byte: 0-31 (0 = known false positive) -->
          <match type="byte" value="0x0" mask="0xe0" offset="368">
            <!-- number of samples: 0-63 -->
            <match type="byte" value="0x0" mask="0xc0" offset="110">
              <!-- number of patterns: 0-128 -->
              <match type="byte" value="0x0" mask="0x80" offset="111"/>
              <match type="byte" value="0x80" offset="111"/>
            </match>
            <!-- number of samples: 64 -->
            <match type="byte" value="0x40" offset="110">
              <match type="byte" value="0x0" mask="0x80" offset="111"/>
              <match type="byte" value="0x80" offset="111"/>
            </match>
          </match>
          <!-- tempo list last byte: 32 -->
          <match type="byte" value="0x20" offset="368">
            <!-- number of samples: 0-63 -->
            <match type="byte" value="0x0" mask="0xc0" offset="110">
              <!-- number of patterns: 0-128 -->
              <match type="byte" value="0x0" mask="0x80" offset="111"/>
              <match type="byte" value="0x80" offset="111"/>
            </match>
            <!-- number of samples: 64 -->
            <match type="byte" value="0x40" offset="110">
              <match type="byte" value="0x0" mask="0x80" offset="111"/>
              <match type="byte" value="0x80" offset="111"/>
            </match>
          </match>
        </match>
        <match type="string" value="JN" offset="0">
          <match type="byte" value="0x0" mask="0xe0" offset="368">
            <match type="byte" value="0x0" mask="0xc0" offset="110">
              <match type="byte" value="0x0" mask="0x80" offset="111"/>
              <match type="byte" value="0x80" offset="111"/>
            </match>
          </match>
          <match type="byte" value="0x20" offset="368">
            <match type="byte" value="0x40" offset="110">
              <match type="byte" value="0x0" mask="0x80" offset="111"/>
              <match type="byte" value="0x80" offset="111"/>
            </match>
          </match>
        </match>
      </match>
      <match type="string" value="MAS_UTrack_V00" offset="0"/>
      <match type="string" value="M.K." offset="1080"/>
      <match type="string" value="M!K!" offset="1080"/>
    </magic>
    <glob pattern="*.mod"/>
    <glob pattern="*.ult"/>
    <glob pattern="*.uni"/>
    <glob pattern="*.m15"/>
    <glob pattern="*.mtm"/>
    <glob pattern="*.669"/>
    <glob pattern="*.med"/>
  </mime-type>
  <mime-type type="audio/mp2">
    <comment>MP2 audio</comment>
    <alias type="audio/x-mp2"/>
    <glob pattern="*.mp2"/>
  </mime-type>
  <mime-type type="audio/mpeg">
    <comment>MP3 audio</comment>
    <alias type="audio/x-mp3" />
    <alias type="audio/x-mpg"/>
    <alias type="audio/x-mpeg"/>
    <alias type="audio/mp3"/>
    <magic>
      <match type="big16" value="0xfffa" offset="0"/>
      <match type="big16" value="0xfffb" offset="0"/>
      <match type="big16" value="0xfff3" offset="0"/>
      <match type="big16" value="0xfff2" offset="0"/>
      <match type="big16" value="0xffe3" offset="0"/>
      <match type="big16" value="0xffe2" offset="0"/>
      <match type="string" value="ID3" offset="0"/>
    </magic>
    <glob pattern="*.mp3"/>
    <glob pattern="*.mpga"/>
  </mime-type>
  <mime-type type="audio/x-mpegurl">
    <comment>Media playlist</comment>
    <sub-class-of type="text/plain"/>
    <alias type="audio/mpegurl" />
    <alias type="application/m3u"/>
    <alias type="audio/x-mp3-playlist"/>
    <alias type="audio/m3u"/>
    <alias type="audio/x-m3u"/>
    <glob pattern="*.m3u"/>
    <glob pattern="*.m3u8"/>
    <glob pattern="*.vlc"/>
    <magic>
      <match type="string" value="#EXTM3U" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/vnd.apple.mpegurl">
    <comment>Media playlist</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.m3u"/>
    <glob pattern="*.m3u8"/>
    <magic priority="70">
      <match type="string" value="#EXTM3U" offset="0">
        <match type="string" value="#EXT-X-TARGETDURATION" offset="0:128"/>
        <match type="string" value="#EXT-X-STREAM-INF" offset="0:128"/>
      </match>
    </magic>
  </mime-type>
  <mime-type type="audio/x-ms-asx">
    <comment>Microsoft ASX playlist</comment>
    <alias type="video/x-ms-wvx"/>
    <alias type="video/x-ms-wax"/>
    <alias type="video/x-ms-wmx"/>
    <alias type="application/x-ms-asx"/>
    <glob pattern="*.asx"/>
    <glob pattern="*.wax"/>
    <glob pattern="*.wvx"/>
    <glob pattern="*.wmx"/>
    <magic priority="51">
      <match type="string" value="ASF " offset="0"/>
      <match type="string" value="&lt;ASX" offset="0:64"/>
      <match type="string" value="&lt;asx" offset="0:64"/>
      <match type="string" value="&lt;Asx" offset="0:64"/>
    </magic>
  </mime-type>
  <mime-type type="audio/x-psf">
    <comment>PSF audio</comment>
    <acronym>PSF</acronym>
    <expanded-acronym>Portable Sound Format</expanded-acronym>
    <magic>
      <match type="string" value="PSF" offset="0"/>
    </magic>
    <glob pattern="*.psf"/>
  </mime-type>
  <mime-type type="audio/x-minipsf">
    <comment>MiniPSF audio</comment>
    <acronym>MiniPSF</acronym>
    <expanded-acronym>Miniature Portable Sound Format</expanded-acronym>
    <sub-class-of type="audio/x-psf"/>
    <glob pattern="*.minipsf"/>
  </mime-type>
  <mime-type type="audio/x-psflib">
    <comment>PSFlib audio library</comment>
    <acronym>PSFlib</acronym>
    <expanded-acronym>Portable Sound Format Library</expanded-acronym>
    <sub-class-of type="audio/x-psf"/>
    <glob pattern="*.psflib"/>
  </mime-type>
  <mime-type type="audio/x-ms-wma">
    <comment>Windows Media audio</comment>
    <sub-class-of type="application/vnd.ms-asf"/>
    <glob pattern="*.wma"/>
    <alias type="audio/wma"/>
  </mime-type>
  <mime-type type="audio/x-musepack">
    <comment>Musepack audio</comment>
    <magic>
      <match type="string" value="MP+" offset="0"/>
      <match type="string" value="MPCK" offset="0"/>
    </magic>
    <glob pattern="*.mpc"/>
    <glob pattern="*.mpp"/>
    <glob pattern="*.mp+"/>
  </mime-type>
  <mime-type type="audio/vnd.rn-realaudio">
    <comment>RealAudio document</comment>
    <glob pattern="*.ra"/>
    <glob pattern="*.rax"/>
    <alias type="audio/x-pn-realaudio"/>
    <alias type="audio/vnd.m-realaudio"/>
  </mime-type>
  <mime-type type="application/ram">
    <comment>RealMedia playlist</comment>
    <glob pattern="*.ram" />
  </mime-type>
  <mime-type type="video/vnd.rn-realvideo">
    <comment>RealVideo document</comment>
    <glob pattern="*.rv"/>
    <glob pattern="*.rvx"/>
    <alias type="video/x-real-video"/>
  </mime-type>
  <mime-type type="application/vnd.rn-realmedia">
    <comment>RealMedia document</comment>
    <generic-icon name="video-x-generic"/>
    <magic>
      <match type="string" value=".RMF" offset="0"/>
    </magic>
    <glob pattern="*.rm"/>
    <glob pattern="*.rmj"/>
    <glob pattern="*.rmm"/>
    <glob pattern="*.rms"/>
    <glob pattern="*.rmx"/>
    <glob pattern="*.rmvb"/>
    <alias type="application/vnd.rn-realmedia-vbr"/>
  </mime-type>
  <mime-type type="image/vnd.rn-realpix">
    <comment>RealPix document</comment>
    <glob pattern="*.rp"/>
  </mime-type>
  <mime-type type="text/vnd.rn-realtext">
    <comment>RealText document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.rt"/>
  </mime-type>
  <mime-type type="audio/x-riff">
    <comment>RIFF audio</comment>
  </mime-type>
  <mime-type type="application/x-riff">
    <comment>RIFF container</comment>
    <!-- need to be lower prio than avi -->
    <magic priority="45">
      <match type="string" value="RIFF" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="audio/x-s3m">
    <comment>Scream Tracker 3 audio</comment>
    <magic>
      <match value="SCRM" type="string" offset="44"/>
    </magic>
    <glob pattern="*.s3m"/>
  </mime-type>
  <mime-type type="audio/x-scpls">
    <comment>MP3 ShoutCast playlist</comment>
    <alias type="application/pls"/>
    <alias type="audio/scpls"/>
    <magic>
      <match type="string" value="[playlist]" offset="0"/>
      <match type="string" value="[Playlist]" offset="0"/>
      <match type="string" value="[PLAYLIST]" offset="0"/>
    </magic>
    <glob pattern="*.pls"/>
  </mime-type>
  <mime-type type="audio/x-stm">
    <comment>Scream Tracker audio</comment>
    <magic>
      <match type="string" value="!Scream!\x1A" offset="20"/>
      <match type="string" value="!SCREAM!\x1A" offset="20"/>
      <match type="string" value="BMOD2STM\x1A" offset="20"/>
    </magic>
    <glob pattern="*.stm"/>
  </mime-type>
  <mime-type type="audio/x-voc">
    <comment>VOC audio</comment>
    <glob pattern="*.voc"/>
  </mime-type>
  <mime-type type="audio/vnd.wave">
    <comment>WAV audio</comment>
    <alias type="audio/wav"/>
    <alias type="audio/x-wav"/>
    <sub-class-of type="application/x-riff"/>
    <magic>
      <match type="string" value="WAVE" offset="8"/>
      <match type="string" value="WAV " offset="8"/>
    </magic>
    <glob pattern="*.wav"/>
  </mime-type>
  <mime-type type="audio/x-xi">
    <comment>FastTracker II instrument</comment>
    <magic>
      <match value="Extended Instrument:" type="string" offset="0"/>
    </magic>
    <glob pattern="*.xi"/>
  </mime-type>
  <mime-type type="audio/x-xm">
    <comment>FastTracker II audio</comment>
    <magic>
      <match value="Extended Module:" type="string" offset="0"/>
    </magic>
    <glob pattern="*.xm"/>
  </mime-type>
  <mime-type type="audio/x-tta">
    <comment>TrueAudio audio</comment>
    <alias type="audio/tta"/>
    <magic>
      <match value="TTA1" type="string" offset="0"/>
    </magic>
    <glob pattern="*.tta"/>
  </mime-type>
  <mime-type type="image/bmp">
    <comment>Windows BMP image</comment>
    <magic>
      <match type="string" mask="0xffff00000000ffff" value="BMxxxx\000\000" offset="0"/>
      <match type="string" value="BM" offset="0">
        <match type="byte" value="12" offset="14"/>
        <match type="byte" value="64" offset="14"/>
        <match type="byte" value="40" offset="14"/>
      </match>
    </magic>
    <glob pattern="*.bmp"/>
    <glob pattern="*.dib"/>
    <alias type="image/x-bmp"/>
    <alias type="image/x-MS-bmp"/>
  </mime-type>
  <mime-type type="image/vnd.wap.wbmp">
    <comment>WBMP image</comment>
    <acronym>WBMP</acronym>
    <expanded-acronym>WAP bitmap</expanded-acronym>
    <glob pattern="*.wbmp"/>
  </mime-type>
  <mime-type type="image/cgm">
    <comment>CGM image</comment>
    <acronym>CGM</acronym>
    <expanded-acronym>Computer Graphics Metafile</expanded-acronym>
    <glob pattern="*.cgm"/>
  </mime-type>
  <mime-type type="image/g3fax">
    <comment>CCITT G3 fax image</comment>
    <acronym>CCITT</acronym>
    <expanded-acronym>Comité Consultatif International Téléphonique et Télégraphique</expanded-acronym>
    <glob pattern="*.g3"/>
    <alias type="image/fax-g3"/>
  </mime-type>
  <mime-type type="image/gif">
    <comment>GIF image</comment>
    <acronym>GIF</acronym>
    <expanded-acronym>Graphics Interchange Format</expanded-acronym>
    <magic>
      <match type="string" value="GIF8" offset="0"/>
    </magic>
    <glob pattern="*.gif"/>
  </mime-type>
  <mime-type type="image/heif">
    <comment>HEIF image</comment>
    <acronym>HEIF</acronym>
    <expanded-acronym>High Efficiency Image File</expanded-acronym>
    <magic priority="40"><!-- less than AVIF due to ftypmif1 -->
      <match type="string" value="ftypmif1" offset="4"/>
      <match type="string" value="ftypmsf1" offset="4"/>
      <match type="string" value="ftypheic" offset="4"/>
      <match type="string" value="ftypheix" offset="4"/>
      <match type="string" value="ftyphevc" offset="4"/>
      <match type="string" value="ftyphevx" offset="4"/>
    </magic>
    <glob pattern="*.heic"/>
    <glob pattern="*.heif"/>
    <glob pattern="*.hif"/>
    <alias type="image/heic"/>
    <alias type="image/heic-sequence"/>
    <alias type="image/heif-sequence"/>
  </mime-type>
  <mime-type type="image/ief">
    <comment>IEF image</comment>
    <glob pattern="*.ief"/>
  </mime-type>
  <mime-type type="image/jpeg">
    <comment>JPEG image</comment>
    <acronym>JPEG</acronym>
    <expanded-acronym>Joint Photographic Experts Group</expanded-acronym>
    <magic>
      <match type="string" value="\377\330\377" offset="0"/>
      <match type="big16" value="0xffd8" offset="0"/>
    </magic>
    <glob pattern="*.jpg"/>
    <glob pattern="*.jpeg"/>
    <glob pattern="*.jpe"/>
    <glob pattern="*.jfif"/>
    <alias type="image/pjpeg"/>
  </mime-type>
  <mime-type type="video/x-mjpeg">
    <comment>MJPEG video stream</comment>
    <acronym>MJPEG</acronym>
    <expanded-acronym>Motion JPEG</expanded-acronym>
    <sub-class-of type="image/jpeg"/>
    <glob pattern="*.mjpeg"/>
    <glob pattern="*.mjpg"/>
  </mime-type>
  <mime-type type="image/x-jp2-codestream">
    <comment>JPEG-2000 codestream</comment>
    <magic>
      <match type="big32" value="0xff4fff51" offset="0"/>
    </magic>
    <glob pattern="*.j2c"/>
    <glob pattern="*.j2k"/>
    <glob pattern="*.jpc"/>
  </mime-type>
  <mime-type type="image/jp2">
    <comment>JPEG-2000 JP2 image</comment>
    <acronym>JP2</acronym>
    <expanded-acronym>JPEG-2000</expanded-acronym>
    <alias type="image/jpeg2000"/>
    <alias type="image/jpeg2000-image"/>
    <alias type="image/x-jpeg2000-image"/>
    <magic>
      <match type="string" mask="0xffffffffffffffffffffffff0000000000000000ffffffff" value="\x00\x00\x00\x0c\x6a\x50\x20\x20\x0d\x0a\x87\x0a        jp2\x20" offset="0"/>
    </magic>
    <glob pattern="*.jp2"/>
    <glob pattern="*.jpg2"/>
  </mime-type>
  <mime-type type="image/jpx">
    <comment>JPEG-2000 JPX image</comment>
    <acronym>JPX</acronym>
    <expanded-acronym>JPEG-2000 eXtended</expanded-acronym>
    <magic>
      <match type="string" mask="0xffffffffffffffffffffffff0000000000000000ffffffff" value="\x00\x00\x00\x0c\x6a\x50\x20\x20\x0d\x0a\x87\x0a        jpx\x20" offset="0"/>
    </magic>
    <glob pattern="*.jpf"/>
    <glob pattern="*.jpx"/>
  </mime-type>
  <mime-type type="image/jpm">
    <comment>JPEG-2000 JPM image</comment>
    <acronym>JPM</acronym>
    <expanded-acronym>JPEG-2000 Mixed</expanded-acronym>
    <magic>
      <match type="string" mask="0xffffffffffffffffffffffff0000000000000000ffffffff" value="\x00\x00\x00\x0c\x6a\x50\x20\x20\x0d\x0a\x87\x0a        jpm\x20" offset="0"/>
    </magic>
    <glob pattern="*.jpm"/>
    <glob pattern="*.jpgm"/>
  </mime-type>
  <mime-type type="video/mj2">
    <comment>JPEG-2000 MJ2 video</comment>
    <acronym>MJ2</acronym>
    <expanded-acronym>Motion JPEG-2000</expanded-acronym>
    <magic>
      <match type="string" mask="0xffffffffffffffffffffffff0000000000000000ffffffff" value="\x00\x00\x00\x0c\x6a\x50\x20\x20\x0d\x0a\x87\x0a        mjp2" offset="0"/>
    </magic>
    <glob pattern="*.mj2"/>
    <glob pattern="*.mjp2"/>
  </mime-type>
  <mime-type type="image/jxl">
    <comment>JPEG XL image</comment>
    <magic>
      <match type="string" offset="0" value="\xFF\x0A"/>
      <match type="string" offset="0" value="\0\0\0\x0CJXL \x0D\x0A\x87\x0A"/>
    </magic>
    <glob pattern="*.jxl"/>
  </mime-type>
  <mime-type type="image/openraster">
    <comment>OpenRaster image</comment>
    <sub-class-of type="application/zip"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="image/openraster" offset="38"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.ora"/>
  </mime-type>
  <mime-type type="image/x-dds">
    <comment>DirectDraw surface</comment>
    <magic>
      <match value="DDS" type="string" offset="0"/>
    </magic>
    <glob pattern="*.dds"/>
  </mime-type>
  <mime-type type="image/x-xcursor">
    <comment>X11 cursor</comment>
    <magic>
      <match type="string" value="Xcur" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="image/x-exr">
    <comment>EXR image</comment>
    <magic>
      <match type="little32" value="20000630" offset="0"/>
    </magic>
    <glob pattern="*.exr"/>
  </mime-type>
  <mime-type type="image/x-pict">
    <comment>Macintosh Quickdraw/PICT drawing</comment>
    <magic>
      <match type="big16" value="0x0011" offset="10">
        <match type="big16" value="0x02FF" offset="12">
          <match type="big16" value="0x0C00" offset="14">
            <match type="big16" value="0xFFFE" offset="16"/>
          </match>
        </match>
      </match>
    </magic>
    <magic>
      <match type="big16" value="0x0011" offset="522">
        <match type="big16" value="0x02FF" offset="524">
          <match type="big16" value="0x0C00" offset="526">
            <match type="big16" value="0xFFFE" offset="528"/>
          </match>
        </match>
      </match>
    </magic>
    <glob pattern="*.pct"/>
    <glob pattern="*.pict"/>
    <glob pattern="*.pict1"/>
    <glob pattern="*.pict2"/>
  </mime-type>
  <mime-type type="application/x-ufraw">
    <comment>UFRaw ID image</comment>
    <acronym>UFRaw</acronym>
    <expanded-acronym>Unidentified Flying Raw</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="image-x-generic"/>
    <glob pattern="*.ufraw"/>
  </mime-type>
  <mime-type type="image/x-dcraw">
    <comment>Digital raw image</comment>
  </mime-type>
  <mime-type type="image/x-adobe-dng">
    <comment>Adobe DNG negative</comment>
    <acronym>DNG</acronym>
    <expanded-acronym>Digital Negative</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.dng"/>
  </mime-type>
  <!-- Canon has 3 formats: CRW, CR2 and CR3 !-->
  <!-- CRW is easy !-->
  <mime-type type="image/x-canon-crw">
    <comment>Canon CRW raw image</comment>
    <acronym>CRW</acronym>
    <expanded-acronym>Canon RaW</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <magic>
      <match value="II\x1a\x00\x00\x00HEAPCCDR" type="string" offset="0"/>
    </magic>
    <glob pattern="*.crw"/>
  </mime-type>
  <!-- CR2 is a TIFF !-->
  <mime-type type="image/x-canon-cr2">
    <comment>Canon CR2 raw image</comment>
    <acronym>CR2</acronym>
    <expanded-acronym>Canon Raw 2</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.cr2"/>
  </mime-type>
  <mime-type type="image/x-canon-cr3">
    <comment>Canon CR3 raw image</comment>
    <acronym>CR3</acronym>
    <expanded-acronym>Canon Raw 3</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <glob pattern="*.cr3"/>
  </mime-type>
  <mime-type type="image/x-fuji-raf">
    <comment>Fuji RAF raw image</comment>
    <acronym>RAF</acronym>
    <expanded-acronym>RAw Format</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <magic>
      <match value="FUJIFILMCCD-RAW " type="string" offset="0"/>
    </magic>
    <glob pattern="*.raf"/>
  </mime-type>
  <mime-type type="image/x-kodak-dcr">
    <comment>Kodak DCR raw image</comment>
    <acronym>DCR</acronym>
    <expanded-acronym>Digital Camera Raw</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.dcr"/>
  </mime-type>
  <mime-type type="image/x-kodak-k25">
    <comment>Kodak K25 raw image</comment>
    <acronym>K25</acronym>
    <expanded-acronym>Kodak DC25</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.k25"/>
  </mime-type>
  <mime-type type="image/x-kodak-kdc">
    <comment>Kodak KDC raw image</comment>
    <acronym>KDC</acronym>
    <expanded-acronym>Kodak Digital Camera</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <magic priority="80">
      <match value="EASTMAN KODAK COMPANY" type="string" offset="242"/>
    </magic>
    <glob pattern="*.kdc"/>
  </mime-type>
  <mime-type type="image/x-minolta-mrw">
    <comment>Minolta MRW raw image</comment>
    <acronym>MRW</acronym>
    <expanded-acronym>Minolta RaW</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <magic>
      <match value="\x00MRM" type="string" offset="0"/>
    </magic>
    <glob pattern="*.mrw" />
  </mime-type>
  <mime-type type="image/x-nikon-nef">
    <comment>Nikon NEF raw image</comment>
    <acronym>NEF</acronym>
    <expanded-acronym>Nikon Electronic Format</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.nef"/>
  </mime-type>
  <mime-type type="image/x-nikon-nrw">
    <comment>Nikon NRW raw image</comment>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.nrw"/>
  </mime-type>
  <mime-type type="image/x-olympus-orf">
    <comment>Olympus ORF raw image</comment>
    <acronym>ORF</acronym>
    <expanded-acronym>Olympus Raw Format</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <magic>
      <!-- an ORF file is basically a TIFF file with a non standard !-->
      <!-- header IIRO which is not nice since it is only composed  !-->
      <!-- of ASCII codes. Fortunately, the TIFF header is followed !-->
      <!-- by the offset of the first TIFF ifd which is always      !-->
      <!-- 0x00000008 (Little endian) for an ORF                    !-->
      <match value="IIRO\x08\x00\x00\x00" type="string" offset="0"/>
    </magic>
    <glob pattern="*.orf"/>
  </mime-type>
  <mime-type type="image/x-panasonic-rw">
    <comment>Panasonic raw image</comment>
    <sub-class-of type="image/x-dcraw"/>
    <magic>
      <!-- Some kind of TIFF file with a non-standard version in prefix !-->
      <match value="IIU\x00\x08\x00\x00\x00" type="string" offset="0"/>
    </magic>
    <glob pattern="*.raw"/>
    <alias type="image/x-panasonic-raw"/>
  </mime-type>
  <mime-type type="image/x-panasonic-rw2">
    <comment>Panasonic raw image</comment>
    <sub-class-of type="image/x-dcraw"/>
    <magic>
      <!-- Some kind of TIFF file with a non-standard version in prefix !-->
      <match value="IIU\x00\x18\x00\x00\x00" type="string" offset="0"/>
    </magic>
    <glob pattern="*.rw2"/>
    <alias type="image/x-panasonic-raw2"/>
  </mime-type>
  <mime-type type="image/x-pentax-pef">
    <comment>Pentax PEF raw image</comment>
    <acronym>PEF</acronym>
    <expanded-acronym>Pentax Electronic Format</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.pef"/>
  </mime-type>
  <mime-type type="image/x-sigma-x3f">
    <comment>Sigma X3F raw image</comment>
    <acronym>X3F</acronym>
    <expanded-acronym>X3 Foveon</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <magic>
      <!-- The header is "FOVb" (Foveon) !-->
      <match value="FOVb" type="string" offset="0">
        <!-- Followed by a 32bit LSB specifying the version number (major.minor) !-->
        <match value="0x00FF00FF" type="little32" offset="4" mask="0xFF00FF00" />
      </match>
    </magic>
    <glob pattern="*.x3f"/>
  </mime-type>
  <mime-type type="image/x-sony-srf">
    <comment>Sony SRF raw image</comment>
    <acronym>SRF</acronym>
    <expanded-acronym>Sony Raw Format</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.srf"/>
  </mime-type>
  <mime-type type="image/x-sony-sr2">
    <comment>Sony SR2 raw image</comment>
    <acronym>SR2</acronym>
    <expanded-acronym>Sony Raw format 2</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.sr2"/>
  </mime-type>
  <mime-type type="image/x-sony-arw">
    <comment>Sony ARW raw image</comment>
    <acronym>ARW</acronym>
    <expanded-acronym>Alpha Raw format</expanded-acronym>
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <glob pattern="*.arw"/>
  </mime-type>
  <mime-type type="image/png">
    <comment>PNG image</comment>
    <acronym>PNG</acronym>
    <expanded-acronym>Portable Network Graphics</expanded-acronym>
    <magic>
      <match type="string" value="\x89PNG\r\n\x1A\n" offset="0"/>
    </magic>
    <glob pattern="*.png"/>
  </mime-type>
  <mime-type type="image/apng">
    <comment>Animated PNG image</comment>
    <acronym>PNG</acronym>
    <expanded-acronym>Portable Network Graphics</expanded-acronym>
    <sub-class-of type="image/png"/>
    <magic priority="60">
      <match type="string" value="\x89PNG\r\n\x1A\n" offset="0">
        <match type="string" value="acTL" offset="37"/>
      </match>
    </magic>
    <glob pattern="*.apng"/>
    <glob pattern="*.png" weight="40"/>
    <alias type="image/vnd.mozilla.apng"/>
  </mime-type>
  <mime-type type="image/rle">
    <comment>RLE bitmap image</comment>
    <acronym>RLE</acronym>
    <expanded-acronym>Run Length Encoded</expanded-acronym>
    <glob pattern="*.rle"/>
  </mime-type>
  <mime-type type="image/svg+xml">
    <comment>SVG image</comment>
    <acronym>SVG</acronym>
    <expanded-acronym>Scalable Vector Graphics</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <magic priority="80">
      <match type="string" value="&lt;!DOCTYPE svg" offset="0:256"/>
    </magic>
    <magic priority="80">
      <match type="string" value="&lt;!-- Created with Inkscape" offset="0"/>
      <match type="string" value="&lt;svg" offset="0"/>
    </magic>
    <magic priority="45">
      <match type="string" value="&lt;svg" offset="1:256"/>
    </magic>
    <glob pattern="*.svg"/>
    <root-XML namespaceURI="http://www.w3.org/2000/svg" localName="svg"/>
  </mime-type>
  <mime-type type="image/svg+xml-compressed">
    <comment>Compressed SVG image</comment>
    <acronym>SVG</acronym>
    <expanded-acronym>Scalable Vector Graphics</expanded-acronym>
    <sub-class-of type="application/gzip"/>
    <glob pattern="*.svgz"/>
    <glob pattern="*.svg.gz"/>
  </mime-type>
  <mime-type type="image/tiff">
    <comment>TIFF image</comment>
    <acronym>TIFF</acronym>
    <expanded-acronym>Tagged Image File Format</expanded-acronym>
    <magic>
      <match type="string" value="MM\x00\x2a" offset="0"/>
      <match type="string" value="II\x2a\x00" offset="0"/>
    </magic>
    <glob pattern="*.tif"/>
    <glob pattern="*.tiff"/>
  </mime-type>
  <mime-type type="image/x-tiff-multipage">
    <comment>Multi-page TIFF image</comment>
    <acronym>TIFF</acronym>
    <expanded-acronym>Tagged Image File Format</expanded-acronym>
    <sub-class-of type="image/tiff"/>
  </mime-type>
  <mime-type type="image/vnd.dwg">
    <comment>AutoCAD image</comment>
    <glob pattern="*.dwg"/>
  </mime-type>
  <mime-type type="image/vnd.dxf">
    <comment>DXF vector image</comment>
    <glob pattern="*.dxf"/>
    <magic>
      <match type="string" value="\nHEADER\n" offset="0:64"/>
      <match type="string" value="\x0d\nHEADER\x0d\n" offset="0:64"/>
    </magic>
  </mime-type>
  <mime-type type="image/vnd.ms-modi">
    <comment>MDI image</comment>
    <acronym>MDI</acronym>
    <expanded-acronym>Microsoft Document Imaging</expanded-acronym>
    <glob pattern="*.mdi"/>
    <magic>
      <match type="string" value="\x45\x50\x2A\x00" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="image/jxr">
    <comment>JPEG XR image</comment>
    <acronym>XR</acronym>
    <expanded-acronym>Extended Range</expanded-acronym>
    <glob pattern="*.jxr"/>
    <glob pattern="*.hdp"/>
    <glob pattern="*.wdp"/>
    <magic>
      <match type="string" value="II\xBC\x01" offset="0"/>
    </magic>
    <alias type="image/vnd.ms-photo"/>
  </mime-type>
  <mime-type type="image/webp">
    <comment>WebP image</comment>
    <magic>
      <match type="string" value="RIFF" offset="0">
        <match type="string" value="WEBP" offset="8"/>
      </match>
    </magic>
    <glob pattern="*.webp"/>
  </mime-type>
  <mime-type type="image/x-3ds">
    <comment>3D Studio image</comment>
    <glob pattern="*.3ds"/>
    <magic priority="30">
      <match offset="0" type="big16" value="0x4d4d"/>
    </magic>
  </mime-type>
  <mime-type type="image/x-applix-graphics">
    <comment>Applix Graphics image</comment>
    <magic>
      <match type="string" value="*BEGIN" offset="0">
        <match type="string" value="GRAPHICS" offset="7"/>
      </match>
    </magic>
    <glob pattern="*.ag"/>
  </mime-type>
  <mime-type type="image/x-bzeps">
    <comment>EPS image (bzip2-compressed)</comment>
    <sub-class-of type="application/x-bzip2"/>
    <glob pattern="*.eps.bz2"/>
    <glob pattern="*.epsi.bz2"/>
    <glob pattern="*.epsf.bz2"/>
  </mime-type>
  <mime-type type="image/x-cmu-raster">
    <comment>CMU raster image</comment>
    <glob pattern="*.ras"/>
  </mime-type>
  <mime-type type="image/x-compressed-xcf">
    <comment>Compressed GIMP image</comment>
    <glob pattern="*.xcf.gz"/>
    <glob pattern="*.xcf.bz2"/>
  </mime-type>
  <mime-type type="application/dicom">
    <comment>DICOM image</comment>
    <acronym>DICOM</acronym>
    <expanded-acronym>Digital Imaging and Communications in Medicine</expanded-acronym>
    <generic-icon name="image-x-generic"/>
    <glob pattern="dicomdir"/>
    <glob pattern="*.dcm"/>
    <magic>
      <match type="string" value="DICM" offset="128"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-docbook+xml">
    <comment>DocBook document</comment>
    <sub-class-of type="application/xml"/>
    <generic-icon name="x-office-document"/>
    <magic priority="90">
      <match value="&lt;?xml" type="string" offset="0">
        <match value="-//OASIS//DTD DocBook XML" type="string" offset="0:100"/>
        <match value="-//KDE//DTD DocBook XML" type="string" offset="0:100"/>
      </match>
    </magic>
    <glob pattern="*.dbk"/>
    <glob pattern="*.docbook"/>
    <alias type="application/docbook+xml"/>
    <alias type="application/vnd.oasis.docbook+xml"/>
  </mime-type>
  <mime-type type="image/x-dib">
    <comment>DIB image</comment>
    <acronym>DIB</acronym>
    <expanded-acronym>Device Independent Bitmap</expanded-acronym>
    <magic>
      <match type="string" value="\x28\00\00\00" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="image/vnd.djvu">
    <comment>DjVu image</comment>
    <alias type="image/x-djvu"/>
    <alias type="image/x.djvu"/>
    <magic priority="80">
      <match type="string" offset="0" value="AT&amp;TFORM">
        <match type="string" offset="12" value="DJVU"/>
      </match>
      <match type="string" offset="0" value="FORM">
        <match type="string" offset="8" value="DJVU"/>
      </match>
    </magic>
    <glob pattern="*.djvu"/>
    <glob pattern="*.djv"/>
  </mime-type>
  <mime-type type="image/vnd.djvu+multipage">
    <comment>DjVu document</comment>
    <generic-icon name="x-office-document"/>
    <magic priority="80">
      <match type="string" offset="0" value="AT&amp;TFORM">
        <match type="string" offset="12" value="DJVM"/>
      </match>
      <match type="string" offset="0" value="FORM">
        <match type="string" offset="8" value="DJVM"/>
      </match>
    </magic>
    <sub-class-of type="image/vnd.djvu"/>
    <glob pattern="*.djvu"/>
    <glob pattern="*.djv"/>
  </mime-type>
  <mime-type type="image/dpx">
    <comment>DPX image</comment>
    <acronym>DPX</acronym>
    <expanded-acronym>Digital Moving Picture Exchange</expanded-acronym>
    <magic>
      <match type="big32" value="0x53445058" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="image/x-eps">
    <comment>EPS image</comment>
    <acronym>EPS</acronym>
    <expanded-acronym>Encapsulated PostScript</expanded-acronym>
    <sub-class-of type="application/postscript"/>
    <magic priority="90">
      <match type="string" value="%!" offset="0">
        <match type="string" value="EPS" offset="15"/>
      </match>
      <match type="string" value="\004%!" offset="0">
        <match type="string" value="EPS" offset="16"/>
      </match>
      <match type="big32" value="0xC5D0D3C6" offset="0"/>
    </magic>
    <glob pattern="*.eps"/>
    <glob pattern="*.epsi"/>
    <glob pattern="*.epsf"/>
  </mime-type>
  <mime-type type="application/fits">
    <comment>FITS document</comment>
    <acronym>FITS</acronym>
    <expanded-acronym>Flexible Image Transport System</expanded-acronym>
    <magic>
      <match type="string" value="SIMPLE  =" offset="0"/>
    </magic>
    <glob pattern="*.fits"/>
    <glob pattern="*.fit"/>
    <glob pattern="*.fts"/>
    <alias type="image/x-fits"/>
    <alias type="image/fits"/>
  </mime-type>
  <mime-type type="image/x-fpx">
    <comment>FPX image</comment>
    <acronym>FPX</acronym>
    <expanded-acronym>FlashPiX</expanded-acronym>
    <magic>
      <match type="big32" value="0x46506978" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="image/x-gzeps">
    <comment>EPS image (gzip-compressed)</comment>
    <sub-class-of type="application/gzip"/>
    <glob pattern="*.eps.gz"/>
    <glob pattern="*.epsi.gz"/>
    <glob pattern="*.epsf.gz"/>
  </mime-type>
  <mime-type type="image/vnd.microsoft.icon">
    <comment>Windows icon</comment>
    <magic>
      <match type="string" value="\0\0\1\0" offset="0">
        <match type="string" value="\0" offset="5"/>
      </match>
    </magic>
    <glob pattern="*.ico"/>
    <alias type="application/ico"/>
    <alias type="image/ico"/>
    <alias type="image/icon"/>
    <alias type="image/x-ico"/>
    <alias type="image/x-icon"/>
    <alias type="text/ico"/>
  </mime-type>
  <mime-type type="image/x-icns">
    <comment>MacOS X icon</comment>
    <glob pattern="*.icns"/>
    <magic>
      <match type="string" value="icns" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="image/x-ilbm">
    <comment>ILBM image</comment>
    <acronym>ILBM</acronym>
    <expanded-acronym>InterLeaved BitMap</expanded-acronym>
    <sub-class-of type="application/x-iff"/>
    <magic>
      <match value="ILBM" type="string" offset="8"/>
      <match value="PBM " type="string" offset="8"/>
    </magic>
    <glob pattern="*.iff"/>
    <glob pattern="*.ilbm"/>
    <glob pattern="*.lbm"/>
    <alias type="image/x-iff"/>
  </mime-type>
  <mime-type type="image/x-jng">
    <comment>JNG image</comment>
    <acronym>JNG</acronym>
    <expanded-acronym>JPEG Network Graphics</expanded-acronym>
    <glob pattern="*.jng"/>
  </mime-type>
  <mime-type type="image/x-lwo">
    <comment>LightWave object</comment>
    <glob pattern="*.lwo"/>
    <glob pattern="*.lwob"/>
  </mime-type>
  <mime-type type="image/x-lws">
    <comment>LightWave scene</comment>
    <glob pattern="*.lws"/>
  </mime-type>
  <mime-type type="image/x-macpaint">
    <comment>MacPaint Bitmap image</comment>
    <glob pattern="*.pntg"/>
  </mime-type>
  <mime-type type="image/x-msod">
    <comment>Office drawing</comment>
    <glob pattern="*.msod"/>
  </mime-type>
  <mime-type type="image/x-niff">
    <comment>NIFF image</comment>
    <acronym>NIFF</acronym>
    <expanded-acronym>Navy Image File Format</expanded-acronym>
    <magic priority="80">
      <match type="string" value="IIN1" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="image/vnd.zbrush.pcx">
    <comment>PCX image</comment>
    <acronym>PCX</acronym>
    <expanded-acronym>PiCture eXchange</expanded-acronym>
    <magic>
      <match type="byte" value="10" offset="0">
        <match type="byte" value="0" offset="1"/>
        <match type="byte" value="2" offset="1"/>
        <match type="byte" value="3" offset="1"/>
        <match type="byte" value="5" offset="1"/>
      </match>
    </magic>
    <glob pattern="*.pcx"/>
    <alias type="image/x-pcx"/>
  </mime-type>
  <mime-type type="image/x-photo-cd">
    <comment>PCD image</comment>
    <acronym>PCD</acronym>
    <expanded-acronym>PhotoCD</expanded-acronym>
    <generic-icon name="media-optical"/>
    <glob pattern="*.pcd"/>
  </mime-type>
  <mime-type type="image/x-portable-anymap">
    <comment>PNM image</comment>
    <acronym>PNM</acronym>
    <expanded-acronym>Portable Anymap</expanded-acronym>
    <glob pattern="*.pnm"/>
  </mime-type>
  <mime-type type="image/x-portable-bitmap">
    <comment>PBM image</comment>
    <acronym>PBM</acronym>
    <expanded-acronym>Portable BitMap</expanded-acronym>
    <sub-class-of type="image/x-portable-anymap"/>
    <magic>
      <match type="string" value="P1" offset="0">
        <match type="byte" value="0x0a" offset="2"/>
        <match type="byte" value="0x20" offset="2"/>
        <match type="byte" value="0x09" offset="2"/>
        <match type="byte" value="0x0d" offset="2"/>
      </match>
      <match type="string" value="P4" offset="0">
        <match type="byte" value="0x0a" offset="2"/>
        <match type="byte" value="0x20" offset="2"/>
        <match type="byte" value="0x09" offset="2"/>
        <match type="byte" value="0x0d" offset="2"/>
      </match>
    </magic>
    <glob pattern="*.pbm"/>
  </mime-type>
  <mime-type type="image/x-portable-graymap">
    <comment>PGM image</comment>
    <acronym>PGM</acronym>
    <expanded-acronym>Portable GrayMap</expanded-acronym>
    <sub-class-of type="image/x-portable-anymap"/>
    <magic>
      <match type="string" value="P2" offset="0">
        <match type="byte" value="0x0a" offset="2"/>
        <match type="byte" value="0x20" offset="2"/>
        <match type="byte" value="0x09" offset="2"/>
        <match type="byte" value="0x0d" offset="2"/>
      </match>
      <match type="string" value="P5" offset="0">
        <match type="byte" value="0x0a" offset="2"/>
        <match type="byte" value="0x20" offset="2"/>
        <match type="byte" value="0x09" offset="2"/>
        <match type="byte" value="0x0d" offset="2"/>
      </match>
    </magic>
    <glob pattern="*.pgm"/>
  </mime-type>
  <mime-type type="image/x-portable-pixmap">
    <comment>PPM image</comment>
    <acronym>PPM</acronym>
    <expanded-acronym>Portable PixMap</expanded-acronym>
    <sub-class-of type="image/x-portable-anymap"/>
    <magic>
      <match type="string" value="P3" offset="0">
        <match type="byte" value="0x0a" offset="2"/>
        <match type="byte" value="0x20" offset="2"/>
        <match type="byte" value="0x09" offset="2"/>
        <match type="byte" value="0x0d" offset="2"/>
      </match>
      <match type="string" value="P6" offset="0">
        <match type="byte" value="0x0a" offset="2"/>
        <match type="byte" value="0x20" offset="2"/>
        <match type="byte" value="0x09" offset="2"/>
        <match type="byte" value="0x0d" offset="2"/>
      </match>
    </magic>
    <glob pattern="*.ppm"/>
  </mime-type>
  <mime-type type="image/vnd.adobe.photoshop">
    <comment>Photoshop image</comment>
    <magic>
      <match type="string" mask="0xffffffff0000ffffffff" value="8BPS  \000\000\000\000" offset="0"/>
    </magic>
    <glob pattern="*.psd"/>
    <alias type="image/psd"/>
    <alias type="image/x-psd"/>
    <alias type="image/photoshop"/>
    <alias type="image/x-photoshop"/>
    <alias type="application/photoshop"/>
    <alias type="application/x-photoshop"/>
  </mime-type>
  <mime-type type="image/x-rgb">
    <comment>RGB image</comment>
    <glob pattern="*.rgb"/>
  </mime-type>
  <mime-type type="image/x-sgi">
    <comment>SGI image</comment>
    <glob pattern="*.sgi"/>
  </mime-type>
  <mime-type type="image/x-sun-raster">
    <comment>Sun raster image</comment>
    <magic>
      <match type="big32" value="0x59a66a95" offset="0"/>
    </magic>
    <glob pattern="*.sun"/>
  </mime-type>
  <mime-type type="image/x-tga">
    <comment>TGA image</comment>
    <acronym>TGA</acronym>
    <expanded-acronym>Truevision Graphics Adapter</expanded-acronym>
    <magic priority="10">
      <match type="string" value="\1\1" offset="1"/>
      <match type="string" value="\1\11" offset="1"/>
      <match type="string" value="\0\3" offset="1"/>
      <match type="string" value="\0\xa" offset="1"/>
      <match type="string" value="\0\xb" offset="1"/>
    </magic>
    <magic>
      <match type="string" value="\0\2" offset="1">
        <match type="byte" value="0x08" offset="16"/>
        <match type="byte" value="0x10" offset="16"/>
        <match type="byte" value="0x18" offset="16"/>
        <match type="byte" value="0x20" offset="16"/>
      </match>
    </magic>
    <glob pattern="*.tga"/>
    <glob pattern="*.icb"/>
    <glob pattern="*.tpic"/>
    <glob pattern="*.vda"/>
    <glob pattern="*.vst"/>
    <alias type="application/tga"/>
    <alias type="application/x-targa"/>
    <alias type="application/x-tga"/>
    <alias type="image/targa"/>
    <alias type="image/tga"/>
    <alias type="image/x-icb"/>
    <alias type="image/x-targa"/>
  </mime-type>
  <mime-type type="image/x-win-bitmap">
    <comment>Windows cursor</comment>
    <magic>
      <match type="string" value="\0\0\2\0" offset="0">
        <match type="string" value="\0" offset="5"/>
      </match>
    </magic>
    <glob pattern="*.cur"/>
  </mime-type>
  <mime-type type="application/x-navi-animation">
    <comment>Windows animated cursor</comment>
    <magic>
      <match type="string" value="RIFF" offset="0">
        <match type="string" value="ACON" offset="8"/>
      </match>
    </magic>
    <glob pattern="*.ani"/>
  </mime-type>
  <mime-type type="image/emf">
    <comment>EMF image</comment>
    <acronym>EMF</acronym>
    <expanded-acronym>Enhanced MetaFile</expanded-acronym>
    <glob pattern="*.emf"/>
    <alias type="image/x-emf"/>
    <alias type="application/x-emf"/>
    <alias type="application/emf"/>
    <magic>
      <match type="little32" offset="0" value="0x00000001">
        <match type="little32" offset="40" value="0x464D4520">
          <match type="little32" offset="44" value="0x00010000">
            <match type="little16" offset="58" value="0x0000"/>
          </match>
        </match>
      </match>
    </magic>
  </mime-type>
  <mime-type type="image/wmf">
    <comment>WMF image</comment>
    <acronym>WMF</acronym>
    <expanded-acronym>Windows Metafile</expanded-acronym>
    <magic>
      <!-- Placeable Metafile Header !-->
      <match type="little32" offset="0" value="0x9AC6CDD7">
        <!-- Followed by the standard Windows Metafile Header !-->
        <match type="little16" offset="22" value="0x0001">
          <match type="little16" offset="24" value="0x0009"/>
        </match>
      </match>
      <!-- or just the standard Windows Metafile Header !-->
      <match type="little16" offset="0" value="0x0001">
        <match type="little16" offset="2" value="0x0009"/>
      </match>
    </magic>
    <glob pattern="*.wmf"/>
    <alias type="image/x-wmf"/>
    <alias type="image/x-win-metafile"/>
    <alias type="application/x-wmf"/>
    <alias type="application/wmf"/>
    <alias type="application/x-msmetafile"/>
  </mime-type>
  <mime-type type="image/x-xbitmap">
    <comment>XBM image</comment>
    <acronym>XBM</acronym>
    <expanded-acronym>X BitMap</expanded-acronym>
    <glob pattern="*.xbm"/>
  </mime-type>
  <mime-type type="image/x-xcf">
    <comment>GIMP image</comment>
    <glob pattern="*.xcf"/>
    <magic>
      <match type="string" value="gimp xcf file" offset="0"/>
      <match type="string" value="gimp xcf v" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="image/x-gimp-gbr">
    <comment>GIMP brush</comment>
    <glob pattern="*.gbr"/>
    <magic>
      <match type="string" value="GIMP" offset="20"/>
    </magic>
  </mime-type>
  <mime-type type="image/x-gimp-gih">
    <comment>GIMP brush pipe</comment>
    <glob pattern="*.gih"/>
  </mime-type>
  <mime-type type="image/x-gimp-pat">
    <comment>GIMP pattern</comment>
    <glob pattern="*.pat"/>
    <magic>
      <match type="string" value="GPAT" offset="20"/>
    </magic>
  </mime-type>
  <mime-type type="image/x-xfig">
    <comment>XFig image</comment>
    <glob pattern="*.fig"/>
    <magic>
      <match type="string" value="#FIG" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="image/x-xpixmap">
    <comment>XPM image</comment>
    <acronym>XPM</acronym>
    <expanded-acronym>X PixMap</expanded-acronym>
    <magic>
      <match type="string" value="/* XPM */" offset="0"/>
      <match type="string" value="! XPM2\n" offset="0"/>
    </magic>
    <glob pattern="*.xpm"/>
    <alias type="image/x-xpm"/>
  </mime-type>
  <mime-type type="image/x-xwindowdump">
    <comment>X window image</comment>
    <glob pattern="*.xwd"/>
  </mime-type>
  <mime-type type="inode/blockdevice">
    <comment>Block device</comment>
  </mime-type>
  <mime-type type="inode/chardevice">
    <comment>Character device</comment>
  </mime-type>
  <mime-type type="inode/directory">
    <comment>Folder</comment>
    <generic-icon name="folder"/>
    <alias type="x-directory/normal"/>
  </mime-type>
  <mime-type type="inode/fifo">
    <comment>Pipe</comment>
  </mime-type>
  <mime-type type="inode/mount-point">
    <comment>Mount point</comment>
    <sub-class-of type="inode/directory"/>
  </mime-type>
  <mime-type type="inode/socket">
    <comment>Socket</comment>
  </mime-type>
  <mime-type type="inode/symlink">
    <comment>Symbolic link</comment>
  </mime-type>
  <mime-type type="message/delivery-status">
    <comment>Mail delivery report</comment>
    <generic-icon name="text-x-generic"/>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="message/disposition-notification">
    <comment>Mail disposition report</comment>
    <generic-icon name="text-x-generic"/>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="message/external-body">
    <comment>Reference to remote file</comment>
    <generic-icon name="text-x-generic"/>
  </mime-type>
  <mime-type type="message/news">
    <comment>Usenet news message</comment>
    <generic-icon name="text-x-generic"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="Article" offset="0"/>
      <match type="string" value="Path:" offset="0"/>
      <match type="string" value="Xref:" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="message/partial">
    <comment>Partial email message</comment>
    <generic-icon name="text-x-generic"/>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="message/rfc822">
    <comment>Email message</comment>
    <generic-icon name="text-x-generic"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="#! rnews" offset="0"/>
      <match type="string" value="Content-Type:" offset="0"/>
      <match type="string" value="Forward to" offset="0"/>
      <match type="string" value="From:" offset="0"/>
      <match type="string" value="N#! rnews" offset="0"/>
      <match type="string" value="Pipe to" offset="0"/>
      <match type="string" value="Received:" offset="0"/>
      <match type="string" value="Relay-Version:" offset="0"/>
      <match type="string" value="Return-Path:" offset="0"/>
      <match type="string" value="Return-path:" offset="0"/>
      <match type="string" value="Subject: " offset="0"/>
      <match type="string" value="To:" offset="0"/>
    </magic>
    <glob pattern="*.eml"/>
  </mime-type>
  <mime-type type="message/x-gnu-rmail">
    <comment>GNU mail message</comment>
    <generic-icon name="text-x-generic"/>
    <glob pattern="RMAIL"/>
  </mime-type>
  <mime-type type="model/iges">
    <comment>IGES document</comment>
    <acronym>IGES</acronym>
    <expanded-acronym>Initial Graphics Exchange Specification</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="S      1\x0a" offset="72"/>
      <match type="string" value="S0000001\x0a" offset="72"/>
    </magic>
    <glob pattern="*.igs"/>
    <glob pattern="*.iges"/>
  </mime-type>
  <mime-type type="model/gltf-binary">
    <comment>glTF model</comment>
    <acronym>glTF</acronym>
    <expanded-acronym>GL Transmission Format</expanded-acronym>
    <generic-icon name="image-x-generic"/>
    <magic>
      <match type="string" value="glTF" offset="0"/>
    </magic>
    <glob pattern="*.glb"/>
  </mime-type>
  <mime-type type="model/gltf+json">
    <comment>glTF model</comment>
    <acronym>glTF</acronym>
    <expanded-acronym>GL Transmission Format</expanded-acronym>
    <generic-icon name="image-x-generic"/>
    <sub-class-of type="application/json"/>
    <glob pattern="*.gltf"/>
  </mime-type>
  <mime-type type="model/vrml">
    <comment>VRML document</comment>
    <acronym>VRML</acronym>
    <expanded-acronym>Virtual Reality Modeling Language</expanded-acronym>
    <generic-icon name="x-office-document"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="#VRML " offset="0"/>
    </magic>
    <glob pattern="*.vrm"/>
    <glob pattern="*.vrml"/>
    <glob pattern="*.wrl"/>
  </mime-type>
  <mime-type type="model/obj">
    <comment>OBJ 3D model</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="image-x-generic"/>
    <magic>
      <match type="string" value=" OBJ File: '" offset="0:64"/>
      <match type="string" value="mtllib " offset="0:256"/>
    </magic>
    <glob pattern="*.obj"/>
  </mime-type>
  <mime-type type="model/mtl">
    <comment>OBJ 3D model material library</comment>
    <generic-icon name="image-x-generic"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="# Blender MTL File: '" offset="0"/>
      <match type="string" value="newmtl " offset="0:256"/>
    </magic>
    <glob pattern="*.mtl"/>
  </mime-type>
  <mime-type type="multipart/alternative">
    <comment>Message in several formats</comment>
  </mime-type>
  <mime-type type="multipart/appledouble">
    <comment>Macintosh AppleDouble-encoded file</comment>
  </mime-type>
  <mime-type type="multipart/digest">
    <comment>Message digest</comment>
  </mime-type>
  <mime-type type="multipart/encrypted">
    <comment>Encrypted message</comment>
  </mime-type>
  <mime-type type="multipart/mixed">
    <comment>Compound documents</comment>
  </mime-type>
  <mime-type type="multipart/related">
    <comment>Compound document</comment>
  </mime-type>
  <mime-type type="multipart/report">
    <comment>Mail system report</comment>
  </mime-type>
  <mime-type type="multipart/signed">
    <comment>Signed message</comment>
  </mime-type>
  <mime-type type="multipart/x-mixed-replace">
    <comment>Stream of data (server push)</comment>
  </mime-type>
  <mime-type type="text/calendar">
    <comment>VCS/ICS calendar</comment>
    <acronym>VCS/ICS</acronym>
    <expanded-acronym>vCalendar/iCalendar</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <alias type="text/x-vcalendar"/>
    <alias type="application/ics"/>
    <magic>
      <match type="string" value="BEGIN:VCALENDAR" offset="0"/>
      <match type="string" value="begin:vcalendar" offset="0"/>
    </magic>
    <glob pattern="*.vcs"/>
    <glob pattern="*.ics"/>
  </mime-type>
  <mime-type type="text/css">
    <comment>CSS stylesheet</comment>
    <acronym>CSS</acronym>
    <expanded-acronym>Cascading Style Sheets</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.css"/>
  </mime-type>
  <mime-type type="text/vcard">
    <comment>Electronic business card</comment>
    <alias type="text/directory"/>
    <alias type="text/x-vcard"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="BEGIN:VCARD" offset="0"/>
      <match type="string" value="begin:vcard" offset="0"/>
    </magic>
    <glob pattern="*.vcard"/>
    <glob pattern="*.vcf"/>
    <glob pattern="*.vct"/>
    <glob pattern="*.gcrd"/>
  </mime-type>
  <mime-type type="text/turtle">
    <comment>Turtle document</comment>
    <glob pattern="*.ttl"/>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="text/x-txt2tags">
    <comment>txt2tags document</comment>
    <sub-class-of type="text/plain"/>
    <magic priority="60">
      <match type="string" value="%!postproc" offset="0"/>
      <match type="string" value="%!encoding" offset="0"/>
    </magic>
    <glob pattern="*.t2t"/>
  </mime-type>
  <mime-type type="text/x-verilog">
    <comment>Verilog source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.v"/>
  </mime-type>
  <mime-type type="text/x-svhdr">
    <comment>SystemVerilog header</comment>
    <sub-class-of type="text/x-verilog"/>
    <glob pattern="*.svh"/>
  </mime-type>
  <mime-type type="text/x-svsrc">
    <comment>SystemVerilog source code</comment>
    <sub-class-of type="text/x-verilog"/>
    <glob pattern="*.sv"/>
  </mime-type>
  <mime-type type="text/x-vhdl">
    <comment>VHDL source code</comment>
    <acronym>VHDL</acronym>
    <expanded-acronym>Very-High-Speed Integrated Circuit Hardware Description Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.vhd"/>
    <glob pattern="*.vhdl"/>
  </mime-type>
  <mime-type type="text/enriched">
    <comment>Enriched text document</comment>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="text/htmlh">
    <comment>Help page</comment>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="text/plain">
    <comment>Plain text document</comment>
    <magic>
      <match type="string" value="This is TeX," offset="0"/>
      <match type="string" value="This is METAFONT," offset="0"/>
    </magic>
    <glob pattern="*.txt"/>
    <glob pattern="*.asc"/>
    <glob pattern="*,v"/>
  </mime-type>
  <mime-type type="application/rdf+xml">
    <comment>RDF file</comment>
    <acronym>RDF</acronym>
    <expanded-acronym>Resource Description Framework</expanded-acronym>
    <alias type="text/rdf"/>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.rdf"/>
    <glob pattern="*.rdfs"/>
    <glob pattern="*.owl"/>
    <root-XML namespaceURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#" localName="RDF"/>
  </mime-type>
  <mime-type type="text/x-rst">
    <comment>ReStructuredText document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.rst"/>
  </mime-type>
  <mime-type type="application/owl+xml">
    <comment>OWL XML file</comment>
    <acronym>OWL</acronym>
    <expanded-acronym>Web Ontology Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.owx"/>
    <magic>
      <match type="string" value="&lt;Ontology" offset="0:256"/>
    </magic>
    <root-XML namespaceURI="http://www.w3.org/2002/07/owl#" localName="Ontology"/>
  </mime-type>
  <mime-type type="text/rfc822-headers">
    <comment>Email headers</comment>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="text/richtext">
    <comment>Rich text document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.rtx"/>
  </mime-type>
  <mime-type type="application/rss+xml">
    <comment>RSS summary</comment>
    <acronym>RSS</acronym>
    <expanded-acronym>RDF Site Summary</expanded-acronym>
    <alias type="text/rss"/>
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-html"/>
    <glob pattern="*.rss"/>
    <magic priority="70">
      <match type="string" value="&lt;rss " offset="0:256"/>
      <match type="string" value="&lt;RSS " offset="0:256"/>
    </magic>
  </mime-type>
  <mime-type type="application/atom+xml">
    <comment>Atom syndication feed</comment>
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-html"/>
    <glob pattern="*.atom"/>
    <magic priority="70">
      <match type="string" value="&lt;feed " offset="0:256"/>
    </magic>
    <root-XML namespaceURI="http://www.w3.org/2005/Atom" localName="feed"/>
  </mime-type>
  <mime-type type="text/x-opml+xml">
    <comment>OPML syndication feed</comment>
    <acronym>OPML</acronym>
    <expanded-acronym>Outline Processor Markup Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <alias type="text/x-opml"/>
    <generic-icon name="text-html"/>
    <glob pattern="*.opml"/>
    <magic priority="70">
      <match type="string" value="&lt;opml " offset="0:256"/>
    </magic>
  </mime-type>
  <mime-type type="text/sgml">
    <comment>SGML document</comment>
    <acronym>SGML</acronym>
    <expanded-acronym>Standard Generalized Markup Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.sgml"/>
    <glob pattern="*.sgm"/>
  </mime-type>
  <mime-type type="text/spreadsheet">
    <comment>Spreadsheet interchange document</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="ID;" offset="0"/>
    </magic>
    <glob pattern="*.sylk"/>
    <glob pattern="*.slk"/>
  </mime-type>
  <mime-type type="text/tab-separated-values">
    <comment>TSV document</comment>
    <acronym>TSV</acronym>
    <expanded-acronym>Tab Separated Values</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.tsv"/>
  </mime-type>
  <mime-type type="text/vnd.graphviz">
    <comment>Graphviz DOT graph</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="digraph " offset="0"/>
      <match type="string" value="strict digraph " offset="0"/>
      <match type="string" value="graph " offset="0"/>
      <match type="string" value="strict graph " offset="0"/>
    </magic>
    <glob pattern="*.gv"/>
    <glob pattern="*.dot"/>
  </mime-type>
  <mime-type type="text/vnd.sun.j2me.app-descriptor">
    <comment>JAD document</comment>
    <acronym>JAD</acronym>
    <expanded-acronym>Java Application Descriptor</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="MIDlet-" offset="0"/>
    </magic>
    <glob pattern="*.jad"/>
  </mime-type>
  <mime-type type="text/vnd.wap.wml">
    <comment>WML document</comment>
    <acronym>WML</acronym>
    <expanded-acronym>Wireless Markup Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.wml"/>
  </mime-type>
  <mime-type type="text/vnd.wap.wmlscript">
    <comment>WMLScript program</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.wmls"/>
  </mime-type>
  <mime-type type="text/vnd.senx.warpscript">
    <comment>WarpScript source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.mc2"/>
  </mime-type>
  <mime-type type="application/x-ace">
    <comment>ACE archive</comment>
    <generic-icon name="package-x-generic"/>
    <magic priority="60">
      <match type="string" value="**ACE**" offset="7"/>
    </magic>
    <glob pattern="*.ace"/>
  </mime-type>
  <mime-type type="text/x-adasrc">
    <comment>Ada source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.adb"/>
    <glob pattern="*.ads"/>
  </mime-type>
  <mime-type type="text/x-authors">
    <comment>Author list</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="AUTHORS"/>
  </mime-type>
  <mime-type type="text/x-bibtex">
    <comment>BibTeX document</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="% This file was created with JabRef" offset="0"/>
    </magic>
    <glob pattern="*.bib"/>
  </mime-type>
  <mime-type type="text/x-blueprint">
    <comment>Blueprint source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.blp"/>
  </mime-type>
  <mime-type type="text/x-c++hdr">
    <comment>C++ header</comment>
    <sub-class-of type="text/x-chdr"/>
    <glob pattern="*.hh"/>
    <glob pattern="*.hp"/>
    <glob pattern="*.hpp"/>
    <glob pattern="*.h++"/>
    <glob pattern="*.hxx"/>
  </mime-type>
  <mime-type type="text/x-c++src">
    <comment>C++ source code</comment>
    <sub-class-of type="text/x-csrc"/>
    <glob pattern="*.cpp"/>
    <glob pattern="*.cxx"/>
    <glob pattern="*.cc"/>
    <glob pattern="*.C" case-sensitive="true"/>
    <glob pattern="*.c++"/>
  </mime-type>
  <mime-type type="text/x-changelog">
    <comment>ChangeLog document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="ChangeLog"/>
  </mime-type>
  <mime-type type="text/x-chdr">
    <comment>C header</comment>
    <sub-class-of type="text/x-csrc"/>
    <glob pattern="*.h"/>
  </mime-type>
  <mime-type type="text/x-cmake">
    <comment>CMake source code</comment>
    <glob pattern="*.cmake"/>
    <glob pattern="CMakeLists.txt"/>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="text/x-common-lisp">
    <comment>Common Lisp source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.asd"/>
    <glob pattern="*.fasl"/>
    <glob pattern="*.lisp"/>
    <glob pattern="*.ros"/>
  </mime-type>
  <mime-type type="text/csv">
    <comment>CSV document</comment>
    <acronym>CSV</acronym>
    <expanded-acronym>Comma Separated Values</expanded-acronym>
    <alias type="text/x-comma-separated-values"/>
    <alias type="text/x-csv"/>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.csv"/>
  </mime-type>
  <mime-type type="text/csv-schema">
    <comment>CSV Schema document</comment>
    <acronym>CSV</acronym>
    <expanded-acronym>Comma Separated Values</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.csvs"/>
  </mime-type>
  <mime-type type="text/x-copying">
    <comment>License terms</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="COPYING"/>
  </mime-type>
  <mime-type type="text/x-credits">
    <comment>Author credits</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="CREDITS"/>
  </mime-type>
  <mime-type type="text/x-csrc">
    <comment>C source code</comment>
    <sub-class-of type="text/plain"/>
    <alias type="text/x-c"/>
    <glob pattern="*.c" case-sensitive="true"/>
    <magic priority="30">
      <match type="string" value="/*" offset="0"/>
      <match type="string" value="//" offset="0"/>
      <match type="string" value="#include" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="text/x-csharp">
    <comment>C# source code</comment>
    <sub-class-of type="text/x-csrc"/>
    <glob pattern="*.cs"/>
  </mime-type>
  <mime-type type="text/x-vala">
    <comment>Vala source code</comment>
    <sub-class-of type="text/x-csrc"/>
    <glob pattern="*.vala"/>
    <glob pattern="*.vapi"/>
  </mime-type>
  <mime-type type="text/x-ooc">
    <comment>OOC source code</comment>
    <acronym>OOC</acronym>
    <expanded-acronym>Out Of Class</expanded-acronym>
    <sub-class-of type="text/x-csrc"/>
    <glob pattern="*.ooc"/>
  </mime-type>
  <mime-type type="text/x-dcl">
    <comment>DCL script</comment>
    <acronym>DCL</acronym>
    <expanded-acronym>Data Conversion Laboratory</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.dcl"/>
  </mime-type>
  <mime-type type="text/x-dsl">
    <comment>DSSSL document</comment>
    <acronym>DSSSL</acronym>
    <expanded-acronym>Document Style Semantics and Specification Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.dsl"/>
  </mime-type>
  <mime-type type="text/x-dsrc">
    <comment>D source code</comment>
    <sub-class-of type="text/x-csrc"/>
    <glob pattern="*.d"/>
    <glob pattern="*.di"/>
  </mime-type>
  <mime-type type="application/xml-dtd">
    <comment>DTD file</comment>
    <acronym>DTD</acronym>
    <expanded-acronym>Document Type Definition</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.dtd"/>
    <alias type="text/x-dtd"/>
  </mime-type>
  <mime-type type="text/x-eiffel">
    <comment>Eiffel source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.e"/>
    <glob pattern="*.eif"/>
  </mime-type>
  <mime-type type="text/x-emacs-lisp">
    <comment>Emacs Lisp source code</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="\012(" offset="0"/>
      <match type="string" value=";ELC\023\000\000\000" offset="0"/>
    </magic>
    <glob pattern="*.el"/>
  </mime-type>
    <mime-type type="text/x-elixir">
    <comment>Elixir source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.ex"/>
    <glob pattern="*.exs"/>
  </mime-type>
  <mime-type type="text/x-erlang">
    <comment>Erlang source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.erl"/>
  </mime-type>
  <mime-type type="text/x-fortran">
    <comment>Fortran source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.f"/>
    <glob pattern="*.f90"/>
    <glob pattern="*.f95"/>
    <glob pattern="*.for"/>
  </mime-type>
  <mime-type type="text/x-genie">
    <comment>Genie source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.gs" case-sensitive="true"/>
    <generic-icon name="text-x-generic"/>
  </mime-type>
  <mime-type type="text/x-gettext-translation">
    <comment>Translation file</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.po"/>
    <alias type="text/x-po"/>
    <alias type="application/x-gettext"/>
  </mime-type>
  <mime-type type="text/x-gettext-translation-template">
    <comment>Translation template</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.pot"/>
    <alias type="text/x-pot"/>
    <magic>
      <match type="string" value='#, fuzzy\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version:' offset="0:256"/>
    </magic>
  </mime-type>
  <mime-type type="text/x-gherkin">
    <comment>Gherkin document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.feature"/>
  </mime-type>
  <mime-type type="text/html">
    <comment>HTML document</comment>
    <acronym>HTML</acronym>
    <expanded-acronym>HyperText Markup Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="&lt;!DOCTYPE HTML" offset="0:256"/>
      <match type="string" value="&lt;!doctype html" offset="0:256"/>
      <match type="string" value="&lt;!DOCTYPE html" offset="0:256"/>
      <match type="string" value="&lt;HEAD" offset="0:256"/>
      <match type="string" value="&lt;head" offset="0:256"/>
      <match type="string" value="&lt;HTML" offset="0:256"/>
      <match type="string" value="&lt;html" offset="0:256"/>
      <match type="string" value="&lt;SCRIPT" offset="0:256"/>
      <match type="string" value="&lt;script" offset="0:256"/>
      <match type="string" value="&lt;BODY" offset="0"/>
      <match type="string" value="&lt;body" offset="0"/>
      <match type="string" value="&lt;h1" offset="0"/>
      <match type="string" value="&lt;H1" offset="0"/>
      <match type="string" value="&lt;!doctype HTML" offset="0"/>
    </magic>
    <magic priority="40">
      <match type="string" value="&lt;!--" offset="0"/>
      <match type="string" value="&lt;TITLE" offset="0:256"/>
      <match type="string" value="&lt;title" offset="0:256"/>
    </magic>
    <glob pattern="*.html" weight="80"/>
    <glob pattern="*.htm" weight="80"/>
  </mime-type>
  <mime-type type="text/x-component">
    <comment>HTML component</comment>
    <acronym>HTML</acronym>
    <expanded-acronym>HyperText Markup Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-html"/>
    <glob pattern="*.htc"/>
    <root-XML namespaceURI="urn:HTMLComponent" localName="PUBLIC"/>
  </mime-type>
  <mime-type type="text/cache-manifest">
    <comment>Web application cache file</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="CACHE MANIFEST" offset="0">
        <match type="string" value="\x20" offset="14"/>
        <match type="string" value="\x09" offset="14"/>
        <match type="string" value="\x0a" offset="14"/>
        <match type="string" value="\x0d" offset="14"/>
      </match>
    </magic>
    <glob pattern="*.manifest"/>
  </mime-type>
  <mime-type type="text/x-google-video-pointer">
    <comment>Google Video Pointer shortcut</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="#.download.the.free.Google.Video.Player" offset="0"/>
      <match type="string" value="# download the free Google Video Player" offset="0"/>
    </magic>
    <glob pattern="*.gvp"/>
    <alias type="text/google-video-pointer"/>
  </mime-type>
  <mime-type type="text/x-haskell">
    <comment>Haskell source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.hs"/>
  </mime-type>
  <mime-type type="text/x-idl">
    <comment>IDL document</comment>
    <acronym>IDL</acronym>
    <expanded-acronym>Interface Definition Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.idl"/>
  </mime-type>
  <mime-type type="text/x-install">
    <comment>Installation instructions</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="INSTALL"/>
  </mime-type>
  <mime-type type="text/x-java">
    <comment>Java source code</comment>
    <sub-class-of type="text/x-csrc"/>
    <glob pattern="*.java"/>
  </mime-type>
  <mime-type type="text/x-ldif">
    <comment>LDIF address book</comment>
    <acronym>LDIF</acronym>
    <expanded-acronym>LDAP Data Interchange Format</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="dn: cn=" offset="0"/>
      <match type="string" value="dn: mail=" offset="0"/>
    </magic>
    <glob pattern="*.ldif"/>
  </mime-type>
  <mime-type type="text/x-lilypond">
    <comment>Lilypond music sheet</comment>
    <glob pattern="*.ly"/>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="text/x-literate-haskell">
    <comment>LHS source code</comment>
    <acronym>LHS</acronym>
    <expanded-acronym>Literate Haskell source code</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.lhs"/>
  </mime-type>
  <mime-type type="text/x-log">
    <comment>Application log</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.log"/>
  </mime-type>
  <mime-type type="text/x-makefile">
    <comment>Makefile build file</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="makefile"/>
    <glob pattern="GNUmakefile"/>
    <glob pattern="*.mk"/>
    <glob pattern="*.mak"/>
    <glob weight="10" pattern="Makefile.*"/>
    <magic>
      <match type="string" value="#!/usr/bin/make" offset="0"/>
      <match type="string" value="#! /usr/bin/make" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="text/markdown">
    <comment>Markdown document</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.md"/>
    <glob pattern="*.mkd"/>
    <glob pattern="*.markdown"/>
    <alias type="text/x-markdown"/>
  </mime-type>
  <mime-type type="text/x-moc">
    <comment>Qt MOC file</comment>
    <acronym>Qt MOC</acronym>
    <expanded-acronym>Qt Meta Object Compiler</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.moc"/>
  </mime-type>
  <mime-type type="text/x-ms-regedit">
    <comment>Windows Registry extract</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="REGEDIT" offset="0"/>
      <match type="string" value="Windows Registry Editor Version 5.00" offset="0"/>
      <match type="string" value="\xff\xfeW\x00i\x00n\x00d\x00o\x00w\x00s\x00 \x00R\x00e\x00g\x00i\x00s\x00t\x00r\x00y\x00 \x00E\x00d\x00i\x00t\x00o\x00r\x00" offset="0"/>
    </magic>
    <glob pattern="*.reg"/>
  </mime-type>
  <mime-type type="text/x-mof">
    <comment>MOF file</comment>
    <acronym>MOF</acronym>
    <expanded-acronym>Windows Managed Object File</expanded-acronym>
    <sub-class-of type="text/x-csrc"/>
    <glob pattern="*.mof"/>
  </mime-type>
  <mime-type type="text/x-mup">
    <comment>Mup musical composition document</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="//!Mup" offset="0"/>
    </magic>
    <glob pattern="*.mup"/>
    <glob pattern="*.not"/>
  </mime-type>
  <mime-type type="text/x-objcsrc">
    <comment>Objective-C source code</comment>
    <sub-class-of type="text/x-csrc"/>
    <magic priority="30">
      <match type="string" value="#import" offset="0"/>
    </magic>
    <glob pattern="*.m"/>
  </mime-type>
  <mime-type type="text/x-objc++src">
    <comment>Objective-C++ source code</comment>
    <sub-class-of type="text/x-c++src"/>
    <sub-class-of type="text/x-objcsrc"/>
    <glob pattern="*.mm"/>
  </mime-type>
  <mime-type type="text/x-ocaml">
    <comment>OCaml source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.ml"/>
    <glob pattern="*.mli"/>
  </mime-type>
  <mime-type type="text/x-opencl-src">
    <comment>OpenCL source code</comment>
    <acronym>OpenCL</acronym>
    <expanded-acronym>Open Computing Language</expanded-acronym>
    <sub-class-of type="text/x-csrc"/>
    <glob pattern="*.cl"/>
  </mime-type>
  <mime-type type="text/x-matlab">
    <comment>MATLAB file</comment>
    <sub-class-of type="text/plain"/>
    <magic priority="10">
      <match type="string" value="%" offset="0"/>
    </magic>
    <magic>
      <match type="string" value="function" offset="0"/>
    </magic>
    <glob pattern="*.m"/>
    <alias type="text/x-octave"/>
  </mime-type>
  <mime-type type="text/x-meson">
    <comment>Meson source code</comment>
    <glob pattern="meson.build"/>
    <glob pattern="meson_options.txt"/>
    <sub-class-of type="text/plain"/>
  </mime-type>
  <mime-type type="text/x-modelica">
    <comment>Modelica model</comment>
    <sub-class-of type="text/plain"/>
    <magic priority="10">
      <match type="string" value="//" offset="0"/>
    </magic>
    <magic>
      <match type="string" value="function" offset="0"/>
    </magic>
    <magic>
      <match type="string" value="class" offset="0"/>
    </magic>
    <magic>
      <match type="string" value="model" offset="0"/>
    </magic>
    <magic>
      <match type="string" value="record" offset="0"/>
    </magic>
    <glob pattern="*.mo"/>
  </mime-type>
  <mime-type type="text/x-pascal">
    <comment>Pascal source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.p"/>
    <glob pattern="*.pas"/>
  </mime-type>
  <mime-type type="text/x-patch">
    <comment>Differences between files</comment>
    <alias type="text/x-diff"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="diff\t" offset="0"/>
      <match type="string" value="diff " offset="0"/>
      <match type="string" value="***\t" offset="0"/>
      <match type="string" value="*** " offset="0"/>
      <match type="string" value="=== " offset="0"/>
      <match type="string" value="--- " offset="0"/>
      <match type="string" value="Only in\t" offset="0"/>
      <match type="string" value="Only in " offset="0"/>
      <match type="string" value="Common subdirectories: " offset="0"/>
      <match type="string" value="Index:" offset="0"/>
    </magic>
    <glob pattern="*.diff"/>
    <glob pattern="*.patch"/>
  </mime-type>
  <mime-type type="application/vnd.dart">
    <comment>Dart source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.dart"/>
    <alias type="text/x-dart"/>
  </mime-type>
  <mime-type type="text/x-nim">
    <comment>Nim source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.nim"/>
  </mime-type>
  <mime-type type="text/x-nimscript">
    <comment>Nimscript source code</comment>
    <sub-class-of type="text/x-nim"/>
    <glob pattern="*.nims"/>
    <glob pattern="*.nimble"/>
  </mime-type>
  <mime-type type="text/x-go">
    <comment>Go source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.go"/>
  </mime-type>
  <mime-type type="text/x-scons">
    <comment>SCons configuration file</comment>
    <sub-class-of type="text/x-python"/>
    <glob pattern="SConstruct"/>
    <glob pattern="SConscript"/>
    <glob pattern="SConscript.*"/>
  </mime-type>
  <mime-type type="text/x-python3">
    <comment>Python 3 script</comment>
    <sub-class-of type='text/x-python'/>
    <magic priority="60"><!-- higher priority than text/x-python -->
      <match type="string" value="#!/bin/python3" offset="0"/>
      <match type="string" value="#! /bin/python3" offset="0"/>
      <match type="string" value='eval \"exec /bin/python3' offset="0"/>
      <match type="string" value="#!/usr/bin/python3" offset="0"/>
      <match type="string" value="#! /usr/bin/python3" offset="0"/>
      <match type="string" value='eval \"exec /usr/bin/python3' offset="0"/>
      <match type="string" value="#!/usr/local/bin/python3" offset="0"/>
      <match type="string" value="#! /usr/local/bin/python3" offset="0"/>
      <match type="string" value='eval \"exec /usr/local/bin/python3' offset="0"/>
      <match type="string" value='/bin/env python3' offset="2:16"/>
    </magic>
    <glob pattern="*.py"/><!-- lower priority than in text/x-python -->
    <glob pattern="*.py3" weight="60"/>
    <glob pattern="*.py3x" weight="60"/>
    <glob pattern="*.pyi" weight="60"/>
  </mime-type>
  <mime-type type="text/x-python">
    <comment>Python script</comment>
    <sub-class-of type='application/x-executable'/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="#!/bin/python" offset="0"/>
      <match type="string" value="#! /bin/python" offset="0"/>
      <match type="string" value='eval \"exec /bin/python' offset="0"/>
      <match type="string" value="#!/usr/bin/python" offset="0"/>
      <match type="string" value="#! /usr/bin/python" offset="0"/>
      <match type="string" value='eval \"exec /usr/bin/python' offset="0"/>
      <match type="string" value="#!/usr/local/bin/python" offset="0"/>
      <match type="string" value="#! /usr/local/bin/python" offset="0"/>
      <match type="string" value='eval \"exec /usr/local/bin/python' offset="0"/>
      <match type="string" value='/bin/env python' offset="2:16"/>
    </magic>
    <glob pattern="*.py" weight="60"/>
    <glob pattern="*.pyx" weight="60"/>
    <glob pattern="*.wsgi" weight="60"/>
  </mime-type>
  <mime-type type="text/x-sagemath">
    <comment>SageMath script</comment>
    <sub-class-of type="text/x-python"/>
    <glob pattern="*.sage" weight="60"/>
  </mime-type>
  <mime-type type="text/x-lua">
    <comment>Lua script</comment>
    <sub-class-of type='application/x-executable'/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="/bin/lua" offset="2:16"/>
      <match type="string" value="/bin/luajit" offset="2:16"/>
      <match type="string" value="/bin/env lua" offset="2:16"/>
      <match type="string" value="/bin/env luajit" offset="2:16"/>
    </magic>
    <glob pattern="*.lua"/>
  </mime-type>
  <mime-type type="text/x-readme">
    <comment>README document</comment>
    <sub-class-of type="text/plain"/>
    <glob weight="10" pattern="README*"/>
  </mime-type>
  <mime-type type="text/x-nfo">
    <comment>NFO document</comment>
    <sub-class-of type="text/x-readme"/>
    <glob pattern="*.nfo"/>
  </mime-type>
  <mime-type type="text/x-todo-txt">
    <comment>Todo.txt file</comment>
    <sub-class-of type="text/plain"/>
    <magic priority="10">
      <match type="string" value="(A) " offset="0"/>
      <match type="string" value="x " offset="0"/>
    </magic>
    <glob weight="10" pattern="todo.txt"/>
  </mime-type>
  <mime-type type="text/x-rpm-spec">
    <comment>RPM spec file</comment>
    <acronym>RPM</acronym>
    <expanded-acronym>Red Hat Package Manager</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.spec"/>
    <magic>
      <match type="string" value="Summary: " offset="0"/>
      <match type="string" value="%define " offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="text/x-sass">
    <comment>Sass CSS pre-processor file</comment>
    <acronym>Sass</acronym>
    <expanded-acronym>Syntactically Awesome Style Sheets</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.sass"/>
    <generic-icon name="text-x-generic"/>
  </mime-type>
  <mime-type type="text/x-scala">
    <comment>Scala source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.scala"/>
    <glob pattern="*.sc"/>
  </mime-type>
  <mime-type type="text/x-scheme">
    <comment>Scheme source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.scm"/>
    <glob pattern="*.ss"/>
  </mime-type>
  <mime-type type="text/x-scss">
    <comment>SCSS pre-processor file</comment>
    <acronym>SCSS</acronym>
    <expanded-acronym>Sassy CSS</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.scss"/>
    <generic-icon name="text-x-generic"/>
  </mime-type>
  <mime-type type="text/x-setext">
    <comment>Setext document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.etx"/>
  </mime-type>
  <mime-type type="application/sql">
    <comment>SQL code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.sql"/>
    <alias type="text/x-sql"/>
  </mime-type>
  <mime-type type="text/tcl">
    <comment>Tcl script</comment>
    <alias type="text/x-tcl"/>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.tcl"/>
    <glob pattern="*.tk"/>
  </mime-type>
  <mime-type type="text/x-tex">
    <comment>TeX document</comment>
    <sub-class-of type="text/plain"/>
    <alias type="application/x-tex"/>
    <glob pattern="*.tex"/>
    <glob pattern="*.ltx"/>
    <glob pattern="*.sty"/>
    <glob pattern="*.cls"/>
    <glob pattern="*.dtx"/>
    <glob pattern="*.ins"/>
    <glob pattern="*.latex"/>
    <magic priority="10">
      <match type="string" value="%" offset="0"/>
    </magic>
    <magic>
      <match type="string" value="documentclass" offset="1"/>
    </magic>
  </mime-type>
  <mime-type type="text/x-texinfo">
    <comment>TeXInfo document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.texi"/>
    <glob pattern="*.texinfo"/>
  </mime-type>
  <mime-type type="text/x-typst">
    <comment>Typst document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.typ"/>
  </mime-type>
  <mime-type type="text/x-troff-me">
    <comment>Troff ME input document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.me"/>
  </mime-type>
  <mime-type type="text/x-troff-mm">
    <comment>Troff MM input document</comment>
    <sub-class-of type="text/troff"/>
    <glob pattern="*.mm"/>
  </mime-type>
  <mime-type type="text/x-troff-ms">
    <comment>Troff MS input document</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.ms"/>
  </mime-type>
  <mime-type type="text/x-twig">
    <comment>Twig template</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.twig"/>
    <generic-icon name="text-x-generic-template"/>
  </mime-type>
  <mime-type type="text/x-uil">
    <comment>X-Motif UIL table</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.uil"/>
  </mime-type>
  <mime-type type="text/x-uri">
    <comment>Resource location</comment>
    <sub-class-of type="text/plain"/>
    <!-- Note: text/uri-list is reserved by the XDND protocol! -->
  </mime-type>
  <mime-type type="text/x-uuencode">
    <comment>uuencoded file</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.uue"/>
    <magic>
      <match type="string" value="begin " offset="0"/>
    </magic>
    <alias type="zz-application/zz-winassoc-uu"/>
  </mime-type>
  <mime-type type="text/x-basic">
    <comment>BASIC program</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.bas"/>
  </mime-type>
  <mime-type type="text/x-vb">
    <comment>Visual Basic .NET source code</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="Imports" offset="0"/>
      <match type="string" value="Module" offset="0"/>
      <match type="string" value="REM" offset="0"/>
    </magic>
    <glob pattern="*.vb"/>
  </mime-type>
  <mime-type type="text/vbscript">
    <comment>VBScript program</comment>
    <alias type="text/vbs"/>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <glob pattern="*.vbs"/>
  </mime-type>
  <mime-type type="text/vbscript.encode">
    <comment>Encoded VBScript program</comment>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-script"/>
    <magic>
      <match type="string" value="#@~^" offset="0"/>
    </magic>
    <glob pattern="*.vbe"/>
  </mime-type>
  <mime-type type="text/x-xmi">
    <comment>XMI file</comment>
    <acronym>XMI</acronym>
    <expanded-acronym>XML Metadata Interchange</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.xmi"/>
    <root-XML namespaceURI="http://schema.omg.org/spec/XMI/2.0" localName="XMI"/>
    <root-XML namespaceURI="http://schema.omg.org/spec/XMI/2.1" localName="XMI"/>
  </mime-type>
  <mime-type type="text/x-xslfo">
    <comment>XSL FO file</comment>
    <acronym>XSL FO</acronym>
    <expanded-acronym>XSL Formatting Objects</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.fo"/>
    <glob pattern="*.xslfo"/>
    <root-XML namespaceURI="http://www.w3.org/1999/XSL/Format" localName="root"/>
  </mime-type>
  <mime-type type="text/x-iptables">
    <comment>iptables configuration file</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="/etc/sysconfig/iptables" offset="0:256"/>
      <match type="string" value="*filter" offset="0:256">
        <match type="string" value=":INPUT" offset="0:256">
          <match type="string" value=":FORWARD" offset="0:256">
            <match type="string" value=":OUTPUT" offset="0:256"/>
          </match>
        </match>
      </match>
      <match type="string" value="-A INPUT" offset="0:256">
        <match type="string" value="-A FORWARD" offset="0:256">
          <match type="string" value="-A OUTPUT" offset="0:256"/>
        </match>
      </match>
      <match type="string" value="-P INPUT" offset="0:256">
        <match type="string" value="-P FORWARD" offset="0:256">
          <match type="string" value="-P OUTPUT" offset="0:256"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.iptables"/>
  </mime-type>
  <mime-type type="text/x-dbus-service">
    <comment>D-Bus service file</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="\n[D-BUS Service]\n" offset="0:256"/>
      <match type="string" value="[D-BUS Service]\n" offset="0"/>
    </magic>
    <glob pattern="*.service"/>
  </mime-type>
  <mime-type type="text/x-systemd-unit">
    <comment>Systemd unit file</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <!-- Matches part-way through the file. -->
      <match type="string" value="\n[Unit]\n" offset="0:256"/>
      <match type="string" value="\n[Install]\n" offset="0:256"/>
      <match type="string" value="\n[Automount]\n" offset="0:256"/>
      <!-- Note no [Device] section exists (https://www.freedesktop.org/software/systemd/man/systemd.device.html) -->
      <match type="string" value="\n[Mount]\n" offset="0:256"/>
      <match type="string" value="\n[Path]\n" offset="0:256"/>
      <match type="string" value="\n[Scope]\n" offset="0:256"/>
      <match type="string" value="\n[Service]\n" offset="0:256"/>
      <match type="string" value="\n[Slice]\n" offset="0:256"/>
      <match type="string" value="\n[Socket]\n" offset="0:256"/>
      <match type="string" value="\n[Swap]\n" offset="0:256"/>
      <!-- Note no [Target] section exists (https://www.freedesktop.org/software/systemd/man/systemd.target.html) -->
      <match type="string" value="\n[Timer]\n" offset="0:256"/>

      <!-- Matches at the start of the file. -->
      <match type="string" value="[Unit]\n" offset="0"/>
      <match type="string" value="[Install]\n" offset="0"/>
      <match type="string" value="[Automount]\n" offset="0"/>
      <match type="string" value="[Mount]\n" offset="0"/>
      <match type="string" value="[Path]\n" offset="0"/>
      <match type="string" value="[Scope]\n" offset="0"/>
      <match type="string" value="[Service]\n" offset="0"/>
      <match type="string" value="[Slice]\n" offset="0"/>
      <match type="string" value="[Socket]\n" offset="0"/>
      <match type="string" value="[Swap]\n" offset="0"/>
      <match type="string" value="[Timer]\n" offset="0"/>
    </magic>
    <glob pattern="*.automount"/>
    <glob pattern="*.device"/>
    <glob pattern="*.mount"/>
    <glob pattern="*.path"/>
    <glob pattern="*.scope"/>
    <glob pattern="*.service"/>
    <glob pattern="*.slice"/>
    <glob pattern="*.socket"/>
    <glob pattern="*.swap"/>
    <glob pattern="*.target"/>
    <glob pattern="*.timer"/>
  </mime-type>
  <mime-type type="application/xslt+xml">
    <comment>XSLT stylesheet</comment>
    <acronym>XSLT</acronym>
    <expanded-acronym>eXtensible Stylesheet Language Transformation</expanded-acronym>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="&lt;xsl:stylesheet" offset="0:256"/>
    </magic>
    <glob pattern="*.xsl"/>
    <glob pattern="*.xslt"/>
    <root-XML namespaceURI="http://www.w3.org/1999/XSL/Transform" localName="stylesheet"/>
    <sub-class-of type="application/xml"/>
  </mime-type>
  <mime-type type="text/x-maven+xml">
    <comment>Maven description file</comment>
    <generic-icon name="text-x-generic"/>
    <glob pattern="pom.xml"/>
    <glob pattern="settings.xml"/>
    <sub-class-of type="application/xml"/>
  </mime-type>
  <mime-type type="text/xmcd">
    <comment>XMCD CD database</comment>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="# xmcd" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/xml">
    <comment>XML document</comment>
    <acronym>XML</acronym>
    <expanded-acronym>eXtensible Markup Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-html"/>
    <magic priority="40">
      <match type="string" value="&lt;?xml" offset="0"/>
    </magic>
    <glob pattern="*.xml"/>
    <glob pattern="*.xbl"/>
    <glob pattern="*.xsd"/>
    <glob pattern="*.rng"/>
    <alias type="text/xml"/>
  </mime-type>
  <mime-type type="application/xml-external-parsed-entity">
    <comment>XML entities document</comment>
    <acronym>XML</acronym>
    <expanded-acronym>eXtensible Markup Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-html"/>
    <glob pattern="*.ent"/>
    <alias type="text/xml-external-parsed-entity"/>
  </mime-type>
  <mime-type type="video/dv">
    <comment>DV video</comment>
    <acronym>DV</acronym>
    <expanded-acronym>Digital Video</expanded-acronym>
    <magic>
      <match type="big32" value="0x1f070000" mask="0xffffff00" offset="0"/>
    </magic>
    <glob pattern="*.dv"/>
  </mime-type>
  <mime-type type="video/isivideo">
    <comment>ISI video</comment>
  </mime-type>
  <mime-type type="video/mp2t">
    <comment>MPEG-2 transport stream</comment>
    <acronym>MPEG-2 TS</acronym>
    <expanded-acronym>Moving Picture Experts Group 2 Transport Stream</expanded-acronym>
    <magic>
      <match type="byte" value="0x47" offset="0">
        <match type="byte" value="0x47" offset="188">
          <match type="byte" value="0x47" offset="376">
            <match type="byte" value="0x47" offset="564">
              <match type="byte" value="0x47" offset="752"/>
            </match>
          </match>
        </match>
      </match>
      <match type="byte" value="0x47" offset="4">
        <match type="byte" value="0x47" offset="196">
          <match type="byte" value="0x47" offset="388">
            <match type="byte" value="0x47" offset="580">
              <match type="byte" value="0x47" offset="772"/>
            </match>
          </match>
        </match>
      </match>
    </magic>
    <glob pattern="*.m2t"/>
    <glob pattern="*.m2ts"/>
    <glob pattern="*.ts"/>
    <glob pattern="*.mts"/>
    <glob pattern="*.cpi"/>
    <glob pattern="*.clpi"/>
    <glob pattern="*.mpl"/>
    <glob pattern="*.mpls"/>
    <glob pattern="*.bdm"/>
    <glob pattern="*.bdmv"/>
  </mime-type>
  <mime-type type="video/mpeg">
    <comment>MPEG video</comment>
    <acronym>MPEG</acronym>
    <expanded-acronym>Moving Picture Experts Group</expanded-acronym>
    <alias type="video/x-mpeg"/>
    <alias type="video/mpeg-system"/>
    <alias type="video/x-mpeg-system"/>
    <alias type="video/x-mpeg2"/>
    <magic>
      <match type="string" value="\x47\x3f\xff\x10" offset="0"/>
      <match type="big32" value="0x000001b3" offset="0"/>
      <match type="big32" value="0x000001ba" offset="0"/>
    </magic>
    <glob pattern="*.mpeg"/>
    <glob pattern="*.mpg"/>
    <glob pattern="*.mp2"/>
    <glob pattern="*.mpe"/>
    <glob pattern="*.vob"/>
    <glob pattern="[0-9][0-9][0-9].vdr"/>
  </mime-type>
  <mime-type type="video/vnd.mpegurl">
    <comment>Video playlist</comment>
    <sub-class-of type="text/plain"/>
    <alias type="video/x-mpegurl"/>
    <magic>
      <match type="string" value="#EXTM4U" offset="0"/>
    </magic>
    <glob pattern="*.m1u"/>
    <glob pattern="*.m4u"/>
    <glob pattern="*.mxu"/>
  </mime-type>
  <mime-type type="video/quicktime">
    <comment>QuickTime video</comment>
    <magic>
      <match type="string" value="mdat" offset="12"/>
      <match type="string" value="mdat" offset="4"/>
      <match type="string" value="moov" offset="4"/>
      <match type="string" value="ftypqt" offset="4"/>
    </magic>
    <glob pattern="*.qt"/>
    <glob pattern="*.mov"/>
    <glob pattern="*.moov"/>
    <glob pattern="*.qtvr"/>
  </mime-type>
  <mime-type type="image/x-quicktime">
    <comment>QuickTime image</comment>
    <magic>
      <match type="string" value="idat" offset="4"/>
    </magic>
    <glob pattern="*.qtif"/>
    <glob pattern="*.qif"/>
  </mime-type>
  <mime-type type="image/ktx">
    <comment>Khronos texture image</comment>
    <magic priority="80">
      <match type="big32" value="0xAB4B5458" offset="0">
        <match type="big32" value="0x203131BB" offset="4">
          <match type="big32" value="0x0D0A1A0A" offset="8"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.ktx"/>
  </mime-type>
  <mime-type type="image/ktx2">
    <comment>Khronos texture image</comment>
    <magic priority="80">
      <match type="big32" value="0xAB4B5458" offset="0">
        <match type="big32" value="0x203230BB" offset="4">
          <match type="big32" value="0x0D0A1A0A" offset="8"/>
        </match>
      </match>
    </magic>
    <glob pattern="*.ktx2"/>
  </mime-type>
  <mime-type type="image/astc">
    <comment>ASTC texture</comment>
    <acronym>ASTC</acronym>
    <expanded-acronym>Advanced Scalable Texture Compression</expanded-acronym>
    <glob pattern="*.astc"/>
    <magic priority="80">
      <match type="little32" value="0x5CA1AB13" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="video/vnd.vivo">
    <comment>Vivo video</comment>
    <alias type="video/vivo"/>
    <glob pattern="*.viv"/>
    <glob pattern="*.vivo"/>
  </mime-type>
  <mime-type type="video/wavelet">
    <comment>Wavelet video</comment>
  </mime-type>
  <mime-type type="video/x-anim">
    <comment>ANIM animation</comment>
    <glob pattern="*.anim[1-9j]"/>
  </mime-type>
  <mime-type type="video/x-flic">
    <comment>FLIC animation</comment>
    <alias type="video/fli"/>
    <alias type="video/x-fli"/>
    <magic>
      <match type="little16" value="0xAF11" offset="0"/>
      <match type="little16" value="0xAF12" offset="0"/>
    </magic>
    <glob pattern="*.fli"/>
    <glob pattern="*.flc"/>
  </mime-type>
  <mime-type type="application/x-hwp">
    <comment>Haansoft Hangul document</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match type="string" value="HWP Document File" offset="0"/>
    </magic>
    <glob pattern="*.hwp"/>
    <alias type="application/vnd.haansoft-hwp"/>
  </mime-type>
  <mime-type type="application/x-hwt">
    <comment>Haansoft Hangul document template</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.hwt"/>
    <alias type="application/vnd.haansoft-hwt"/>
  </mime-type>
  <mime-type type="video/x-mng">
    <comment>MNG animation</comment>
    <acronym>MNG</acronym>
    <expanded-acronym>Multiple-Image Network Graphics</expanded-acronym>
    <magic>
      <match type="string" value="\x8AMNG\x0D\x0A\x1A\x0A" offset="0"/>
    </magic>
    <glob pattern="*.mng"/>
  </mime-type>
  <mime-type type="application/vnd.ms-asf">
    <comment>ASF video</comment>
    <acronym>ASF</acronym>
    <expanded-acronym>Advanced Streaming Format</expanded-acronym>
    <alias type="video/x-ms-wm"/>
    <alias type="video/x-ms-asf"/>
    <alias type="video/x-ms-asf-plugin"/>
    <glob pattern="*.asf"/>
    <magic>
      <match type="big32" value="0x3026b275" offset="0"/>
      <match type="string" value="[Reference]" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-netshow-channel">
    <comment>Windows Media Station file</comment>
    <sub-class-of type="application/vnd.ms-asf"/>
    <generic-icon name="video-x-generic"/>
    <glob pattern="*.nsc"/>
    <magic>
      <match type="string" value="[Address]" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="video/x-ms-wmv">
    <comment>Windows Media video</comment>
    <sub-class-of type="application/vnd.ms-asf"/>
    <glob pattern="*.wmv"/>
  </mime-type>
  <mime-type type="video/vnd.avi">
    <comment>AVI video</comment>
    <acronym>AVI</acronym>
    <expanded-acronym>Audio Video Interleave</expanded-acronym>
    <alias type="video/x-avi"/>
    <alias type="video/avi"/>
    <alias type="video/divx"/>
    <alias type="video/msvideo"/>
    <alias type="video/vnd.divx"/>
    <alias type="video/x-msvideo"/>
    <magic>
      <match type="string" value="RIFF" offset="0">
        <match type="string" value="AVI " offset="8"/>
      </match>
      <match type="string" value="AVF0" offset="0">
        <match type="string" value="AVI " offset="8"/>
      </match>
    </magic>
    <glob pattern="*.avi"/>
    <glob pattern="*.avf"/>
    <glob pattern="*.divx"/>
  </mime-type>
  <mime-type type="video/x-nsv">
    <comment>NullSoft video</comment>
    <magic>
      <match type="string" value="NSVf" offset="0"/>
    </magic>
    <glob pattern="*.nsv"/>
  </mime-type>
  <mime-type type="application/sdp">
    <comment>SDP multicast stream file</comment>
    <acronym>SDP</acronym>
    <expanded-acronym>Session Description Protocol</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <alias type="application/x-sdp" />
    <alias type="application/vnd.sdp" />
    <generic-icon name="video-x-generic"/>
    <magic>
      <match type="string" value="v=" offset="0">
        <match type="string" value="s=" offset="0:256" />
      </match>
    </magic>
    <glob pattern="*.sdp"/>
  </mime-type>
  <mime-type type="video/x-sgi-movie">
    <comment>SGI video</comment>
    <magic>
      <match type="string" value="MOVI" offset="0"/>
    </magic>
    <glob pattern="*.movie"/>
  </mime-type>
  <mime-type type="application/vnd.emusic-emusic_package">
    <comment>eMusic download package</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="nF7YLao" offset="0"/>
    </magic>
    <glob pattern="*.emp"/>
  </mime-type>
  <mime-type type="application/vnd.google-earth.kml+xml">
    <comment>KML geographic data</comment>
    <acronym>KML</acronym>
    <expanded-acronym>Keyhole Markup Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.kml"/>
    <root-XML namespaceURI="http://www.opengis.net/kml/2.2" localName="kml"/>
  </mime-type>
  <mime-type type="application/vnd.google-earth.kmz">
    <comment>KML geographic compressed data</comment>
    <acronym>KML</acronym>
    <expanded-acronym>Keyhole Markup Language</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <glob pattern="*.kmz"/>
  </mime-type>
  <mime-type type="application/geo+json">
    <comment>GeoJSON geospatial data</comment>
    <sub-class-of type="application/json"/>
    <glob pattern="*.geojson"/>
    <glob pattern="*.geo.json"/>
    <alias type="application/vnd.geo+json"/>
  </mime-type>
  <mime-type type="application/gpx+xml">
    <comment>GPX geographic data</comment>
    <acronym>GPX</acronym>
    <expanded-acronym>GPS Exchange Format</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <alias type="application/gpx"/>
    <alias type="application/x-gpx+xml"/>
    <alias type="application/x-gpx"/>
    <glob pattern="*.gpx"/>
    <root-XML namespaceURI="http://www.topografix.com/GPX/1/0" localName="gpx"/>
    <root-XML namespaceURI="http://www.topografix.com/GPX/1/1" localName="gpx"/>
  </mime-type>
  <mime-type type="application/x-ica">
    <comment>Citrix ICA settings file</comment>
    <acronym>ICA</acronym>
    <expanded-acronym>Independent Computing Architecture</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.ica"/>
  </mime-type>
  <mime-type type="application/vnd.mozilla.xul+xml">
    <comment>XUL interface document</comment>
    <acronym>XUL</acronym>
    <expanded-acronym>XML User interface markup Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="x-office-document"/>
    <root-XML namespaceURI="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" localName="window"/>
    <glob pattern="*.xul"/>
  </mime-type>
  <mime-type type="application/x-xpinstall">
    <comment>XPInstall installer module</comment>
    <sub-class-of type="application/zip"/>
    <glob pattern="*.xpi"/>
  </mime-type>
  <mime-type type="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
    <comment>Word 2007 document</comment>
    <glob pattern="*.docx"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
  </mime-type>
  <mime-type type="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
    <comment>Word 2007 document template</comment>
    <glob pattern="*.dotx"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
  </mime-type>
  <mime-type type="application/vnd.openxmlformats-officedocument.presentationml.presentation">
    <comment>PowerPoint 2007 presentation</comment>
    <glob pattern="*.pptx"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-presentation"/>
  </mime-type>
  <mime-type type="application/vnd.openxmlformats-officedocument.presentationml.slide">
    <comment>PowerPoint 2007 slide</comment>
    <glob pattern="*.sldx"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-presentation"/>
  </mime-type>
  <mime-type type="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
    <comment>PowerPoint 2007 show</comment>
    <glob pattern="*.ppsx"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-presentation"/>
  </mime-type>
  <mime-type type="application/vnd.openxmlformats-officedocument.presentationml.template">
    <comment>PowerPoint 2007 presentation template</comment>
    <glob pattern="*.potx"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-presentation"/>
  </mime-type>
  <mime-type type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
    <comment>Excel 2007 spreadsheet</comment>
    <glob pattern="*.xlsx"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
  </mime-type>
  <mime-type type="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
    <comment>Excel 2007 spreadsheet template</comment>
    <glob pattern="*.xltx"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
  </mime-type>
  <mime-type type="application/vnd.ms-officetheme">
    <comment>Microsoft Office 2007 theme</comment>
    <glob pattern="*.thmx"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="text-x-generic-template"/>
  </mime-type>
  <mime-type type="application/x-t602">
    <comment>T602 document</comment>
    <generic-icon name="x-office-document"/>
    <magic>
      <match offset="0" type="string" value="@CT 0" />
      <match offset="0" type="string" value="@CT 1" />
      <match offset="0" type="string" value="@CT 2" />
    </magic>
    <glob pattern="*.602" />
  </mime-type>
  <mime-type type="application/x-cisco-vpn-settings">
    <comment>Cisco VPN settings</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="[main]" offset="0">
        <match type="string" value="AuthType=" offset="0:256"/>
      </match>
    </magic>
    <glob pattern="*.pcf"/>
  </mime-type>
  <mime-type type="application/vnd.iccprofile">
    <comment>ICC profile</comment>
    <acronym>ICC</acronym>
    <expanded-acronym>International Color Consortium</expanded-acronym>
    <magic>
      <match type="string" value="acsp" offset="36"/>
    </magic>
    <glob pattern="*.icc"/>
    <glob pattern="*.icm"/>
  </mime-type>
  <mime-type type="application/x-it87">
    <comment>IT 8.7 color calibration file</comment>
    <magic>
      <match type="string" value="IT8.7" offset="0"/>
    </magic>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.it87"/>
  </mime-type>
  <mime-type type="application/x-ccmx">
    <comment>CCMX color correction file</comment>
    <magic>
      <match type="string" value="CCMX" offset="0"/>
    </magic>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.ccmx"/>
  </mime-type>
  <mime-type type="application/winhlp">
    <comment>WinHelp help file</comment>
    <magic>
      <match type="little32" value="0x00035f3f" offset="0"/>
    </magic>
    <glob pattern="*.hlp"/>
    <alias type="zz-application/zz-winassoc-hlp" />
  </mime-type>
  <mime-type type="application/x-bsdiff">
    <comment>Binary differences between files</comment>
    <magic>
      <match type="string" value="BSDIFF40" offset="0"/>
      <match type="string" value="BSDIFN40" offset="0"/>
    </magic>
    <glob pattern="*.bsdiff"/>
  </mime-type>

  <!-- Tree content-types -->
  <mime-type type="x-content/image-dcf">
    <!-- http://en.wikipedia.org/wiki/Design_rule_for_Camera_File_system -->
    <comment>Digital photos</comment>
    <treemagic>
      <treematch path="dcim" type="directory" non-empty="true"/>
    </treemagic>
  </mime-type>

  <mime-type type="x-content/video-vcd">
    <!-- TRANSLATORS: This is a brand-name, not a generic term. Please see
         http://en.wikipedia.org/wiki/Video_CD
         http://www.herongyang.com/CD-DVD/VCD-Movie-File-Directory-Structure.html -->
    <comment>Video CD</comment>
    <treemagic>
      <treematch path="mpegav/AVSEQ01.DAT" type="file" />
    </treemagic>
  </mime-type>

  <mime-type type="x-content/video-svcd">
    <!-- TRANSLATORS: This is a brand-name, not a generic term. Please see
         http://en.wikipedia.org/wiki/Super_Video_CD
         http://everything2.com/index.pl?node_id=1009222 -->
    <comment>Super Video CD</comment>
    <treemagic>
      <treematch path="MPEG2/AVSEQ01.MPG" type="file" />
    </treemagic>
  </mime-type>

  <mime-type type="x-content/video-dvd">
    <!-- http://en.wikipedia.org/wiki/DVD-Video -->
    <comment>Video DVD</comment>
    <treemagic>
      <treematch path="VIDEO_TS/VIDEO_TS.IFO" type="file" />
      <treematch path="VIDEO_TS/VIDEO_TS.IFO;1" type="file" />
      <treematch path="VIDEO_TS.IFO" type="file" />
      <treematch path="VIDEO_TS.IFO;1" type="file" />
    </treemagic>
  </mime-type>

  <mime-type type="x-content/audio-cdda">
    <!-- http://en.wikipedia.org/wiki/Red_Book_(audio_CD_standard) -->
    <comment>Audio CD</comment>
  </mime-type>

  <mime-type type="x-content/blank-cd">
    <!-- http://en.wikipedia.org/wiki/Compact_Disc -->
    <comment>Blank CD disc</comment>
  </mime-type>

  <mime-type type="x-content/blank-dvd">
    <!-- http://en.wikipedia.org/wiki/DVD -->
    <comment>Blank DVD disc</comment>
  </mime-type>

  <mime-type type="x-content/blank-bd">
    <!-- http://en.wikipedia.org/wiki/Blu-ray_Disc -->
    <comment>Blank Blu-ray disc</comment>
  </mime-type>

  <mime-type type="x-content/blank-hddvd">
    <!-- http://en.wikipedia.org/wiki/HD_DVD -->
    <comment>Blank HD DVD disc</comment>
  </mime-type>

  <mime-type type="x-content/audio-dvd">
    <!-- http://en.wikipedia.org/wiki/DVD-Audio -->
    <comment>Audio DVD</comment>
    <treemagic>
      <treematch path="AUDIO_TS/AUDIO_TS.IFO" type="file" />
      <treematch path="AUDIO_TS/AUDIO_TS.IFO;1" type="file" />
    </treemagic>
  </mime-type>

  <mime-type type="x-content/video-bluray">
    <!-- http://en.wikipedia.org/wiki/Blu-ray_Disc
         http://www.blu-raydisc.com/Section-13470/Section-13890/Index.html -->
    <comment>Blu-ray video disc</comment>
    <treemagic>
      <treematch path="BDAV" type="directory" non-empty="true"/>
      <treematch path="BDMV" type="directory" non-empty="true"/>
    </treemagic>
  </mime-type>

  <mime-type type="x-content/video-hddvd">
    <!-- http://en.wikipedia.org/wiki/HD_DVD
         http://www.dvdafteredit.com/wiki/The_HVDVD_TS_Folder -->
    <comment>HD DVD video disc</comment>
    <treemagic>
      <treematch path="HVDVD_TS/HV000I01.IFO" type="file" />
      <treematch path="HVDVD_TS/HV001I01.IFO" type="file" />
      <treematch path="HVDVD_TS/HVA00001.VTI" type="file" />
    </treemagic>
  </mime-type>

  <mime-type type="x-content/ebook-reader">
    <!-- see fd.o hal spec -->
    <comment>E-book reader</comment>
    <treemagic>
      <treematch path=".kobo" type="directory" non-empty="true"/>
      <treematch path="system/com.amazon.ebook.booklet.reader" non-empty="false"/>
    </treemagic>
  </mime-type>

  <mime-type type="x-content/image-picturecd">
    <!-- TRANSLATORS: This is a brand-name, not a generic term. Please see
         http://en.wikipedia.org/wiki/Picture_CD
         http://www.re.org/kristin/picturecd.html  -->
    <comment>Picture CD</comment>
    <treemagic>
      <treematch path="PICTURES" type="directory" non-empty="true" match-case="true"/>
    </treemagic>
  </mime-type>

  <mime-type type="x-content/audio-player">
    <!-- see fd.o hal spec -->
    <comment>Portable audio player</comment>
  </mime-type>

  <mime-type type="x-content/ostree-repository">
    <!-- https://github.com/ostreedev/ostree/blob/master/man/ostree-create-usb.xml -->
    <comment>OSTree software updates</comment>
    <treemagic>
      <treematch path=".ostree" type="directory" non-empty="true" match-case="true" />
      <treematch path="ostree/repo" type="directory" non-empty="true" match-case="true" />
      <treematch path="var/lib/flatpak/repo" type="directory" non-empty="true" match-case="true" />
    </treemagic>
  </mime-type>

  <mime-type type="x-content/software">
    <!-- http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
         http://bugzilla.gnome.org/show_bug.cgi?id=509823#c3 -->
    <comment>Software</comment>
  </mime-type>

  <mime-type type="x-content/unix-software">
    <!-- http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
         http://bugzilla.gnome.org/show_bug.cgi?id=509823#c3 -->
    <comment>UNIX software</comment>
    <sub-class-of type="x-content/software"/>
    <treemagic>
      <treematch path=".autorun" type="file" match-case="true" />
      <treematch path="autorun" type="file" match-case="true" />
      <treematch path="autorun.sh" type="file" match-case="true" />
    </treemagic>
  </mime-type>

  <mime-type type="x-content/win32-software">
    <!-- http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
         http://bugzilla.gnome.org/show_bug.cgi?id=509823#c3 -->
    <comment>Windows software</comment>
    <sub-class-of type="x-content/software"/>
    <treemagic>
      <treematch path="autorun.exe" type="file" executable="true" />
      <treematch path="autorun.inf" type="file" />
    </treemagic>
  </mime-type>

  <mime-type type="application/trig">
    <comment>TriG RDF document</comment>
    <acronym>TriG</acronym>
    <expanded-acronym>TriG RDF Graph Triple Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.trig" />
    <alias type="application/x-trig"/>
  </mime-type>

  <mime-type type="application/vnd.apple.keynote">
    <comment>Apple Keynote 5 presentation</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-presentation"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="index.apxl" offset="30"/>
      </match>
    </magic>
    <glob pattern="*.key" weight="80"/>
    <alias type="application/x-iwork-keynote-sffkey"/>
  </mime-type>
  <mime-type type="application/vnd.apple.numbers">
    <comment>Apple Numbers spreadsheet</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
    <magic priority="65">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="index.xml" offset="30"/>
        <match type="string" value="Index/Document.iwa" offset="30"/>
      </match>
    </magic>
    <glob pattern="*.numbers"/>
    <alias type="application/x-iwork-numbers-sffnumbers"/>
  </mime-type>
  <mime-type type="application/vnd.apple.pages">
    <comment>Apple Pages document</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
    <magic priority="70">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="index.xml" offset="30"/>
        <match type="string" value="Index/Document.iwa" offset="30"/>
      </match>
    </magic>
    <glob pattern="*.pages"/>
    <alias type="application/x-iwork-pages-sffpages"/>
  </mime-type>
  <mime-type type="application/vnd.apple.pkpass">
    <comment>Apple Wallet pass</comment>
    <sub-class-of type="application/zip"/>
    <magic priority="65">
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="pass.json" offset="30"/>
      </match>
    </magic>
    <glob pattern="*.pkpass"/>
  </mime-type>

  <mime-type type="application/x-pagemaker">
    <comment>Adobe PageMaker document</comment>
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.p65"/>
    <glob pattern="*.pm"/>
    <glob pattern="*.pm6"/>
    <glob pattern="*.pmd"/>
  </mime-type>

  <mime-type type="application/x-doom-wad">
    <comment>Doom WAD file</comment>
    <acronym>WAD</acronym>
    <expanded-acronym>Where's All the Data</expanded-acronym>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="IWAD" offset="0"/>
      <match type="string" value="PWAD" offset="0"/>
    </magic>
    <glob pattern="*.wad" weight="80"/>
  </mime-type>

  <mime-type type="application/x-amiga-disk-format">
    <comment>Amiga disk image</comment>
    <magic>
      <match type="string" value="DOS\x00" offset="0"/>
    </magic>
    <glob pattern="*.adf"/>
  </mime-type>

  <mime-type type="application/vnd.flatpak">
    <comment>Flatpak application bundle</comment>
    <generic-icon name="package-x-generic"/>
    <magic>
      <match type="string" value="xdg-app\x00\x01\x00\x89\xe5" offset="0"/>
      <match type="string" value="flatpak\x00\x01\x00\x89\xe5" offset="0"/>
    </magic>
    <glob pattern="*.flatpak"/>
    <glob pattern="*.xdgapp"/>
    <alias type="application/vnd.xdgapp"/>
  </mime-type>

  <mime-type type="application/vnd.flatpak.repo">
    <comment>Flatpak repository description</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="[Flatpak Repo]" offset="0:256"/>
    </magic>
    <glob pattern="*.flatpakrepo"/>
  </mime-type>

  <mime-type type="application/vnd.flatpak.ref">
    <comment>Flatpak repository reference</comment>
    <generic-icon name="package-x-generic"/>
    <sub-class-of type="text/plain"/>
    <magic>
      <match type="string" value="[Flatpak Ref]" offset="0:256"/>
    </magic>
    <glob pattern="*.flatpakref"/>
  </mime-type>

  <mime-type type="application/vnd.squashfs">
    <comment>Squashfs filesystem image</comment>
    <sub-class-of type="application/vnd.efi.img"/>
    <magic>
      <match type="string" value="sqsh" offset="0"/>
      <match type="string" value="hsqs" offset="0"/>
    </magic>
    <glob pattern="*.sqsh"/>
  </mime-type>

  <!-- AppImage application bundle (Type 2) -->
  <mime-type type="application/vnd.appimage">
    <comment>AppImage application bundle</comment>
    <sub-class-of type="application/x-executable"/>
    <sub-class-of type="application/vnd.squashfs"/>
    <generic-icon name="application-x-executable"/>
    <magic>
      <match value="ELF" type="string" offset="1" >
        <match value="0x41" type="byte" offset="8">
          <match value="0x49" type="byte" offset="9">
            <match value="0x02" type="byte" offset="10"/>
          </match>
        </match>
      </match>
    </magic>
    <glob weight="60" pattern="*.appimage"/>
  </mime-type>

  <mime-type type="application/vnd.snap">
    <comment>Snap package</comment>
    <glob pattern="*.snap"/>
    <sub-class-of type="application/vnd.squashfs"/>
  </mime-type>

  <!-- 3D models and GCODEs -->
  <mime-type type="model/3mf">
    <comment>3MF document</comment>
    <acronym>3MF</acronym>
    <expanded-acronym>3D Manufacturing Format</expanded-acronym>
    <glob pattern="*.3mf"/>
    <alias type="application/vnd.ms-3mfdocument"/>
    <sub-class-of type="application/zip"/>
    <generic-icon name="image-x-generic"/>
  </mime-type>

  <mime-type type="model/stl">
    <comment>STL 3D model</comment>
    <acronym>STL</acronym>
    <expanded-acronym>StereoLithography</expanded-acronym>
    <generic-icon name="image-x-generic"/>
    <magic>
      <match type="string" value="solid" offset="0"/>
      <match type="string" value="SOLID" offset="0"/>
    </magic>
    <glob pattern="*.stl"/>
    <alias type="model/x.stl-ascii"/>
    <alias type="model/x.stl-binary"/>
  </mime-type>

  <mime-type type="text/x.gcode">
    <comment>G-code file</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.gcode"/>
  </mime-type>

  <mime-type type="text/x-gcode-gx">
    <comment>G-code Extended file</comment>
    <magic>
      <match type="string" value="xgcode 1.0" offset="0"/>
    </magic>
    <glob pattern="*.gx"/>
  </mime-type>

  <mime-type type="application/x-fds-disk">
    <comment>Nintendo FDS disk image</comment>
    <acronym>FDS</acronym>
    <expanded-acronym>Famicom Disk System</expanded-acronym>
    <glob pattern="*.fds"/>
    <magic>
      <match type="string" value="*NINTENDO-HVC*" offset="1"/>
    </magic>
  </mime-type>

  <mime-type type="application/ovf">
    <comment>OVF disk image</comment>
    <acronym>OVF</acronym>
    <expanded-acronym>Open Virtualization Format</expanded-acronym>
    <glob pattern="*.ova"/>
    <magic priority="62">
      <match type="string" value=".ovf" offset="1:256">
        <match type="string" value="ustar\0" offset="257"/>
        <match type="string" value="ustar\040\040\0" offset="257"/>
      </match>
    </magic>
    <alias type="application/x-virtualbox-ova"/>
    <sub-class-of type="application/x-tar"/>
  </mime-type>
  <mime-type type="application/x-qed-disk">
    <comment>QEMU QED disk image</comment>
    <acronym>QED</acronym>
    <expanded-acronym>QEMU Enhanced Disk</expanded-acronym>
    <glob pattern="*.qed"/>
    <magic>
      <match type="string" value="QED\0" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-qemu-disk">
    <comment>QEMU QCOW disk image</comment>
    <acronym>QCOW</acronym>
    <expanded-acronym>QEMU Copy On Write</expanded-acronym>
    <glob pattern="*.qcow2"/>
    <glob pattern="*.qcow"/>
    <magic>
      <match type="string" value="QFI" offset="0">
        <match value="0xfb" type="byte" offset="3"/>
      </match>
    </magic>
  </mime-type>
  <mime-type type="application/x-vhd-disk">
    <comment>VHD disk image</comment>
    <acronym>VHD</acronym>
    <expanded-acronym>Virtual Hard Disk</expanded-acronym>
    <glob pattern="*.vhd"/>
    <glob pattern="*.vpc"/>
    <magic>
      <match type="string" value="conectix" offset="0"/>
    </magic>
    <alias type="application/x-virtualbox-vhd"/>
  </mime-type>
  <mime-type type="application/x-vhdx-disk">
    <comment>VHDX disk image</comment>
    <acronym>VHDX</acronym>
    <expanded-acronym>Virtual Hard Disk v2</expanded-acronym>
    <glob pattern="*.vhdx"/>
    <magic>
      <match type="string" value="vhdxfile" offset="0"/>
    </magic>
    <alias type="application/x-virtualbox-vhdx"/>
  </mime-type>
  <mime-type type="application/x-vmdk-disk">
    <comment>VMDK disk image</comment>
    <acronym>VMDK</acronym>
    <expanded-acronym>Virtual Machine Disk</expanded-acronym>
    <glob pattern="*.vmdk"/>
    <magic>
      <match type="string" value="KDMV\x01\x00\x00\x00" offset="0"/>
      <match type="string" value="KDMV\x02\x00\x00\x00" offset="0"/>
    </magic>
    <alias type="application/x-virtualbox-vmdk"/>
  </mime-type>
  <mime-type type="application/x-vdi-disk">
    <comment>VDI disk image</comment>
    <acronym>VDI</acronym>
    <expanded-acronym>Virtual Disk Image</expanded-acronym>
    <glob pattern="*.vdi"/>
    <magic>
      <match type="string" value="&lt;&lt;&lt; QEMU VM Virtual Disk Image >>>\n" offset="0"/>
      <match type="string" value="&lt;&lt;&lt; Oracle VM VirtualBox Disk Image >>>\n" offset="0"/>
      <match type="string" value="&lt;&lt;&lt; Sun VirtualBox Disk Image >>>\n" offset="0"/>
      <match type="string" value="&lt;&lt;&lt; Sun xVM VirtualBox Disk Image >>>\n" offset="0"/>
      <match type="string" value="&lt;&lt;&lt; innotek VirtualBox Disk Image >>>" offset="0"/>
      <match type="string" value="&lt;&lt;&lt; CloneVDI VirtualBox Disk Image >>>\n" offset="0"/>
    </magic>
    <alias type="application/x-virtualbox-vdi"/>
  </mime-type>

  <mime-type type="application/x-appleworks-document">
    <comment>AppleWorks document</comment>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.cwk"/>
  </mime-type>

  <mime-type type="application/x-bps-patch">
    <comment>BPS patch</comment>
    <acronym>BPS</acronym>
    <expanded-acronym>Binary Patching System</expanded-acronym>
    <glob pattern="*.bps"/>
    <magic>
      <match type="string" value="BPS1" offset="0"/>
    </magic>
  </mime-type>

  <mime-type type="application/x-ips-patch">
    <comment>IPS patch</comment>
    <acronym>IPS</acronym>
    <expanded-acronym>International Patching System</expanded-acronym>
    <glob pattern="*.ips"/>
    <magic>
      <match type="string" value="PATCH" offset="0"/>
    </magic>
  </mime-type>

  <mime-type type="application/x-pyspread-spreadsheet">
    <comment>Pyspread spreadsheet</comment>
    <glob pattern="*.pysu"/>
    <magic>
      <match type="string" value="[Pyspread save file version]" offset="0"/>
    </magic>
    <generic-icon name="x-office-spreadsheet"/>
  </mime-type>
  <mime-type type="application/x-pyspread-bz-spreadsheet">
    <comment>Pyspread spreadsheet (bzip2-compressed)</comment>
    <sub-class-of type="application/x-bzip2"/>
    <glob pattern="*.pys"/>
    <generic-icon name="x-office-spreadsheet"/>
  </mime-type>

  <mime-type type="text/x-kotlin">
    <comment>Kotlin source code</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.kt"/>
  </mime-type>

  <mime-type type="text/x-devicetree-source">
    <comment>Devicetree source code</comment>
    <acronym>DTS</acronym>
    <expanded-acronym>Device Tree Source</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.dts"/>
    <glob pattern="*.dtsi"/>
    <magic>
      <match type="string" mask="0x8080" value="\000\000" offset="0">
        <match type="string" value="/dts-v1/" offset="0:4080"/>
      </match>
    </magic>
    <magic priority="40">
      <match type="string" mask="0x8080" value="\000\000" offset="0">
        <match type="string" value="/ {" offset="0:4090"/>
        <match type="string" value="include " offset="0:4080">
          <match type="string" value=".dts" offset="10:4090"/>
        </match>
      </match>
    </magic>
  </mime-type>

  <mime-type type="text/x-devicetree-binary">
    <comment>Flattened Devicetree</comment>
    <acronym>DTB</acronym>
    <expanded-acronym>Device Tree Binary</expanded-acronym>
    <glob pattern="*.dtb"/>
    <magic>
      <match type="big32" value="0xd00dfeed" offset="0"/>
    </magic>
  </mime-type>

  <mime-type type="image/avif">
    <comment>AVIF image</comment>
    <acronym>AVIF</acronym>
    <expanded-acronym>AV1 Image File Format</expanded-acronym>
    <magic>
      <match type="string" value="ftypavif" offset="4"/>
      <match type="string" value="ftypavis" offset="4"/>
      <match type="string" value="ftypmif1" offset="4">
        <match type="string" value="avif" offset="16"/>
        <match type="string" value="avif" offset="20"/>
        <match type="string" value="avif" offset="24"/>
      </match>
    </magic>
    <glob pattern="*.avif"/>
    <glob pattern="*.avifs"/>
    <alias type="image/avif-sequence"/>
  </mime-type>

  <mime-type type="image/qoi">
    <comment>Quite OK Image Format</comment>
    <magic>
      <match type="string" value="qoif" offset="0"/>
    </magic>
    <glob pattern="*.qoi"/>
  </mime-type>

  <mime-type type="video/vnd.radgamettools.bink">
    <comment>Bink Video</comment>
    <magic>
      <match type="string" value="BIK" offset="0">
        <match type="string" value="b" offset="3"/>
        <match type="string" value="f" offset="3"/>
        <match type="string" value="g" offset="3"/>
        <match type="string" value="h" offset="3"/>
        <match type="string" value="i" offset="3"/>
      </match>
      <match type="string" value="KB2" offset="0">
        <match type="string" value="a" offset="3"/>
        <match type="string" value="d" offset="3"/>
        <match type="string" value="f" offset="3"/>
        <match type="string" value="g" offset="3"/>
        <match type="string" value="h" offset="3"/>
        <match type="string" value="i" offset="3"/>
        <match type="string" value="j" offset="3"/>
        <match type="string" value="k" offset="3"/>
      </match>
    </magic>
    <glob pattern="*.bik"/>
    <glob pattern="*.bk2"/>
  </mime-type>
  <mime-type type="video/vnd.radgamettools.smacker">
    <comment>Smacker Video</comment>
    <magic>
      <match type="string" value="SMK" offset="0">
        <match type="string" value="2" offset="3"/>
        <match type="string" value="4" offset="3"/>
      </match>
    </magic>
    <glob pattern="*.smk"/>
  </mime-type>
  <mime-type type="text/org">
    <comment>Org-mode file</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.org"/>
  </mime-type>
  <mime-type type="application/x-openzim">
    <comment>OpenZIM file</comment>
    <acronym>ZIM</acronym>
    <expanded-acronym>Zeno IMproved</expanded-acronym>
    <glob pattern="*.zim"/>
    <magic>
      <match type="string" value="\x5a\x49\x4d\x04" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/sparql-query">
    <comment>SPARQL query</comment>
    <acronym>SPARQL</acronym>
    <expanded-acronym>SPARQL Protocol and RDF Query Language</expanded-acronym>
    <glob pattern="*.qs"/>
    <magic priority="40">
      <match type="string" value="PREFIX" offset="0"/>
    </magic>
  </mime-type>
    <mime-type type="application/sparql-results+xml">
    <comment>SPARQL query results</comment>
    <acronym>SPARQL</acronym>
    <expanded-acronym>SPARQL Protocol and RDF Query Language</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <root-XML namespaceURI="http://www.w3.org/2005/sparql-results#" localName="sparql"/>
    <glob pattern="*.srx"/>
  </mime-type>
  <mime-type type="application/wasm">
    <comment>WASM binary module</comment>
    <acronym>WASM</acronym>
    <expanded-acronym>Web Assembly</expanded-acronym>
    <glob pattern="*.wasm"/>
    <magic>
      <match type="string" value="\000asm" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-openvpn-profile">
    <comment>OpenVPN profile</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.openvpn"/>
    <glob pattern="*.ovpn"/>
  </mime-type>
  <mime-type type="application/x-modrinth-modpack+zip">
    <comment>Modrinth Modpack</comment>
    <sub-class-of type="application/zip"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.mrpack"/>
  </mime-type>
  <mime-type type="application/cbor">
    <comment>CBOR Data</comment>
    <acronym>CBOR</acronym>
    <expanded-acronym>Concise Binary Object Representation</expanded-acronym>
    <glob pattern="*.cbor"/>
  </mime-type>
  <mime-type type="application/x-eris-link+cbor">
    <comment>ERIS Link</comment>
    <acronym>ERIS</acronym>
    <expanded-acronym>Encoding for Robust Immutable Storage</expanded-acronym>
    <sub-class-of type="application/cbor"/>
    <glob pattern="*.eris"/>
    <magic priority="90">
      <match type="string" value="\xD9\xD9\xF7\x84\xD9\x01\x14\x58\x42" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/vnd.gerber">
    <comment>Gerber file</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.gbr"/>
    <!--Try to match with some common opening commands-->
    <magic>
      <!--A comment line-->
      <match type="string" value="G04 " offset="0"/>
      <!--Some setup macros-->
      <match type="string" value="%FSLA" offset="0"/>
      <match type="string" value="%MO" offset="0"/>
      <match type="string" value="%TF." offset="0"/>
      <!--Seems to be common with files exported from some programs-->
      <match type="string" value="G75*" offset="0"/>
    </magic>
    <generic-icon name="text-x-generic"/>
    <!--Already being used as the MIME identifier by some programs-->
    <alias type="application/x-gerber"/>
  </mime-type>
  <mime-type type="application/x-gerber-job">
    <comment>Gerber job file</comment>
    <sub-class-of type="application/json"/>
    <glob pattern="*.gbrjob"/>
    <generic-icon name="text-x-generic"/>
  </mime-type>
  <mime-type type="application/x-excellon">
    <comment>Excellon drill file</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.drl"/>
    <magic>
      <!--This is always the header for an excellon drill file-->
      <match type="string" value="M48\n" offset="0"/>
    </magic>
    <generic-icon name="text-x-generic"/>
  </mime-type>
  <mime-type type="application/x-tiled-tmx">
    <comment>Tiled map files</comment>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.tmx"/>
  </mime-type>
  <mime-type type="application/x-tiled-tsx">
    <comment>Tiled tileset files</comment>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.tsx"/>
  </mime-type>
</mime-info>
