1 Title: What is the most supported MIME type in Debian in 2018?
2 Tags: english, debian, isenkram
6 <a href="http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html">I
7 measured what the most supported MIME type in Debian was</a>, by
8 analysing the desktop files in all packages in the archive. Since
9 then, the DEP-11 AppStream system has been put into production, making
10 the task a lot easier. This made me want to repeat the measurement,
11 to see how much things changed. Here are the new numbers, for
12 unstable only this time:
14 <p><strong>Debian Unstable:</strong></p>
18 ----- -----------------------
31 29 image/x-portable-pixmap
33 27 image/x-portable-bitmap
41 <p>The list was created like this using a sid chroot: "cat
42 /var/lib/apt/lists/*sid*_dep11_Components-amd64.yml.gz| zcat | awk '/^
43 - \S+\/\S+$/ {print $2 }' | sort | uniq -c | sort -nr | head -20"</p>
45 <p>It is interesting to see how image formats have passed text/plain
46 as the most announced supported MIME type. These days, thanks to the
47 AppStream system, if you run into a file format you do not know, and
48 want to figure out which packages support the format, you can find the
49 MIME type of the file using "file --mime <filename>", and then
50 look up all packages announcing support for this format in their
51 AppStream metadata (XML or .desktop file) using "appstreamcli
52 what-provides mimetype <mime-type>. For example if you, like
53 me, want to know which packages support inode/directory, you can get a
57 % appstreamcli what-provides mimetype inode/directory | grep Package: | sort
64 Package: doublecmd-common
66 Package: enlightenment
86 </pre></blockquote></p>
88 <p>Using the same method, I can quickly discover that the Sketchup file
89 format is not yet supported by any package in Debian:</p>
92 % appstreamcli what-provides mimetype application/vnd.sketchup.skp
93 Could not find component providing 'mimetype::application/vnd.sketchup.skp'.
95 </pre></blockquote></p>
97 <p>Yesterday I used it to figure out which packages support the STL 3D
101 % appstreamcli what-provides mimetype application/sla|grep Package
106 </pre></blockquote></p>
108 <p>PS: A new version of Cura was uploaded to Debian yesterday.</p>
110 <p>As usual, if you use Bitcoin and want to show your support of my
111 activities, please send Bitcoin donations to my address
112 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>