diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /resources/freedesktop/org.wireshark.Logray-mime.xml | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'resources/freedesktop/org.wireshark.Logray-mime.xml')
-rw-r--r-- | resources/freedesktop/org.wireshark.Logray-mime.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/resources/freedesktop/org.wireshark.Logray-mime.xml b/resources/freedesktop/org.wireshark.Logray-mime.xml new file mode 100644 index 00000000..3b49e2dd --- /dev/null +++ b/resources/freedesktop/org.wireshark.Logray-mime.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + This file allows freedesktop.org-compliant desktops (such as GNOME and + KDE) to know which files should be opened by what program (and what icon + to show for the file in a file browser). + + Both magic and file name glob patterns are supported; glob patterns are + preferred since they don't require opening and reading part of + the file to determine its type. + + The specification for this file can be found here: + https://standards.freedesktop.org/shared-mime-info-spec/latest/ + + + Note that ideally the MIME types listed here should be IANA-registered: + + https://www.iana.org/assignments/media-types/media-types.xhtml + + If your file type is not registered then using one of the + (not-really-a-good-idea and deprecated) x- media types is the only option + if you want files to be associated with Wireshark in + freedesktop.org-compliant file browsers. + + + NOTE: if you do add a MIME type here, don't forget to add it to the list + of MIME types handled by Wireshark in org.wireshark.Logray.desktop. +--> + +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-scap"> + <comment>Sysdig Capture (scap)</comment> + <generic-icon name="org.wireshark.Logray-mimetype"/> + <magic> + <match type="big32" offset="0" value="0x0a0d0d0a"> + <match type="big32" offset="8" value="0x1a2b3c4d"/> + </match> + <match type="little32" offset="0" value="0x0a0d0d0a"> + <match type="little32" offset="8" value="0x1a2b3c4d"/> + </match> + </magic> + <glob pattern="*.scap"/> + <glob pattern="*.scap.gz"/> + </mime-type> +</mime-info> |