]> pere.pagekite.me Git - homepage.git/blob - blog/index.html
Update post.
[homepage.git] / blog / index.html
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">
4 <head>
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" />
10 </head>
11 <body>
12 <div class="title">
13 <h1>
14 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
15
16 </h1>
17
18 </div>
19
20
21
22 <div class="entry">
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>
34
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>
42
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,
47 toten and parole.</p>
48
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
57 formats.</p>
58 </div>
59 <div class="tags">
60
61
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>.
63
64
65 </div>
66 </div>
67 <div class="padding"></div>
68
69 <div class="entry">
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 &ndash;
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>
92
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>
107
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>
116
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
130 type (preferably
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>
135
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>
139
140 <p><blockquote><pre>
141 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
142 &lt;mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"&gt;
143 &lt;mime-type type="audio/x-rosegarden"&gt;
144 &lt;sub-class-of type="application/x-gzip"/&gt;
145 &lt;comment&gt;Rosegarden project file&lt;/comment&gt;
146 &lt;glob pattern="*.rg"/&gt;
147 &lt;/mime-type&gt;
148 &lt;/mime-info&gt;
149 </pre></blockquote></p>
150
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>
155
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>
159
160 <p><blockquote><pre>
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
164 %
165 </pre></blockquote></p>
166
167 <p>The fix was to add "audio/x-rosegarden;" at the end of the
168 MimeType= line.</p>
169
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
176 fixed. :)</p>
177 </div>
178 <div class="tags">
179
180
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>.
182
183
184 </div>
185 </div>
186 <div class="padding"></div>
187
188 <div class="entry">
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>
204
205 <p>Here is the video included for those of you using browsers with
206 HTML video and Ogg Theora support:</p>
207
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"/>
210 </video></p>
211
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>
214 </div>
215 <div class="tags">
216
217
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>.
219
220
221 </div>
222 </div>
223 <div class="padding"></div>
224
225 <div class="entry">
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>
240
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>
252
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>
256
257 <p><blockquote><pre>
258 % isenkram-lookup
259 bluez
260 cheese
261 fprintd
262 fprintd-demo
263 gkrellm-thinkbat
264 hdapsd
265 libpam-fprintd
266 pidgin-blinklight
267 thinkfan
268 tleds
269 tp-smapi-dkms
270 tp-smapi-source
271 tpb
272 %p
273 </pre></blockquote></p>
274
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>.
279 See
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>
282 </div>
283 <div class="tags">
284
285
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>.
287
288
289 </div>
290 </div>
291 <div class="padding"></div>
292
293 <div class="entry">
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>
307
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
312 capacity.</p>
313
314 <p align="center"><img src="http://people.skolelinux.org/pere/blog/images/2016-05-23-battery-stats-rate.png"/></p>
315
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:
320
321 <p align="center"><img src="http://people.skolelinux.org/pere/blog/images/2016-05-23-battery-stats-history.png"/></p>
322
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
325 shrinking. :(</p>
326
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
332 machine.</p>
333
334 <p>If you are interested in how your laptop battery is doing, please
335 check out the
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>
341
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>
345 </div>
346 <div class="tags">
347
348
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>.
350
351
352 </div>
353 </div>
354 <div class="padding"></div>
355
356 <div class="entry">
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>
363 ($19.99),
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
371 less).</p>
372
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
379 from github</a>.</p>
380 </div>
381 <div class="tags">
382
383
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>.
385
386
387 </div>
388 </div>
389 <div class="padding"></div>
390
391 <div class="entry">
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>
399
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
405 make me worried.</p>
406
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>
418
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/>
422 and
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
425 on
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>
432
433 <p>I
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>
442
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>
448 </div>
449 <div class="tags">
450
451
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>.
453
454
455 </div>
456 </div>
457 <div class="padding"></div>
458
459 <div class="entry">
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>
474 </div>
475 <div class="tags">
476
477
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>.
479
480
481 </div>
482 </div>
483 <div class="padding"></div>
484
485 <div class="entry">
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>
490
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
500 players.</p>
501
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>
513
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>
519
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
523 support?</p>
524 </div>
525 <div class="tags">
526
527
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>.
529
530
531 </div>
532 </div>
533 <div class="padding"></div>
534
535 <div class="entry">
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>
542
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>
550
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>
554 </div>
555 <div class="tags">
556
557
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>.
559
560
561 </div>
562 </div>
563 <div class="padding"></div>
564
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>
566 <div id="sidebar">
567
568
569
570 <h2>Archive</h2>
571 <ul>
572
573 <li>2016
574 <ul>
575
576 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/01/">January (3)</a></li>
577
578 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/02/">February (2)</a></li>
579
580 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/03/">March (3)</a></li>
581
582 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/04/">April (8)</a></li>
583
584 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/05/">May (8)</a></li>
585
586 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/06/">June (2)</a></li>
587
588 </ul></li>
589
590 <li>2015
591 <ul>
592
593 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/01/">January (7)</a></li>
594
595 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/02/">February (6)</a></li>
596
597 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/03/">March (1)</a></li>
598
599 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/04/">April (4)</a></li>
600
601 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/05/">May (3)</a></li>
602
603 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/06/">June (4)</a></li>
604
605 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/07/">July (6)</a></li>
606
607 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/08/">August (2)</a></li>
608
609 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/09/">September (2)</a></li>
610
611 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/10/">October (9)</a></li>
612
613 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/11/">November (6)</a></li>
614
615 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/12/">December (3)</a></li>
616
617 </ul></li>
618
619 <li>2014
620 <ul>
621
622 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/01/">January (2)</a></li>
623
624 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/02/">February (3)</a></li>
625
626 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/03/">March (8)</a></li>
627
628 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/04/">April (7)</a></li>
629
630 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/05/">May (1)</a></li>
631
632 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/06/">June (2)</a></li>
633
634 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/07/">July (2)</a></li>
635
636 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/08/">August (2)</a></li>
637
638 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/09/">September (5)</a></li>
639
640 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/10/">October (6)</a></li>
641
642 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/11/">November (3)</a></li>
643
644 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/12/">December (5)</a></li>
645
646 </ul></li>
647
648 <li>2013
649 <ul>
650
651 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/01/">January (11)</a></li>
652
653 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/02/">February (9)</a></li>
654
655 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/03/">March (9)</a></li>
656
657 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/04/">April (6)</a></li>
658
659 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/05/">May (9)</a></li>
660
661 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/06/">June (10)</a></li>
662
663 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/07/">July (7)</a></li>
664
665 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/08/">August (3)</a></li>
666
667 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/09/">September (5)</a></li>
668
669 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/10/">October (7)</a></li>
670
671 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/11/">November (9)</a></li>
672
673 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/12/">December (3)</a></li>
674
675 </ul></li>
676
677 <li>2012
678 <ul>
679
680 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/01/">January (7)</a></li>
681
682 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/02/">February (10)</a></li>
683
684 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/03/">March (17)</a></li>
685
686 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/04/">April (12)</a></li>
687
688 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/05/">May (12)</a></li>
689
690 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/06/">June (20)</a></li>
691
692 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/07/">July (17)</a></li>
693
694 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/08/">August (6)</a></li>
695
696 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/09/">September (9)</a></li>
697
698 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/10/">October (17)</a></li>
699
700 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/11/">November (10)</a></li>
701
702 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/12/">December (7)</a></li>
703
704 </ul></li>
705
706 <li>2011
707 <ul>
708
709 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/01/">January (16)</a></li>
710
711 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/02/">February (6)</a></li>
712
713 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/03/">March (6)</a></li>
714
715 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/04/">April (7)</a></li>
716
717 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/05/">May (3)</a></li>
718
719 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/06/">June (2)</a></li>
720
721 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/07/">July (7)</a></li>
722
723 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/08/">August (6)</a></li>
724
725 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/09/">September (4)</a></li>
726
727 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/10/">October (2)</a></li>
728
729 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/11/">November (3)</a></li>
730
731 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/12/">December (1)</a></li>
732
733 </ul></li>
734
735 <li>2010
736 <ul>
737
738 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
739
740 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
741
742 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
743
744 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
745
746 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
747
748 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
749
750 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/07/">July (12)</a></li>
751
752 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/08/">August (13)</a></li>
753
754 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/09/">September (7)</a></li>
755
756 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/10/">October (9)</a></li>
757
758 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
759
760 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (12)</a></li>
761
762 </ul></li>
763
764 <li>2009
765 <ul>
766
767 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
768
769 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
770
771 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
772
773 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
774
775 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
776
777 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
778
779 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
780
781 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
782
783 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
784
785 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
786
787 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
788
789 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
790
791 </ul></li>
792
793 <li>2008
794 <ul>
795
796 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
797
798 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
799
800 </ul></li>
801
802 </ul>
803
804
805
806 <h2>Tags</h2>
807 <ul>
808
809 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (13)</a></li>
810
811 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
812
813 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
814
815 <li><a href="http://people.skolelinux.org/pere/blog/tags/bankid">bankid (4)</a></li>
816
817 <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (9)</a></li>
818
819 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (15)</a></li>
820
821 <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa">bsa (2)</a></li>
822
823 <li><a href="http://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (2)</a></li>
824
825 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (131)</a></li>
826
827 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (157)</a></li>
828
829 <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan">digistan (10)</a></li>
830
831 <li><a href="http://people.skolelinux.org/pere/blog/tags/dld">dld (15)</a></li>
832
833 <li><a href="http://people.skolelinux.org/pere/blog/tags/docbook">docbook (22)</a></li>
834
835 <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
836
837 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (321)</a></li>
838
839 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (23)</a></li>
840
841 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (12)</a></li>
842
843 <li><a href="http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (27)</a></li>
844
845 <li><a href="http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox (9)</a></li>
846
847 <li><a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen (17)</a></li>
848
849 <li><a href="http://people.skolelinux.org/pere/blog/tags/h264">h264 (20)</a></li>
850
851 <li><a href="http://people.skolelinux.org/pere/blog/tags/intervju">intervju (42)</a></li>
852
853 <li><a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram (12)</a></li>
854
855 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (19)</a></li>
856
857 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (9)</a></li>
858
859 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (8)</a></li>
860
861 <li><a href="http://people.skolelinux.org/pere/blog/tags/lsdvd">lsdvd (2)</a></li>
862
863 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
864
865 <li><a href="http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network (8)</a></li>
866
867 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (39)</a></li>
868
869 <li><a href="http://people.skolelinux.org/pere/blog/tags/nice free software">nice free software (7)</a></li>
870
871 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (275)</a></li>
872
873 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (181)</a></li>
874
875 <li><a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (26)</a></li>
876
877 <li><a href="http://people.skolelinux.org/pere/blog/tags/open311">open311 (2)</a></li>
878
879 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (60)</a></li>
880
881 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (92)</a></li>
882
883 <li><a href="http://people.skolelinux.org/pere/blog/tags/raid">raid (1)</a></li>
884
885 <li><a href="http://people.skolelinux.org/pere/blog/tags/reactos">reactos (1)</a></li>
886
887 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>
888
889 <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid">rfid (3)</a></li>
890
891 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (9)</a></li>
892
893 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
894
895 <li><a href="http://people.skolelinux.org/pere/blog/tags/ruter">ruter (4)</a></li>
896
897 <li><a href="http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (2)</a></li>
898
899 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (46)</a></li>
900
901 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (4)</a></li>
902
903 <li><a href="http://people.skolelinux.org/pere/blog/tags/skepsis">skepsis (4)</a></li>
904
905 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (49)</a></li>
906
907 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (4)</a></li>
908
909 <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (10)</a></li>
910
911 <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (36)</a></li>
912
913 <li><a href="http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (2)</a></li>
914
915 <li><a href="http://people.skolelinux.org/pere/blog/tags/usenix">usenix (2)</a></li>
916
917 <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (8)</a></li>
918
919 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (58)</a></li>
920
921 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (4)</a></li>
922
923 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (38)</a></li>
924
925 </ul>
926
927
928 </div>
929 <p style="text-align: right">
930 Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v4.6</a>
931 </p>
932
933 </body>
934 </html>