1 <?xml version="1.0" encoding="UTF-8"?>
4 This file allows freedesktop.org-compliant desktops (such as GNOME and
5 KDE) to know which files should be opened by what program (and what icon
6 to show for the file in a file browser).
8 Both magic and file name glob patterns are supported; glob patterns are
9 preferred since they don't require opening and reading part of
10 the file to determine its type.
12 The specification for this file can be found here:
13 https://standards.freedesktop.org/shared-mime-info-spec/latest/
16 Note that ideally the MIME types listed here should be IANA-registered:
18 https://www.iana.org/assignments/media-types/media-types.xhtml
20 If your file type is not registered then using one of the
21 (not-really-a-good-idea and deprecated) x- media types is the only option
22 if you want files to be associated with Wireshark in
23 freedesktop.org-compliant file browsers.
26 NOTE: if you do add a MIME type here, don't forget to add it to the list
27 of MIME types handled by Wireshark in org.wireshark.Stratoshark.desktop.
30 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
31 <mime-type type="application/x-scap">
32 <comment>Sysdig Capture (scap)</comment>
33 <generic-icon name="org.wireshark.Stratoshark-mimetype"/>
35 <match type="big32" offset="0" value="0x0a0d0d0a">
36 <match type="big32" offset="8" value="0x1a2b3c4d"/>
38 <match type="little32" offset="0" value="0x0a0d0d0a">
39 <match type="little32" offset="8" value="0x1a2b3c4d"/>
42 <glob pattern="*.scap"/>
43 <glob pattern="*.scap.gz"/>