This file is indexed.

/usr/share/mime/packages/qgis.xml is in qgis-common 2.18.17+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>

  <mime-type type="application/x-qgis-project">
    <comment>QGIS Project</comment>
    <comment xml:lang="de">QGIS-Projekt</comment>
    <sub-class-of type="application/xml"/>
    <alias type="application/x-qgis"/>
    <icon name="qgis-qgs"/>
    <magic priority="50">
      <match type="string" offset="0" value="&lt;!DOCTYPE qgis">
        <match type="string" offset="0:256" value="&lt;qgis projectname"/>
      </match>
    </magic>
    <glob pattern="*.qgs"/>
  </mime-type>

  <mime-type type="application/x-qgis-layer-settings">
    <comment>QGIS layer settings</comment>
    <comment xml:lang="de">QGIS-Layereinstellungen</comment>
    <sub-class-of type="application/xml"/>
    <icon name="qgis-qml"/>
    <magic priority="50">
      <match type="string" offset="0" value="&lt;!DOCTYPE qgis">
        <match type="string" offset="0:256" value="&lt;qgis version"/>
      </match>
    </magic>
    <glob pattern="*.qml"/>
  </mime-type>
  
  <mime-type type="application/x-qgis-layer-definition">
    <comment>QGIS layer definition</comment>
    <comment xml:lang="de">QGIS-Layerdefinition</comment>
    <sub-class-of type="application/xml"/>
    <icon name="qgis-qlr"/>
    <magic priority="50">
      <match type="string" offset="0" value="&lt;!DOCTYPE qgis">
        <match type="string" offset="0:256" value="&lt;qgis version"/>
      </match>
    </magic>
    <glob pattern="*.qlr"/>
  </mime-type>

  <mime-type type="application/x-qgis-composer-template">
    <comment>QGIS composer template</comment>
    <comment xml:lang="de">QGIS-Druckzusammenstellungsvorlage</comment>
    <sub-class-of type="application/xml"/>
    <icon name="qgis-qpt"/>
    <magic priority="50">
      <match type="string" offset="0" value="&lt;!DOCTYPE qgis">
        <match type="string" offset="0:256" value="&lt;qgis version"/>
      </match>
    </magic>
    <glob pattern="*.qpt"/>
  </mime-type>

  <mime-type type="application/x-esri-shape">
    <comment>ESRI shape file</comment>
    <comment xml:lang="de">ESRI-Shapedatei</comment>
    <icon name="qgis-mime"/>
    <magic priority="100">
      <match type="big32" offset="0" value="9994">
        <match type="big32" offset="4" value="0">
          <match type="big32" offset="8" value="0">
            <match type="big32" offset="12" value="0">
              <match type="big32" offset="16" value="0">
                <match type="big32" offset="20" value="0">
                  <match type="big32" offset="28" value="1000"/>
		</match>
              </match>
	    </match>
	  </match>
	</match>
      </match>
    </magic>
    <glob pattern="*.shp"/>
    <glob pattern="*.shx"/>
  </mime-type>

  <mime-type type="application/x-esri-crs">
    <comment>ESRI coordinate reference system</comment>
    <comment xml:lang="de">ESRI-Koordinatenreferenzsystem</comment>
    <icon name="qgis-mime"/>
    <magic>
      <match type="string" offset="0" value="GEOGCS["/>
      <match type="string" offset="0" value="PROJCS["/>
      <match type="string" offset="0" value="LOCAL_CS["/>
    </magic>
    <glob pattern="*.prj"/>
  </mime-type>

  <mime-type type="image/tiff">
    <comment>TIFF raster data</comment>
    <comment xml:lang="de">TIFF-Rasterdaten</comment>
    <icon name="qgis-mime"/>
    <magic priority="50">
      <match type="string" offset="0" value="MM">
        <match type="little16" offset="2" value="42"/>
      </match>
      <match type="string" offset="0" value="MM">
        <match type="big16" offset="2" value="42"/>
      </match>
    </magic>
    <glob pattern="*.tiff"/>
    <glob pattern="*.tif"/>
  </mime-type>

  <mime-type type="image/jpeg">
    <comment>JPEG raster data</comment>
    <comment xml:lang="de">JPEG-Rasterdaten</comment>
    <icon name="qgis-mime"/>
    <magic priority="50">
       <match type="big16" offset="0" value="65496"/>
    </magic>
    <glob pattern="*.jpeg"/>
    <glob pattern="*.jpg"/>
  </mime-type>

  <mime-type type="image/jp2">
    <comment>JPEG2000 raster data</comment>
    <comment xml:lang="de">JPEG2000-Rasterdaten</comment>
    <icon name="qgis-mime"/>
    <magic priority="50">
      <match type="little32" offset="0" value="12">
        <match type="string" offset="8" value="jP">
          <match type="byte" offset="10" value="32">
            <match type="byte" offset="11" value="32">
              <match type="byte" offset="12" value="13">
                <match type="byte" offset="13" value="10">
                  <match type="byte" offset="14" value="135">
                    <match type="byte" offset="13" value="10"/>
		  </match>
                </match>
              </match>
            </match>
          </match>
        </match>
      </match>
    </magic>
    <glob pattern="*.jp2"/>
    <glob pattern="*.j2k"/>
  </mime-type>

  <mime-type type="application/x-raster-aig">
    <comment>AIG raster data</comment>
    <comment xml:lang="de">AIG-Rasterdaten</comment>
    <icon name="qgis-mime"/>
    <glob pattern="*.aig"/>
  </mime-type>

  <mime-type type="application/x-raster-ecw">
    <comment>ECW raster data</comment>
    <comment xml:lang="de">ECW-Rasterdaten</comment>
    <icon name="qgis-mime"/>
    <glob pattern="*.ecw"/>
  </mime-type>

  <mime-type type="application/x-raster-mrsid">
    <comment>MrSID raster data</comment>
    <comment xml:lang="de">MrSID-Rasterdaten</comment>
    <icon name="qgis-mime"/>
    <glob pattern="*.sid"/>
  </mime-type>

  <mime-type type="application/x-mapinfo-mif">
    <comment>MapInfo file</comment>
    <comment xml:lang="de">MapInfo-Datei</comment>
    <icon name="qgis-mime"/>
    <magic priority="51">
      <match type="string" offset="0" value="VERSION">
        <match type="string" offset="0:512" value="COLUMNS"/>
          <match type="string" offset="0:512" value="DATA">
        </match>
      </match>
    </magic>
    <glob weight="60" pattern="*.mif"/>
  </mime-type>

  <!-- .mif is just not good enough -->
  <mime-type type="application/x-adobe-mif">
    <alias type="application/x-mif"/>
    <comment>Adobe FrameMaker MIF file</comment>
    <magic priority="100">
      <match type="string" offset="0" value="&lt;MIFFile"/>
    </magic>
    <glob weight="51" pattern="*.mif"/>
  </mime-type>

</mime-info>