1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" dir=
"ltr">
5 <meta http-equiv=
"Content-Type" content=
"text/html;charset=utf-8" />
6 <title>Petter Reinholdtsen
</title>
7 <link rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"http://people.skolelinux.org/pere/blog/style.css" />
8 <link rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"http://people.skolelinux.org/pere/blog/vim.css" />
9 <link rel=
"alternate" title=
"RSS Feed" href=
"http://people.skolelinux.org/pere/blog/index.rss" type=
"application/rss+xml" />
14 <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a>
23 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/The_new__best__multimedia_player_in_Debian_.html">The new "best" multimedia player in Debian?
</a></div>
24 <div class=
"date"> 6th June
2016</div>
25 <div class=
"body"><p>When I set out a few weeks ago to figure out
26 <a href=
"http://people.skolelinux.org/pere/blog/What_is_the_best_multimedia_player_in_Debian_.html">which
27 multimedia player in Debian claimed to support most file formats /
28 MIME types
</a>, I was a bit surprised how varied the sets of MIME types
29 the various players claimed support for. The range was from
55 to
130
30 MIME types. I suspect most media formats are supported by all
31 players, but this is not really reflected in the MimeTypes values in
32 their desktop files. There are probably also some bogus MIME types
33 listed, but it is hard to identify which one this is.
</p>
35 <p>Anyway, in the mean time I got in touch with upstream for some of
36 the players suggesting to add more MIME types to their desktop files,
37 and decided to spend some time myself improving the situation for my
38 favorite media player VLC. The fixes for VLC entered Debian unstable
39 yesterday. The complete list of MIME types can be seen on the
40 <a href=
"https://wiki.debian.org/DebianMultimedia/PlayerSupport">Multimedia
41 player MIME type support status
</a> Debian wiki page.
</p>
43 <p>The new "best" multimedia player in Debian? It is VLC, followed by
44 totem, parole, kplayer, gnome-mpv, mpv, smplayer, mplayer-gui and
45 kmplayer. I am sure some of the other players desktop files support
46 several of the formats currently listed as working only with vlc,
49 <p>A sad observation is that only
14 MIME types are listed as
50 supported by all the tested multimedia players in Debian in their
51 desktop files: audio/mpeg, audio/vnd.rn-realaudio, audio/x-mpegurl,
52 audio/x-ms-wma, audio/x-scpls, audio/x-wav, video/mp4, video/mpeg,
53 video/quicktime, video/vnd.rn-realvideo, video/x-matroska,
54 video/x-ms-asf, video/x-ms-wmv and video/x-msvideo. Personally I find
55 it sad that video/ogg and video/webm is not supported by all the media
56 players in Debian. As far as I can tell, all of them can handle both
62 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>.
67 <div class=
"padding"></div>
70 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/A_program_should_be_able_to_open_its_own_files_on_Linux.html">A program should be able to open its own files on Linux
</a></div>
71 <div class=
"date"> 5th June
2016</div>
72 <div class=
"body"><p>Many years ago, when koffice was fresh and with few users, I
73 decided to test its presentation tool when making the slides for a
74 talk I was giving for NUUG on Japhar, a free Java virtual machine. I
75 wrote the first draft of the slides, saved the result and went to bed
76 the day before I would give the talk. The next day I took a plane to
77 the location where the meeting should take place, and on the plane I
78 started up koffice again to polish the talk a bit, only to discover
79 that kpresenter refused to load its own data file. I cursed a bit and
80 started making the slides again from memory, to have something to
81 present when I arrived. I tested that the saved files could be
82 loaded, and the day seemed to be rescued. I continued to polish the
83 slides until I suddenly discovered that the saved file could no longer
84 be loaded into kpresenter. In the end I had to rewrite the slides
85 three times, condensing the content until the talk became shorter and
86 shorter. After the talk I was able to pinpoint the problem
–
87 kpresenter wrote inline images in a way itself could not understand.
88 Eventually that bug was fixed and kpresenter ended up being a great
89 program to make slides. The point I'm trying to make is that we
90 expect a program to be able to load its own data files, and it is
91 embarrassing to its developers if it can't.
</p>
93 <p>Did you ever experience a program failing to load its own data
94 files from the desktop file browser? It is not a uncommon problem. A
95 while back I discovered that the screencast recorder
96 gtk-recordmydesktop would save an Ogg Theora video file the KDE file
97 browser would refuse to open. No video player claimed to understand
98 such file. I tracked down the cause being
<tt>file --mime-type
</tt>
99 returning the application/ogg MIME type, which no video player I had
100 installed listed as a MIME type they would understand. I asked for
101 <a href=
"http://bugs.gw.com/view.php?id=382">file to change its
102 behavour
</a> and use the MIME type video/ogg instead. I also asked
103 several video players to add video/ogg to their desktop files, to give
104 the file browser an idea what to do about Ogg Theora files. After a
105 while, the desktop file browsers in Debian started to handle the
106 output from gtk-recordmydesktop properly.
</p>
108 <p>But history repeats itself. A few days ago I tested the music
109 system Rosegarden again, and I discovered that the KDE and xfce file
110 browsers did not know what to do with the Rosegarden project files
111 (*.rg). I've reported
<a href=
"http://bugs.debian.org/825993">the
112 rosegarden problem to BTS
</a> and a fix is commited to git and will be
113 included in the next upload. To increase the chance of me remembering
114 how to fix the problem next time some program fail to load its files
115 from the file browser, here are some notes on how to fix it.
</p>
117 <p>The file browsers in Debian in general operates on MIME types.
118 There are two sources for the MIME type of a given file. The output from
119 <tt>file --mime-type
</tt> mentioned above, and the content of the
120 shared MIME type registry (under /usr/share/mime/). The file MIME
121 type is mapped to programs supporting the MIME type, and this
122 information is collected from
123 <a href=
"https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/">the
124 desktop files
</a> available in /usr/share/applications/. If there is
125 one desktop file claiming support for the MIME type of the file, it is
126 activated when asking to open a given file. If there are more, one
127 can normally select which one to use by right-clicking on the file and
128 selecting the wanted one using 'Open with' or similar. In general
129 this work well. But it depend on each program picking a good MIME
131 <a href=
"http://www.iana.org/assignments/media-types/media-types.xhtml">a
132 MIME type registered with IANA
</a>), file and/or the shared MIME
133 registry recognizing the file and the desktop file to list the MIME
134 type in its list of supported MIME types.
</p>
136 <p>The
<tt>/usr/share/mime/packages/rosegarden.xml
</tt> entry for
137 <a href=
"http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec">the
138 Shared MIME database
</a> look like this:
</p>
141 <?xml
version="
1.0"
encoding="UTF-
8"?
>
142 <mime-info
xmlns="http://www.freedesktop.org/standards/shared-mime-info"
>
143 <mime-type
type="audio/x-rosegarden"
>
144 <sub-class-of
type="application/x-gzip"/
>
145 <comment
>Rosegarden project file
</comment
>
146 <glob
pattern="*.rg"/
>
149 </pre></blockquote></p>
151 <p>This states that audio/x-rosegarden is a kind of application/x-gzip
152 (it is a gzipped XML file). Note, it is much better to use an
153 official MIME type registered with IANA than it is to make up ones own
154 unofficial ones like the x-rosegarden type used by rosegarden.
</p>
156 <p>The desktop file of the rosegarden program failed to list
157 audio/x-rosegarden in its list of supported MIME types, causing the
158 file browsers to have no idea what to do with *.rg files:
</p>
161 % grep Mime /usr/share/applications/rosegarden.desktop
162 MimeType=audio/x-rosegarden-composition;audio/x-rosegarden-device;audio/x-rosegarden-project;audio/x-rosegarden-template;audio/midi;
163 X-KDE-NativeMimeType=audio/x-rosegarden-composition
165 </pre></blockquote></p>
167 <p>The fix was to add "audio/x-rosegarden;" at the end of the
170 <p>If you run into a file which fail to open the correct program when
171 selected from the file browser, please check out the output from
172 <tt>file --mime-type
</tt> for the file, ensure the file ending and
173 MIME type is registered somewhere under /usr/share/mime/ and check
174 that some desktop file under /usr/share/applications/ is claiming
175 support for this MIME type. If not, please report a bug to have it
181 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
186 <div class=
"padding"></div>
189 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Tor___from_its_creators_mouth_11_years_ago.html">Tor - from its creators mouth
11 years ago
</a></div>
190 <div class=
"date">28th May
2016</div>
191 <div class=
"body"><p>A little more than
11 years ago, one of the creators of Tor, and
192 the current President of
<a href=
"https://www.torproject.org/">the Tor
193 project
</a>, Roger Dingledine, gave a talk for the members of the
194 <a href=
"http://www.nuug.no/">Norwegian Unix User group
</a> (NUUG). A
195 video of the talk was recorded, and today, thanks to the great help
196 from David Noble, I finally was able to publish the video of the talk
197 on Frikanalen, the Norwegian open channel TV station where NUUG
198 currently publishes its talks. You can
199 <a href=
"http://frikanalen.no/se">watch the live stream using a web
200 browser
</a> with WebM support, or check out the recording on the video
201 on demand page for the talk
202 "
<a href=
"http://beta.frikanalen.no/video/625599">Tor: Anonymous
203 communication for the US Department of Defence...and you.
</a>".</p>
205 <p>Here is the video included for those of you using browsers with
206 HTML video and Ogg Theora support:</p>
208 <p><video width="70%
" poster="http://simula.gunkies.org/media/
625599/large_thumb/
20050421-tor-frikanalen.jpg
" controls>
209 <source src="http://simula.gunkies.org/media/
625599/theora/
20050421-tor-frikanalen.ogv
" type="video/ogg
"/>
212 <p>I guess the gist of the talk can be summarised quite simply: If you
213 want to help the military in USA (and everyone else), use Tor. :)</p>
218 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/frikanalen
">frikanalen</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug
">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video
">video</a>.
223 <div class="padding
"></div>
226 <div class="title
"><a href="http://people.skolelinux.org/pere/blog/Isenkram_with_PackageKit_support___new_version_0_23_available_in_Debian_unstable.html
">Isenkram with PackageKit support - new version 0.23 available in Debian unstable</a></div>
227 <div class="date
">25th May 2016</div>
228 <div class="body
"><p><a href="https://tracker.debian.org/pkg/isenkram
">The isenkram
229 system</a> is a user-focused solution in Debian for handling hardware
230 related packages. The idea is to have a database of mappings between
231 hardware and packages, and pop up a dialog suggesting for the user to
232 install the packages to use a given hardware dongle. Some use cases
233 are when you insert a Yubikey, it proposes to install the software
234 needed to control it; when you insert a braille reader list it
235 proposes to install the packages needed to send text to the reader;
236 and when you insert a ColorHug screen calibrator it suggests to
237 install the driver for it. The system work well, and even have a few
238 command line tools to install firmware packages and packages for the
239 hardware already in the machine (as opposed to hotpluggable hardware).</p>
241 <p>The system was initially written using aptdaemon, because I found
242 good documentation and example code on how to use it. But aptdaemon
243 is going away and is generally being replaced by
244 <a href="http://www.freedesktop.org/software/PackageKit/
">PackageKit</a>,
245 so Isenkram needed a rewrite. And today, thanks to the great patch
246 from my college Sunil Mohan Adapa in the FreedomBox project, the
247 rewrite finally took place. I've just uploaded a new version of
248 Isenkram into Debian Unstable with the patch included, and the default
249 for the background daemon is now to use PackageKit. To check it out,
250 install the <tt>isenkram</tt> package and insert some hardware dongle
251 and see if it is recognised.</p>
253 <p>If you want to know what kind of packages isenkram would propose for
254 the machine it is running on, you can check out the isenkram-lookup
255 program. This is what it look like on a Thinkpad X230:</p>
273 </pre></blockquote></p>
275 <p>The hardware mappings come from several places. The preferred way
276 is for packages to announce their hardware support using
277 <a href="https://www.freedesktop.org/software/appstream/docs/
">the
278 cross distribution appstream system</a>.
280 <a href="http://people.skolelinux.org/pere/blog/tags/isenkram/
">previous
281 blog posts about isenkram</a> to learn how to do that.</p>
286 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian
">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/isenkram
">isenkram</a>.
291 <div class="padding
"></div>
294 <div class="title
"><a href="http://people.skolelinux.org/pere/blog/Discharge_rate_estimate_in_new_battery_statistics_collector_for_Debian.html
">Discharge rate estimate in new battery statistics collector for Debian</a></div>
295 <div class="date
">23rd May 2016</div>
296 <div class="body
"><p>Yesterday I updated the
297 <a href="https://tracker.debian.org/pkg/battery-stats
">battery-stats
298 package in Debian</a> with a few patches sent to me by skilled and
299 enterprising users. There were some nice user and visible changes.
300 First of all, both desktop menu entries now work. A design flaw in
301 one of the script made the history graph fail to show up (its PNG was
302 dumped in ~/.xsession-errors) if no controlling TTY was available.
303 The script worked when called from the command line, but not when
304 called from the desktop menu. I changed this to look for a DISPLAY
305 variable or a TTY before deciding where to draw the graph, and now the
306 graph window pop up as expected.</p>
308 <p>The next new feature is a discharge rate estimator in one of the
309 graphs (the one showing the last few hours). New is also the user of
310 colours showing charging in blue and discharge in red. The percentages
311 of this graph is relative to last full charge, not battery design
314 <p align="center
"><img src="http://people.skolelinux.org/pere/blog/images/
2016-
05-
23-battery-stats-rate.png
"/></p>
316 <p>The other graph show the entire history of the collected battery
317 statistics, comparing it to the design capacity of the battery to
318 visualise how the battery life time get shorter over time. The red
319 line in this graph is what the previous graph considers 100 percent:
321 <p align="center
"><img src="http://people.skolelinux.org/pere/blog/images/
2016-
05-
23-battery-stats-history.png
"/></p>
323 <p>In this graph you can see that I only charge the battery to 80
324 percent of last full capacity, and how the capacity of the battery is
327 <p>The last new feature is in the collector, which now will handle
328 more hardware models. On some hardware, Linux power supply
329 information is stored in /sys/class/power_supply/ACAD/, while the
330 collector previously only looked in /sys/class/power_supply/AC/. Now
331 both are checked to figure if there is power connected to the
334 <p>If you are interested in how your laptop battery is doing, please
336 <a href="https://tracker.debian.org/pkg/battery-stats
">battery-stats</a>
337 in Debian unstable, or rebuild it on Jessie to get it working on
338 Debian stable. :) The upstream source is available from <a
339 href="https://github.com/petterreinholdtsen/battery-stats
">github</a>.
340 Patches are very welcome.</p>
342 <p>As usual, if you use Bitcoin and want to show your support of my
343 activities, please send Bitcoin donations to my address
344 <b><a href="bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
349 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian
">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>.
354 <div class="padding
"></div>
357 <div class="title
"><a href="http://people.skolelinux.org/pere/blog/French_edition_of_Lawrence_Lessigs_book_Cultura_Libre_on_Amazon_and_Barnes___Noble.html
">French edition of Lawrence Lessigs book Cultura Libre on Amazon and Barnes & Noble</a></div>
358 <div class="date
">21st May 2016</div>
359 <div class="body
"><p>A few weeks ago the French paperback edition of Lawrence Lessigs
360 2004 book Cultura Libre was published. Today I noticed that the book
361 is now available from book stores. You can now buy it from
362 <a href="http://www.amazon.com/Culture-Libre-French-Lawrence-Lessig/dp/
8269018260">Amazon</a>
364 <a href="http://www.barnesandnoble.com/w/culture-libre-lawrence-lessig/
1123776705">Barnes
365 & Noble</a> ($?) and as always from
366 <a href="http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-
22645082.html
">Lulu.com</a>
367 ($19.99). The revenue is donated to the Creative Commons project. If
368 you buy from Lulu.com, they currently get $10.59, while if you buy
369 from one of the book stores most of the revenue go to the book store
370 and the Creative Commons project get much (not sure how much
373 <p>I was a bit surprised to discover that there is a kindle edition
374 sold by Amazon Digital Services LLC on Amazon. Not quite sure how
375 that edition was created, but if you want to download a electronic
376 edition (PDF, EPUB, Mobi) generated from the same files used to create
377 the paperback edition, they are
378 <a href="https://github.com/petterreinholdtsen/free-culture-lessig
">available
384 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/docbook
">docbook</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/freeculture
">freeculture</a>.
389 <div class="padding
"></div>
392 <div class="title
"><a href="http://people.skolelinux.org/pere/blog/I_want_the_courts_to_be_involved_before_the_police_can_hijack_a_news_site_DNS_domain___domstolkontroll_.html
">I want the courts to be involved before the police can hijack a news site DNS domain (#domstolkontroll)</a></div>
393 <div class="date
">19th May 2016</div>
394 <div class="body
"><p>I just donated to the
395 <a href="http://www.nuug.no/dns-beslag-donasjon.shtml
">NUUG defence
396 "fond"
</a> to fund the effort in Norway to get the seizure of the news
397 site popcorn-time.no tested in court. I hope everyone that agree with
398 me will do the same.
</p>
400 <p>Would you be worried if you knew the police in your country could
401 hijack DNS domains of news sites covering free software system without
402 talking to a judge first? I am. What if the free software system
403 combined search engine lookups, bittorrent downloads and video playout
404 and was called Popcorn Time? Would that affect your view? It still
407 <p>In March
2016, the Norwegian police seized (as in forced NORID to
408 change the IP address pointed to by it to one controlled by the
409 police) the DNS domain popcorn-time.no, without any supervision from
410 the courts. I did not know about the web site back then, and assumed
411 the courts had been involved, and was very surprised when I discovered
412 that the police had hijacked the DNS domain without asking a judge for
413 permission first. I was even more surprised when I had a look at
414 <a href=
"https://web.archive.org/web/*/http://popcorn-time.no">the web
415 site content on the Internet Archive
</A>, and only found news coverage
416 about Popcorn Time, not any material published without the right
417 holders permissions.
</p>
419 <p>The seizure was widely covered in the Norwegian press (see for
420 example
<a href=
"http://www.hegnar.no/Nyheter/Naeringsliv/2016/03/Popcorn-time.no-beslaglagt-av-OEkokrim">Hegnar Online
</a> and
421 <a href=
"http://itavisen.no/2016/03/08/okokrim-har-beslaglagt-popcorn-time-no/">ITavisen
<a/>
423 <a href=
"http://www.nrk.no/kultur/okokrim-gar-til-aksjon-mot-popcorn-time-1.12842452">NRK
</a>),
424 at first due to the press release sent out by Økokrim, but then based
426 <a href=
"http://blogg.torvund.net/2016/03/09/okokrims-beslag-i-domenet-popcorn-time-no/">protests
427 from the law professor Olav Torvund
</a> and
428 <a href=
"http://www.klassekampen.no/article/20160311/ARTICLE/160319995">lawyer
429 Jon Wessel-Aas
</a>. It even got some
430 <a href=
"https://torrentfreak.com/norwegian-authorities-sued-over-popcorn-time-domain-seizure-160418/">coverage
431 on TorrentFreak
</a>.
</p>
434 <a href=
"http://people.skolelinux.org/pere/blog/NUUG_contests_Norwegian_police_DNS_seizure_of_popcorn_time_no.html">
435 wrote about the case a month ago
</a>, when the
436 <a href=
"http://www.nuug.no/">Norwegian Unix User Group
</a> (NUUG),
437 where I am an active member, decided to ask the courts to test this seizure.
438 The request was denied, but NUUG and its co-requestor EFN have not
439 given up, and now they are rallying for support to get the seizure
440 legally challenged. They accept both bank and Bitcoin transfer for
441 those that want to support the request.
</p>
443 <p>If you as me believe news sites about free software should not be
444 censored, even if the free software have both legal and illegal
445 applications, and that DNS hijacking should be tested by the courts, I
446 suggest you
<a href=
"http://www.nuug.no/dns-beslag-donasjon.shtml">show
447 your support by donating to NUUG
</a>.
</a>
452 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett
</a>.
457 <div class=
"padding"></div>
460 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Debian_now_with_ZFS_on_Linux_included.html">Debian now with ZFS on Linux included
</a></div>
461 <div class=
"date">12th May
2016</div>
462 <div class=
"body"><p>Today, after many years of hard work from many people,
463 <a href=
"http://zfsonlinux.org/">ZFS for Linux
</a> finally entered
464 Debian. The package status can be seen on
465 <a href=
"https://tracker.debian.org/pkg/zfs-linux">the package tracker
466 for zfs-linux
</a>. and
467 <a href=
"https://qa.debian.org/developer.php?login=pkg-zfsonlinux-devel@lists.alioth.debian.org">the
468 team status page
</a>. If you want to help out, please join us.
469 <a href=
"http://anonscm.debian.org/gitweb/?p=pkg-zfsonlinux/zfs.git">The
470 source code
</a> is available via git on Alioth. It would also be
471 great if you could help out with
472 <a href=
"https://tracker.debian.org/pkg/dkms">the dkms package
</a>, as
473 it is an important piece of the puzzle to get ZFS working.
</p>
478 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
483 <div class=
"padding"></div>
486 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/What_is_the_best_multimedia_player_in_Debian_.html">What is the best multimedia player in Debian?
</a></div>
487 <div class=
"date"> 8th May
2016</div>
488 <div class=
"body"><p><strong>Where I set out to figure out which multimedia player in
489 Debian claim support for most file formats.
</strong></p>
491 <p>A few years ago, I had a look at the media support for Browser
492 plugins in Debian, to get an idea which plugins to include in Debian
493 Edu. I created a script to extract the set of supported MIME types
494 for each plugin, and used this to find out which multimedia browser
495 plugin supported most file formats / media types.
496 <a href=
"https://wiki.debian.org/DebianEdu/BrowserMultimedia">The
497 result
</a> can still be seen on the Debian wiki, even though it have
498 not been updated for a while. But browser plugins are less relevant
499 these days, so I thought it was time to look at standalone
502 <p>A few days ago I was tired of VLC not being listed as a viable
503 player when I wanted to play videos from the Norwegian National
504 Broadcasting Company, and decided to investigate why. The cause is a
505 <a href=
"https://bugs.debian.org/822245">missing MIME type in the VLC
506 desktop file
</a>. In the process I wrote a script to compare the set
507 of MIME types announced in the desktop file and the browser plugin,
508 only to discover that there is quite a large difference between the
509 two for VLC. This discovery made me dig up the script I used to
510 compare browser plugins, and adjust it to compare desktop files
511 instead, to try to figure out which multimedia player in Debian
512 support most file formats.
</p>
514 <p>The result can be seen on the Debian Wiki, as
515 <a href=
"https://wiki.debian.org/DebianMultimedia/PlayerSupport">a
516 table listing all MIME types supported by one of the packages included
517 in the table
</a>, with the package supporting most MIME types being
518 listed first in the table.
</p>
520 </p>The best multimedia player in Debian? It is totem, followed by
521 parole, kplayer, mpv, vlc, smplayer mplayer-gui gnome-mpv and
522 kmplayer. Time for the other players to update their announced MIME
528 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>.
533 <div class=
"padding"></div>
536 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/The_Pyra___handheld_computer_with_Debian_preinstalled.html">The Pyra - handheld computer with Debian preinstalled
</a></div>
537 <div class=
"date"> 4th May
2016</div>
538 <div class=
"body">A friend of mine made me aware of
539 <a href=
"https://pyra-handheld.com/boards/pages/pyra/">The Pyra
</a>, a
540 handheld computer which will be delivered with Debian preinstalled. I
541 would love to get one of those for my birthday. :)
</p>
543 <p>The machine is a complete ARM-based PC with micro HDMI, SATA, USB
544 plugs and many others connectors, and include a full keyboard and a
5"
545 LCD touch screen. The
6000mAh battery is claimed to provide a whole
546 day of battery life time, but I have not seen any independent tests
547 confirming this. The vendor is still collecting preorders, and the
548 last I heard last night was that
22 more orders were needed before
549 production started.
</p>
551 <p>As far as I know, this is the first handheld preinstalled with
552 Debian. Please let me know if you know of any others. Is it the
553 first computer being sold with Debian preinstalled?
</p>
558 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
563 <div class=
"padding"></div>
565 <p style=
"text-align: right;"><a href=
"index.rss"><img src=
"http://people.skolelinux.org/pere/blog/xml.gif" alt=
"RSS feed" width=
"36" height=
"14" /></a></p>
576 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/01/">January (
3)
</a></li>
578 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/02/">February (
2)
</a></li>
580 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/03/">March (
3)
</a></li>
582 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/04/">April (
8)
</a></li>
584 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/05/">May (
8)
</a></li>
586 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/06/">June (
2)
</a></li>
593 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/01/">January (
7)
</a></li>
595 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/02/">February (
6)
</a></li>
597 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/03/">March (
1)
</a></li>
599 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/04/">April (
4)
</a></li>
601 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/05/">May (
3)
</a></li>
603 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/06/">June (
4)
</a></li>
605 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/07/">July (
6)
</a></li>
607 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/08/">August (
2)
</a></li>
609 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/09/">September (
2)
</a></li>
611 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/10/">October (
9)
</a></li>
613 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/11/">November (
6)
</a></li>
615 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/12/">December (
3)
</a></li>
622 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/01/">January (
2)
</a></li>
624 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/02/">February (
3)
</a></li>
626 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/03/">March (
8)
</a></li>
628 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/04/">April (
7)
</a></li>
630 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/05/">May (
1)
</a></li>
632 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/06/">June (
2)
</a></li>
634 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/07/">July (
2)
</a></li>
636 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/08/">August (
2)
</a></li>
638 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/09/">September (
5)
</a></li>
640 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/10/">October (
6)
</a></li>
642 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/11/">November (
3)
</a></li>
644 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/12/">December (
5)
</a></li>
651 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/01/">January (
11)
</a></li>
653 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/02/">February (
9)
</a></li>
655 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/03/">March (
9)
</a></li>
657 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/04/">April (
6)
</a></li>
659 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/05/">May (
9)
</a></li>
661 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/06/">June (
10)
</a></li>
663 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/07/">July (
7)
</a></li>
665 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/08/">August (
3)
</a></li>
667 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/09/">September (
5)
</a></li>
669 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/10/">October (
7)
</a></li>
671 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/11/">November (
9)
</a></li>
673 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/12/">December (
3)
</a></li>
680 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/01/">January (
7)
</a></li>
682 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/02/">February (
10)
</a></li>
684 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/03/">March (
17)
</a></li>
686 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/04/">April (
12)
</a></li>
688 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/05/">May (
12)
</a></li>
690 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/06/">June (
20)
</a></li>
692 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/07/">July (
17)
</a></li>
694 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/08/">August (
6)
</a></li>
696 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/09/">September (
9)
</a></li>
698 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/10/">October (
17)
</a></li>
700 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/11/">November (
10)
</a></li>
702 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/12/">December (
7)
</a></li>
709 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/01/">January (
16)
</a></li>
711 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/02/">February (
6)
</a></li>
713 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/03/">March (
6)
</a></li>
715 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/04/">April (
7)
</a></li>
717 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/05/">May (
3)
</a></li>
719 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/06/">June (
2)
</a></li>
721 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/07/">July (
7)
</a></li>
723 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/08/">August (
6)
</a></li>
725 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/09/">September (
4)
</a></li>
727 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/10/">October (
2)
</a></li>
729 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/11/">November (
3)
</a></li>
731 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/12/">December (
1)
</a></li>
738 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/01/">January (
2)
</a></li>
740 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/02/">February (
1)
</a></li>
742 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/03/">March (
3)
</a></li>
744 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/04/">April (
3)
</a></li>
746 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/05/">May (
9)
</a></li>
748 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/06/">June (
14)
</a></li>
750 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/07/">July (
12)
</a></li>
752 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/08/">August (
13)
</a></li>
754 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/09/">September (
7)
</a></li>
756 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/10/">October (
9)
</a></li>
758 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/11/">November (
13)
</a></li>
760 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/12/">December (
12)
</a></li>
767 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/01/">January (
8)
</a></li>
769 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/02/">February (
8)
</a></li>
771 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/03/">March (
12)
</a></li>
773 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/04/">April (
10)
</a></li>
775 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/05/">May (
9)
</a></li>
777 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/06/">June (
3)
</a></li>
779 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/07/">July (
4)
</a></li>
781 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/08/">August (
3)
</a></li>
783 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/09/">September (
1)
</a></li>
785 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/10/">October (
2)
</a></li>
787 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/11/">November (
3)
</a></li>
789 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/12/">December (
3)
</a></li>
796 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/11/">November (
5)
</a></li>
798 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/12/">December (
7)
</a></li>
809 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (
13)
</a></li>
811 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/amiga">amiga (
1)
</a></li>
813 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/aros">aros (
1)
</a></li>
815 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bankid">bankid (
4)
</a></li>
817 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (
9)
</a></li>
819 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (
15)
</a></li>
821 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bsa">bsa (
2)
</a></li>
823 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (
2)
</a></li>
825 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian (
131)
</a></li>
827 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (
157)
</a></li>
829 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/digistan">digistan (
10)
</a></li>
831 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/dld">dld (
15)
</a></li>
833 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/docbook">docbook (
22)
</a></li>
835 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (
4)
</a></li>
837 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/english">english (
321)
</a></li>
839 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (
23)
</a></li>
841 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (
12)
</a></li>
843 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (
27)
</a></li>
845 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox (
9)
</a></li>
847 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen (
17)
</a></li>
849 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/h264">h264 (
20)
</a></li>
851 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/intervju">intervju (
42)
</a></li>
853 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram (
12)
</a></li>
855 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart (
19)
</a></li>
857 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap (
9)
</a></li>
859 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker (
8)
</a></li>
861 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lsdvd">lsdvd (
2)
</a></li>
863 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (
1)
</a></li>
865 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network (
8)
</a></li>
867 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (
39)
</a></li>
869 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nice free software">nice free software (
7)
</a></li>
871 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk (
275)
</a></li>
873 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug (
181)
</a></li>
875 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (
26)
</a></li>
877 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/open311">open311 (
2)
</a></li>
879 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (
60)
</a></li>
881 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern (
92)
</a></li>
883 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/raid">raid (
1)
</a></li>
885 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reactos">reactos (
1)
</a></li>
887 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap (
11)
</a></li>
889 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rfid">rfid (
3)
</a></li>
891 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot (
9)
</a></li>
893 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rss">rss (
1)
</a></li>
895 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ruter">ruter (
4)
</a></li>
897 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (
2)
</a></li>
899 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (
46)
</a></li>
901 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (
4)
</a></li>
903 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/skepsis">skepsis (
4)
</a></li>
905 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard (
49)
</a></li>
907 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (
4)
</a></li>
909 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (
10)
</a></li>
911 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (
36)
</a></li>
913 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (
2)
</a></li>
915 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/usenix">usenix (
2)
</a></li>
917 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/valg">valg (
8)
</a></li>
919 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/video">video (
58)
</a></li>
921 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (
4)
</a></li>
923 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/web">web (
38)
</a></li>
929 <p style=
"text-align: right">
930 Created by
<a href=
"http://steve.org.uk/Software/chronicle">Chronicle v4.6
</a>