]> pere.pagekite.me Git - homepage.git/blob - blog/index.html
New post on fitness trackers.
[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/Privacy_respecting_health_monitor___fitness_tracker_.html">Privacy respecting health monitor / fitness tracker?</a></div>
24 <div class="date"> 7th August 2018</div>
25 <div class="body"><p>Dear lazyweb,</p>
26
27 <p>I wonder, is there a fitness tracker / health monitor available for
28 sale today that respect the users privacy? With this I mean a
29 watch/bracelet capable of measuring pulse rate and other
30 fitness/health related values (and by all means, also the correct time
31 and location if possible), which is <strong>only</strong> provided for
32 me to extract/read from the unit with computer without a radio beacon
33 and Internet connection. In other words, it do not depend on a cell
34 phone app, and do make the measurements available via other peoples
35 computer (aka "the cloud"). The collected data should be available
36 using only free software. I'm not interested in depending on some
37 non-free software that will leave me high and dry some time in the
38 future. I've been unable to find any such unit. I would like to buy
39 it. The ones I have seen for sale here in Norway are proud to report
40 that they share my health data with strangers (aka "cloud enabled").
41 Is there an alternative? I'm not interested in giving money to people
42 requiring me to accept "privacy terms" to allow myself to measure my
43 own health.</p>
44
45 <p>As usual, if you use Bitcoin and want to show your support of my
46 activities, please send Bitcoin donations to my address
47 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
48 </div>
49 <div class="tags">
50
51
52 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
53
54
55 </div>
56 </div>
57 <div class="padding"></div>
58
59 <div class="entry">
60 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Sharing_images_with_friends_and_family_using_RSS_and_EXIF_XMP_metadata.html">Sharing images with friends and family using RSS and EXIF/XMP metadata</a></div>
61 <div class="date">31st July 2018</div>
62 <div class="body"><p>For a while now, I have looked for a sensible way to share images
63 with my family using a self hosted solution, as it is unacceptable to
64 place images from my personal life under the control of strangers
65 working for data hoarders like Google or Dropbox. The last few days I
66 have drafted an approach that might work out, and I would like to
67 share it with you. I would like to publish images on a server under
68 my control, and point some Internet connected display units using some
69 free and open standard to the images I published. As my primary
70 language is not limited to ASCII, I need to store metadata using
71 UTF-8. Many years ago, I hoped to find a digital photo frame capable
72 of reading a RSS feed with image references (aka using the
73 &lt;enclosure&gt; RSS tag), but was unable to find a current supplier
74 of such frames. In the end I gave up that approach.</p>
75
76 <p>Some months ago, I discovered that
77 <a href="https://www.jwz.org/xscreensaver/">XScreensaver</a> is able to
78 read images from a RSS feed, and used it to set up a screen saver on
79 my home info screen, showing images from the Daily images feed from
80 NASA. This proved to work well. More recently I discovered that
81 <a href="https://kodi.tv">Kodi</a> (both using
82 <a href="https://www.openelec.tv/">OpenELEC</a> and
83 <a href="https://libreelec.tv">LibreELEC</a>) provide the
84 <a href="https://github.com/grinsted/script.screensaver.feedreader">Feedreader</a>
85 screen saver capable of reading a RSS feed with images and news. For
86 fun, I used it this summer to test Kodi on my parents TV by hooking up
87 a Raspberry PI unit with LibreELEC, and wanted to provide them with a
88 screen saver showing selected pictures from my selection.</p>
89
90 <p>Armed with motivation and a test photo frame, I set out to generate
91 a RSS feed for the Kodi instance. I adjusted my <a
92 href="https://freedombox.org/">Freedombox</a> instance, created
93 /var/www/html/privatepictures/, wrote a small Perl script to extract
94 title and description metadata from the photo files and generate the
95 RSS file. I ended up using Perl instead of python, as the
96 libimage-exiftool-perl Debian package seemed to handle the EXIF/XMP
97 tags I ended up using, while python3-exif did not. The relevant EXIF
98 tags only support ASCII, so I had to find better alternatives. XMP
99 seem to have the support I need.</p>
100
101 <p>I am a bit unsure which EXIF/XMP tags to use, as I would like to
102 use tags that can be easily added/updated using normal free software
103 photo managing software. I ended up using the tags set using this
104 exiftool command, as these tags can also be set using digiKam:</p>
105
106 <blockquote><pre>
107 exiftool -headline='The RSS image title' \
108 -description='The RSS image description.' \
109 -subject+=for-family photo.jpeg
110 </pre></blockquote>
111
112 <p>I initially tried the "-title" and "keyword" tags, but they were
113 invisible in digiKam, so I changed to "-headline" and "-subject". I
114 use the keyword/subject 'for-family' to flag that the photo should be
115 shared with my family. Images with this keyword set are located and
116 copied into my Freedombox for the RSS generating script to find.</p>
117
118 <p>Are there better ways to do this? Get in touch if you have better
119 suggestions.</p>
120
121 <p>As usual, if you use Bitcoin and want to show your support of my
122 activities, please send Bitcoin donations to my address
123 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
124 </div>
125 <div class="tags">
126
127
128 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>.
129
130
131 </div>
132 </div>
133 <div class="padding"></div>
134
135 <div class="entry">
136 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html">Simple streaming the Linux desktop to Kodi using GStreamer and RTP</a></div>
137 <div class="date">12th July 2018</div>
138 <div class="body"><p>Last night, I wrote
139 <a href="http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html">a
140 recipe to stream a Linux desktop using VLC to a instance of Kodi</a>.
141 During the day I received valuable feedback, and thanks to the
142 suggestions I have been able to rewrite the recipe into a much simpler
143 approach requiring no setup at all. It is a single script that take
144 care of it all.</p>
145
146 <p>This new script uses GStreamer instead of VLC to capture the
147 desktop and stream it to Kodi. This fixed the video quality issue I
148 saw initially. It further removes the need to add a m3u file on the
149 Kodi machine, as it instead connects to
150 <a href="https://kodi.wiki/view/JSON-RPC_API/v8">the JSON-RPC API in
151 Kodi</a> and simply ask Kodi to play from the stream created using
152 GStreamer. Streaming the desktop to Kodi now become trivial. Copy
153 the script below, run it with the DNS name or IP address of the kodi
154 server to stream to as the only argument, and watch your screen show
155 up on the Kodi screen. Note, it depend on multicast on the local
156 network, so if you need to stream outside the local network, the
157 script must be modified. Also note, I have no idea if audio work, as
158 I only care about the picture part.</p>
159
160 <blockquote><pre>
161 #!/bin/sh
162 #
163 # Stream the Linux desktop view to Kodi. See
164 # http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html
165 # for backgorund information.
166
167 # Make sure the stream is stopped in Kodi and the gstreamer process is
168 # killed if something go wrong (for example if curl is unable to find the
169 # kodi server). Do the same when interrupting this script.
170 kodicmd() {
171 host="$1"
172 cmd="$2"
173 params="$3"
174 curl --silent --header 'Content-Type: application/json' \
175 --data-binary "{ \"id\": 1, \"jsonrpc\": \"2.0\", \"method\": \"$cmd\", \"params\": $params }" \
176 "http://$host/jsonrpc"
177 }
178 cleanup() {
179 if [ -n "$kodihost" ] ; then
180 # Stop the playing when we end
181 playerid=$(kodicmd "$kodihost" Player.GetActivePlayers "{}" |
182 jq .result[].playerid)
183 kodicmd "$kodihost" Player.Stop "{ \"playerid\" : $playerid }" > /dev/null
184 fi
185 if [ "$gstpid" ] && kill -0 "$gstpid" >/dev/null 2>&1; then
186 kill "$gstpid"
187 fi
188 }
189 trap cleanup EXIT INT
190
191 if [ -n "$1" ]; then
192 kodihost=$1
193 shift
194 else
195 kodihost=kodi.local
196 fi
197
198 mcast=239.255.0.1
199 mcastport=1234
200 mcastttl=1
201
202 pasrc=$(pactl list | grep -A2 'Source #' | grep 'Name: .*\.monitor$' | \
203 cut -d" " -f2|head -1)
204 gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw,framerate=30/1 ! \
205 videoconvert ! queue2 ! \
206 x264enc bitrate=8000 speed-preset=superfast tune=zerolatency qp-min=30 \
207 key-int-max=15 bframes=2 ! video/x-h264,profile=high ! queue2 ! \
208 mpegtsmux alignment=7 name=mux ! rndbuffersize max=1316 min=1316 ! \
209 udpsink host=$mcast port=$mcastport ttl-mc=$mcastttl auto-multicast=1 sync=0 \
210 pulsesrc device=$pasrc ! audioconvert ! queue2 ! avenc_aac ! queue2 ! mux. \
211 > /dev/null 2>&1 &
212 gstpid=$!
213
214 # Give stream a second to get going
215 sleep 1
216
217 # Ask kodi to start streaming using its JSON-RPC API
218 kodicmd "$kodihost" Player.Open \
219 "{\"item\": { \"file\": \"udp://@$mcast:$mcastport\" } }" > /dev/null
220
221 # wait for gst to end
222 wait "$gstpid"
223 </pre></blockquote>
224
225 <p>I hope you find the approach useful. I know I do.</p>
226
227 <p>As usual, if you use Bitcoin and want to show your support of my
228 activities, please send Bitcoin donations to my address
229 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
230 </div>
231 <div class="tags">
232
233
234 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/video">video</a>.
235
236
237 </div>
238 </div>
239 <div class="padding"></div>
240
241 <div class="entry">
242 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html">Streaming the Linux desktop to Kodi using VLC and RTSP</a></div>
243 <div class="date">12th July 2018</div>
244 <div class="body"><p>PS: See
245 <ahref="http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html">the
246 followup post</a> for a even better approach.</p>
247
248 <p>A while back, I was asked by a friend how to stream the desktop to
249 my projector connected to Kodi. I sadly had to admit that I had no
250 idea, as it was a task I never had tried. Since then, I have been
251 looking for a way to do so, preferable without much extra software to
252 install on either side. Today I found a way that seem to kind of
253 work. Not great, but it is a start.</p>
254
255 <p>I had a look at several approaches, for example
256 <a href="https://github.com/mfoetsch/dlna_live_streaming">using uPnP
257 DLNA as described in 2011</a>, but it required a uPnP server, fuse and
258 local storage enough to store the stream locally. This is not going
259 to work well for me, lacking enough free space, and it would
260 impossible for my friend to get working.</p>
261
262 <p>Next, it occurred to me that perhaps I could use VLC to create a
263 video stream that Kodi could play. Preferably using
264 broadcast/multicast, to avoid having to change any setup on the Kodi
265 side when starting such stream. Unfortunately, the only recipe I
266 could find using multicast used the rtp protocol, and this protocol
267 seem to not be supported by Kodi.</p>
268
269 <p>On the other hand, the rtsp protocol is working! Unfortunately I
270 have to specify the IP address of the streaming machine in both the
271 sending command and the file on the Kodi server. But it is showing my
272 desktop, and thus allow us to have a shared look on the big screen at
273 the programs I work on.</p>
274
275 <p>I did not spend much time investigating codeces. I combined the
276 rtp and rtsp recipes from
277 <a href="https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/">the
278 VLC Streaming HowTo/Command Line Examples</a>, and was able to get
279 this working on the desktop/streaming end.</p>
280
281 <blockquote><pre>
282 vlc screen:// --sout \
283 '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{dst=projector.local,port=1234,sdp=rtsp://192.168.11.4:8080/test.sdp}'
284 </pre></blockquote>
285
286 <p>I ssh-ed into my Kodi box and created a file like this with the
287 same IP address:</p>
288
289 <blockquote><pre>
290 echo rtsp://192.168.11.4:8080/test.sdp \
291 > /storage/videos/screenstream.m3u
292 </pre></blockquote>
293
294 <p>Note the 192.168.11.4 IP address is my desktops IP address. As far
295 as I can tell the IP must be hardcoded for this to work. In other
296 words, if someone elses machine is going to do the steaming, you have
297 to update screenstream.m3u on the Kodi machine and adjust the vlc
298 recipe. To get started, locate the file in Kodi and select the m3u
299 file while the VLC stream is running. The desktop then show up in my
300 big screen. :)</p>
301
302 <p>When using the same technique to stream a video file with audio,
303 the audio quality is really bad. No idea if the problem is package
304 loss or bad parameters for the transcode. I do not know VLC nor Kodi
305 enough to tell.</p>
306
307 <p><strong>Update 2018-07-12</strong>: Johannes Schauer send me a few
308 succestions and reminded me about an important step. The "screen:"
309 input source is only available once the vlc-plugin-access-extra
310 package is installed on Debian. Without it, you will see this error
311 message: "VLC is unable to open the MRL 'screen://'. Check the log
312 for details." He further found that it is possible to drop some parts
313 of the VLC command line to reduce the amount of hardcoded information.
314 It is also useful to consider using cvlc to avoid having the VLC
315 window in the desktop view. In sum, this give us this command line on
316 the source end
317
318 <blockquote><pre>
319 cvlc screen:// --sout \
320 '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{sdp=rtsp://:8080/}'
321 </pre></blockquote>
322
323 <p>and this on the Kodi end<p>
324
325 <blockquote><pre>
326 echo rtsp://192.168.11.4:8080/ \
327 > /storage/videos/screenstream.m3u
328 </pre></blockquote>
329
330 <p>Still bad image quality, though. But I did discover that streaming
331 a DVD using dvdsimple:///dev/dvd as the source had excellent video and
332 audio quality, so I guess the issue is in the input or transcoding
333 parts, not the rtsp part. I've tried to change the vb and ab
334 parameters to use more bandwidth, but it did not make a
335 difference.</p>
336
337 <p>I further received a suggestion from Einar Haraldseid to try using
338 gstreamer instead of VLC, and this proved to work great! He also
339 provided me with the trick to get Kodi to use a multicast stream as
340 its source. By using this monstrous oneliner, I can stream my desktop
341 with good video quality in reasonable framerate to the 239.255.0.1
342 multicast address on port 1234:
343
344 <blockquote><pre>
345 gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw,framerate=30/1 ! \
346 videoconvert ! queue2 ! \
347 x264enc bitrate=8000 speed-preset=superfast tune=zerolatency qp-min=30 \
348 key-int-max=15 bframes=2 ! video/x-h264,profile=high ! queue2 ! \
349 mpegtsmux alignment=7 name=mux ! rndbuffersize max=1316 min=1316 ! \
350 udpsink host=239.255.0.1 port=1234 ttl-mc=1 auto-multicast=1 sync=0 \
351 pulsesrc device=$(pactl list | grep -A2 'Source #' | \
352 grep 'Name: .*\.monitor$' | cut -d" " -f2|head -1) ! \
353 audioconvert ! queue2 ! avenc_aac ! queue2 ! mux.
354 </pre></blockquote>
355
356 <p>and this on the Kodi end<p>
357
358 <blockquote><pre>
359 echo udp://@239.255.0.1:1234 \
360 > /storage/videos/screenstream.m3u
361 </pre></blockquote>
362
363 <p>Note the trick to pick a valid pulseaudio source. It might not
364 pick the one you need. This approach will of course lead to trouble
365 if more than one source uses the same multicast port and address.
366 Note the ttl-mc=1 setting, which limit the multicast packages to the
367 local network. If the value is increased, your screen will be
368 broadcasted further, one network "hop" for each increase (read up on
369 multicast to learn more. :)!</p>
370
371 <p>Having cracked how to get Kodi to receive multicast streams, I
372 could use this VLC command to stream to the same multicast address.
373 The image quality is way better than the rtsp approach, but gstreamer
374 seem to be doing a better job.</p>
375
376 <blockquote><pre>
377 cvlc screen:// --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{mux=ts,dst=239.255.0.1,port=1234,sdp=sap}'
378 </pre></blockquote>
379
380 <p>As usual, if you use Bitcoin and want to show your support of my
381 activities, please send Bitcoin donations to my address
382 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
383 </div>
384 <div class="tags">
385
386
387 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/video">video</a>.
388
389
390 </div>
391 </div>
392 <div class="padding"></div>
393
394 <div class="entry">
395 <div class="title"><a href="http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_in_2018_.html">What is the most supported MIME type in Debian in 2018?</a></div>
396 <div class="date"> 9th July 2018</div>
397 <div class="body"><p>Five years ago,
398 <a href="http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html">I
399 measured what the most supported MIME type in Debian was</a>, by
400 analysing the desktop files in all packages in the archive. Since
401 then, the DEP-11 AppStream system has been put into production, making
402 the task a lot easier. This made me want to repeat the measurement,
403 to see how much things changed. Here are the new numbers, for
404 unstable only this time:
405
406 <p><strong>Debian Unstable:</strong></p>
407
408 <pre>
409 count MIME type
410 ----- -----------------------
411 56 image/jpeg
412 55 image/png
413 49 image/tiff
414 48 image/gif
415 39 image/bmp
416 38 text/plain
417 37 audio/mpeg
418 34 application/ogg
419 33 audio/x-flac
420 32 audio/x-mp3
421 30 audio/x-wav
422 30 audio/x-vorbis+ogg
423 29 image/x-portable-pixmap
424 27 inode/directory
425 27 image/x-portable-bitmap
426 27 audio/x-mpeg
427 26 application/x-ogg
428 25 audio/x-mpegurl
429 25 audio/ogg
430 24 text/html
431 </pre>
432
433 <p>The list was created like this using a sid chroot: "cat
434 /var/lib/apt/lists/*sid*_dep11_Components-amd64.yml.gz| zcat | awk '/^
435 - \S+\/\S+$/ {print $2 }' | sort | uniq -c | sort -nr | head -20"</p>
436
437 <p>It is interesting to see how image formats have passed text/plain
438 as the most announced supported MIME type. These days, thanks to the
439 AppStream system, if you run into a file format you do not know, and
440 want to figure out which packages support the format, you can find the
441 MIME type of the file using "file --mime &lt;filename&gt;", and then
442 look up all packages announcing support for this format in their
443 AppStream metadata (XML or .desktop file) using "appstreamcli
444 what-provides mimetype &lt;mime-type&gt;. For example if you, like
445 me, want to know which packages support inode/directory, you can get a
446 list like this:</p>
447
448 <p><blockquote><pre>
449 % appstreamcli what-provides mimetype inode/directory | grep Package: | sort
450 Package: anjuta
451 Package: audacious
452 Package: baobab
453 Package: cervisia
454 Package: chirp
455 Package: dolphin
456 Package: doublecmd-common
457 Package: easytag
458 Package: enlightenment
459 Package: ephoto
460 Package: filelight
461 Package: gwenview
462 Package: k4dirstat
463 Package: kaffeine
464 Package: kdesvn
465 Package: kid3
466 Package: kid3-qt
467 Package: nautilus
468 Package: nemo
469 Package: pcmanfm
470 Package: pcmanfm-qt
471 Package: qweborf
472 Package: ranger
473 Package: sirikali
474 Package: spacefm
475 Package: spacefm
476 Package: vifm
477 %
478 </pre></blockquote></p>
479
480 <p>Using the same method, I can quickly discover that the Sketchup file
481 format is not yet supported by any package in Debian:</p>
482
483 <p><blockquote><pre>
484 % appstreamcli what-provides mimetype application/vnd.sketchup.skp
485 Could not find component providing 'mimetype::application/vnd.sketchup.skp'.
486 %
487 </pre></blockquote></p>
488
489 <p>Yesterday I used it to figure out which packages support the STL 3D
490 format:</p>
491
492 <p><blockquote><pre>
493 % appstreamcli what-provides mimetype application/sla|grep Package
494 Package: cura
495 Package: meshlab
496 Package: printrun
497 %
498 </pre></blockquote></p>
499
500 <p>PS: A new version of Cura was uploaded to Debian yesterday.</p>
501
502 <p>As usual, if you use Bitcoin and want to show your support of my
503 activities, please send Bitcoin donations to my address
504 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
505 </div>
506 <div class="tags">
507
508
509 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>.
510
511
512 </div>
513 </div>
514 <div class="padding"></div>
515
516 <div class="entry">
517 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Debian_APT_upgrade_without_enough_free_space_on_the_disk___.html">Debian APT upgrade without enough free space on the disk...</a></div>
518 <div class="date"> 8th July 2018</div>
519 <div class="body"><p>Quite regularly, I let my Debian Sid/Unstable chroot stay untouch
520 for a while, and when I need to update it there is not enough free
521 space on the disk for apt to do a normal 'apt upgrade'. I normally
522 would resolve the issue by doing 'apt install &lt;somepackages&gt;' to
523 upgrade only some of the packages in one batch, until the amount of
524 packages to download fall below the amount of free space available.
525 Today, I had about 500 packages to upgrade, and after a while I got
526 tired of trying to install chunks of packages manually. I concluded
527 that I did not have the spare hours required to complete the task, and
528 decided to see if I could automate it. I came up with this small
529 script which I call 'apt-in-chunks':</p>
530
531 <p><blockquote><pre>
532 #!/bin/sh
533 #
534 # Upgrade packages when the disk is too full to upgrade every
535 # upgradable package in one lump. Fetching packages to upgrade using
536 # apt, and then installing using dpkg, to avoid changing the package
537 # flag for manual/automatic.
538
539 set -e
540
541 ignore() {
542 if [ "$1" ]; then
543 grep -v "$1"
544 else
545 cat
546 fi
547 }
548
549 for p in $(apt list --upgradable | ignore "$@" |cut -d/ -f1 | grep -v '^Listing...'); do
550 echo "Upgrading $p"
551 apt clean
552 apt install --download-only -y $p
553 for f in /var/cache/apt/archives/*.deb; do
554 if [ -e "$f" ]; then
555 dpkg -i /var/cache/apt/archives/*.deb
556 break
557 fi
558 done
559 done
560 </pre></blockquote></p>
561
562 <p>The script will extract the list of packages to upgrade, try to
563 download the packages needed to upgrade one package, install the
564 downloaded packages using dpkg. The idea is to upgrade packages
565 without changing the APT mark for the package (ie the one recording of
566 the package was manually requested or pulled in as a dependency). To
567 use it, simply run it as root from the command line. If it fail, try
568 'apt install -f' to clean up the mess and run the script again. This
569 might happen if the new packages conflict with one of the old
570 packages. dpkg is unable to remove, while apt can do this.</p>
571
572 <p>It take one option, a package to ignore in the list of packages to
573 upgrade. The option to ignore a package is there to be able to skip
574 the packages that are simply too large to unpack. Today this was
575 'ghc', but I have run into other large packages causing similar
576 problems earlier (like TeX).</p>
577
578 <p>Update 2018-07-08: Thanks to Paul Wise, I am aware of two
579 alternative ways to handle this. The "unattended-upgrades
580 --minimal-upgrade-steps" option will try to calculate upgrade sets for
581 each package to upgrade, and then upgrade them in order, smallest set
582 first. It might be a better option than my above mentioned script.
583 Also, "aptutude upgrade" can upgrade single packages, thus avoiding
584 the need for using "dpkg -i" in the script above.</p>
585
586 <p>As usual, if you use Bitcoin and want to show your support of my
587 activities, please send Bitcoin donations to my address
588 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
589 </div>
590 <div class="tags">
591
592
593 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>.
594
595
596 </div>
597 </div>
598 <div class="padding"></div>
599
600 <div class="entry">
601 <div class="title"><a href="http://people.skolelinux.org/pere/blog/The_worlds_only_stone_power_plant_.html">The worlds only stone power plant?</a></div>
602 <div class="date">30th June 2018</div>
603 <div class="body"><p>So far, at least hydro-electric power, coal power, wind power,
604 solar power, and wood power are well known. Until a few days ago, I
605 had never heard of stone power. Then I learn about a quarry in a
606 mountain in
607 <a href="https://en.wikipedia.org/wiki/Bremanger">Bremanger</a> i
608 Norway, where
609 <a href="https://www.bontrup.com/en/activities/raw-materials/bremanger-quarry/">the
610 Bremanger Quarry</a> company is extracting stone and dumping the stone
611 into a shaft leading to its shipping harbour. This downward movement
612 in this shaft is used to produce electricity. In short, it is using
613 falling rocks instead of falling water to produce electricity, and
614 according to its own statements it is producing more power than it is
615 using, and selling the surplus electricity to the Norwegian power
616 grid. I find the concept truly amazing. Is this the worlds only
617 stone power plant?</p>
618
619 <p>As usual, if you use Bitcoin and want to show your support of my
620 activities, please send Bitcoin donations to my address
621 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
622 </div>
623 <div class="tags">
624
625
626 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
627
628
629 </div>
630 </div>
631 <div class="padding"></div>
632
633 <div class="entry">
634 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Add_on_to_control_the_projector_from_within_Kodi.html">Add-on to control the projector from within Kodi</a></div>
635 <div class="date">26th June 2018</div>
636 <div class="body"><p>My movie playing setup involve <a href="https://kodi.tv/">Kodi</a>,
637 <a href="https://openelec.tv">OpenELEC</a> (probably soon to be
638 replaced with <a href="https://libreelec.tv/">LibreELEC</a>) and an
639 Infocus IN76 video projector. My projector can be controlled via both
640 a infrared remote controller, and a RS-232 serial line. The vendor of
641 my projector, <a href="https://www.infocus.com/">InFocus</a>, had been
642 sensible enough to document the serial protocol in its user manual, so
643 it is easily available, and I used it some years ago to write
644 <a href="https://github.com/petterreinholdtsen/infocus-projector-control">a
645 small script to control the projector</a>. For a while now, I longed
646 for a setup where the projector was controlled by Kodi, for example in
647 such a way that when the screen saver went on, the projector was
648 turned off, and when the screen saver exited, the projector was turned
649 on again.</p>
650
651 <p>A few days ago, with very good help from parts of my family, I
652 managed to find a Kodi Add-on for controlling a Epson projector, and
653 got in touch with its author to see if we could join forces and make a
654 Add-on with support for several projectors. To my pleasure, he was
655 positive to the idea, and we set out to add InFocus support to his
656 add-on, and make the add-on suitable for the official Kodi add-on
657 repository.</p>
658
659 <p>The Add-on is now working (for me, at least), with a few minor
660 adjustments. The most important change I do relative to the master
661 branch in the github repository is embedding the
662 <a href="https://github.com/pyserial/pyserial">pyserial module</a> in
663 the add-on. The long term solution is to make a "script" type
664 pyserial module for Kodi, that can be pulled in as a dependency in
665 Kodi. But until that in place, I embed it.</p>
666
667 <p>The add-on can be configured to turn on the projector when Kodi
668 starts, off when Kodi stops as well as turn the projector off when the
669 screensaver start and on when the screesaver stops. It can also be
670 told to set the projector source when turning on the projector.
671
672 <p>If this sound interesting to you, check out
673 <a href="https://github.com/fredrik-eriksson/kodi_projcontrol">the
674 project github repository</a>. Perhaps you can send patches to
675 support your projector too? As soon as we find time to wrap up the
676 latest changes, it should be available for easy installation using any
677 Kodi instance.</p>
678
679 <p>For future improvements, I would like to add projector model
680 detection and the ability to adjust the brightness level of the
681 projector from within Kodi. We also need to figure out how to handle
682 the cooling period of the projector. My projector refuses to turn on
683 for 60 seconds after it was turned off. This is not handled well by
684 the add-on at the moment.</p>
685
686 <p>As usual, if you use Bitcoin and want to show your support of my
687 activities, please send Bitcoin donations to my address
688 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
689 </div>
690 <div class="tags">
691
692
693 Tags: <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>.
694
695
696 </div>
697 </div>
698 <div class="padding"></div>
699
700 <div class="entry">
701 <div class="title"><a href="http://people.skolelinux.org/pere/blog/youtube_dl_for_nedlasting_fra_NRK_med_undertekster___nice_free_software.html">youtube-dl for nedlasting fra NRK med undertekster - nice free software</a></div>
702 <div class="date">28th April 2018</div>
703 <div class="body"><p>I <a href="https://no.wikipedia.org/wiki/VHS">VHS-kassettenes</a>
704 tid var det rett frem å ta vare på et TV-program en ønsket å kunne se
705 senere, uten å være avhengig av at programmet ble sendt på nytt.
706 Kanskje ønsket en å se programmet på hytten der det ikke var
707 TV-signal, eller av andre grunner ha det tilgjengelig for fremtidig
708 fornøyelse. Dette er blitt vanskeligere med introduksjon av
709 digital-TV og webstreaming, der opptak til harddisk er utenfor de
710 flestes kontroll hvis de bruker ufri programvare og bokser kontrollert
711 av andre. Men for NRK her i Norge, finnes det heldigvis flere fri
712 programvare-alternativer, som jeg har
713 <a href="http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK.html">skrevet</a>
714 <a href="http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK_med_den__nye__l_sningen.html">om</a>
715 <a href="http://people.skolelinux.org/pere/blog/Nedlasting_fra_NRK__som_Matroska_med_undertekster.html">før</a>.
716 Så lenge kilden for nedlastingen er lovlig lagt ut på nett (hvilket
717 jeg antar NRK gjør), så er slik lagring til privat bruk også lovlig i
718 Norge.</p>
719
720 <p>Sist jeg så på saken, i 2016, nevnte jeg at
721 <a href="https://rg3.github.com/youtube-dl/">youtube-dl</a> ikke kunne
722 bake undertekster fra NRK inn i videofilene, og at jeg derfor
723 foretrakk andre alternativer. Nylig oppdaget jeg at dette har endret
724 seg. Fordelen med youtube-dl er at den er tilgjengelig direkte fra
725 Linux-distribusjoner som <a href="https://www.debian.org/">Debian</a>
726 og <a href="https://www.ubuntu.com/">Ubuntu</a>, slik at en slipper å
727 finne ut selv hvordan en skal få dem til å virke.</p>
728
729 <p>For å laste ned et NRK-innslag med undertekster, og få den norske
730 underteksten pakket inn i videofilen, så kan følgende kommando
731 brukes:</p>
732
733 <p><pre>
734 youtube-dl --write-sub --sub-format ttml \
735 --convert-subtitles srt --embed-subs \
736 https://tv.nrk.no/serie/ramm-ferdig-gaa/MUHU11000316/27-04-2018
737 </pre></p>
738
739 <p>URL-eksemplet er dagens toppsak på tv.nrk.no. Resultatet er en
740 MP4-fil med filmen og undertekster som kan spilles av med VLC. Merk
741 at VLC ikke viser frem undertekster før du aktiverer dem. For å gjøre
742 det, høyreklikk med musa i fremviservinduet, velg menyvalget for
743 undertekst og så norsk språk. Jeg testet også '--write-auto-sub',
744 men det kommandolinjeargumentet ser ikke ut til å fungere, så jeg
745 endte opp med settet med argumentlisten over, som jeg fant i en
746 feilrapport i youtube-dl-prosjektets samling over feilrapporter.</p>
747
748 <p>Denne støtten i youtube-dl gjør det svært enkelt å lagre
749 NRK-innslag, det være seg nyheter, filmer, serier eller dokumentater,
750 for å ha dem tilgjengelig for fremtidig referanse og bruk, uavhengig
751 av hvor lenge innslagene ligger tilgjengelig hos NRK. Så får det ikke
752 hjelpe at NRKs jurister mener at det er
753 <a href="http://people.skolelinux.org/pere/blog/Best___ikke_fortelle_noen_at_streaming_er_nedlasting___.html">vesensforskjellig
754 å legge tilgjengelig for nedlasting og for streaming</a>, når det rent
755 teknisk er samme sak.</p>
756
757 <p>Programmet youtube-dl støtter også en rekke andre nettsteder, se
758 prosjektoversikten for
759 <a href="http://rg3.github.io/youtube-dl/supportedsites.html">en
760 komplett liste</a>.</p>
761 </div>
762 <div class="tags">
763
764
765 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nice free software">nice free software</a>, <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>, <a href="http://people.skolelinux.org/pere/blog/tags/web">web</a>.
766
767
768 </div>
769 </div>
770 <div class="padding"></div>
771
772 <div class="entry">
773 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Stortingsflertallet_g_r_inn_for_ny_IP_basert_sensurinfrastruktur_i_Norge.html">Stortingsflertallet går inn for ny IP-basert sensurinfrastruktur i Norge</a></div>
774 <div class="date">24th April 2018</div>
775 <div class="body"><p><a href="https://www.vg.no/sport/i/J1g8zj/stortingsvedtak-snart-ip-blokkerer-utenlandske-spillselskaper">VG</a>,
776 <a href="https://www.dagbladet.no/nyheter/stortinget-blokkerer-utenlandske-spillselskaper/69740219">Dagbladet</a>
777 og
778 <a href="https://www.nrk.no/ostfold/tar-opp-kampen-mot-utenlandske-spillselskap-1.14021381">NRK</a>
779 melder i dag at flertallet i Familie- og kulturkomiteen på Stortinget
780 har bestemt seg for å introdusere en ny sensurinfrastruktur i Norge.
781 Fra før har Norge en «frivillig» sensurinfrastruktur basert på
782 DNS-navn, der de største ISP-ene basert på en liste med DNS-navn
783 forgifter DNS-svar og omdirigerer til et annet IP-nummer enn det som
784 ligger i DNS. Nå kommer altså IP-basert omdirigering i tillegg. Når
785 infrastrukturen er på plass, er sensur av IP-adresser redusert et
786 spørsmål om hvilke IP-nummer som skal blokkeres. Listen over
787 IP-adresser vil naturligvis endre seg etter hvert som myndighetene
788 endrer seg. Det er ingen betryggende tanke.</p>
789 </div>
790 <div class="tags">
791
792
793 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>.
794
795
796 </div>
797 </div>
798 <div class="padding"></div>
799
800 <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>
801 <div id="sidebar">
802
803
804
805 <h2>Archive</h2>
806 <ul>
807
808 <li>2018
809 <ul>
810
811 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/01/">January (1)</a></li>
812
813 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/02/">February (5)</a></li>
814
815 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/03/">March (5)</a></li>
816
817 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/04/">April (3)</a></li>
818
819 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/06/">June (2)</a></li>
820
821 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/07/">July (5)</a></li>
822
823 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/08/">August (1)</a></li>
824
825 </ul></li>
826
827 <li>2017
828 <ul>
829
830 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/01/">January (4)</a></li>
831
832 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/02/">February (3)</a></li>
833
834 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/03/">March (5)</a></li>
835
836 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/04/">April (2)</a></li>
837
838 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/06/">June (5)</a></li>
839
840 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/07/">July (1)</a></li>
841
842 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/08/">August (1)</a></li>
843
844 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/09/">September (3)</a></li>
845
846 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/10/">October (5)</a></li>
847
848 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/11/">November (3)</a></li>
849
850 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/12/">December (4)</a></li>
851
852 </ul></li>
853
854 <li>2016
855 <ul>
856
857 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/01/">January (3)</a></li>
858
859 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/02/">February (2)</a></li>
860
861 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/03/">March (3)</a></li>
862
863 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/04/">April (8)</a></li>
864
865 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/05/">May (8)</a></li>
866
867 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/06/">June (2)</a></li>
868
869 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/07/">July (2)</a></li>
870
871 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/08/">August (5)</a></li>
872
873 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/09/">September (2)</a></li>
874
875 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/10/">October (3)</a></li>
876
877 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/11/">November (8)</a></li>
878
879 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/12/">December (5)</a></li>
880
881 </ul></li>
882
883 <li>2015
884 <ul>
885
886 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/01/">January (7)</a></li>
887
888 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/02/">February (6)</a></li>
889
890 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/03/">March (1)</a></li>
891
892 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/04/">April (4)</a></li>
893
894 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/05/">May (3)</a></li>
895
896 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/06/">June (4)</a></li>
897
898 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/07/">July (6)</a></li>
899
900 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/08/">August (2)</a></li>
901
902 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/09/">September (2)</a></li>
903
904 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/10/">October (9)</a></li>
905
906 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/11/">November (6)</a></li>
907
908 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/12/">December (3)</a></li>
909
910 </ul></li>
911
912 <li>2014
913 <ul>
914
915 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/01/">January (2)</a></li>
916
917 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/02/">February (3)</a></li>
918
919 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/03/">March (8)</a></li>
920
921 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/04/">April (7)</a></li>
922
923 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/05/">May (1)</a></li>
924
925 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/06/">June (2)</a></li>
926
927 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/07/">July (2)</a></li>
928
929 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/08/">August (2)</a></li>
930
931 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/09/">September (5)</a></li>
932
933 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/10/">October (6)</a></li>
934
935 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/11/">November (3)</a></li>
936
937 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/12/">December (5)</a></li>
938
939 </ul></li>
940
941 <li>2013
942 <ul>
943
944 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/01/">January (11)</a></li>
945
946 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/02/">February (9)</a></li>
947
948 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/03/">March (9)</a></li>
949
950 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/04/">April (6)</a></li>
951
952 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/05/">May (9)</a></li>
953
954 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/06/">June (10)</a></li>
955
956 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/07/">July (7)</a></li>
957
958 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/08/">August (3)</a></li>
959
960 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/09/">September (5)</a></li>
961
962 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/10/">October (7)</a></li>
963
964 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/11/">November (9)</a></li>
965
966 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/12/">December (3)</a></li>
967
968 </ul></li>
969
970 <li>2012
971 <ul>
972
973 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/01/">January (7)</a></li>
974
975 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/02/">February (10)</a></li>
976
977 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/03/">March (17)</a></li>
978
979 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/04/">April (12)</a></li>
980
981 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/05/">May (12)</a></li>
982
983 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/06/">June (20)</a></li>
984
985 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/07/">July (17)</a></li>
986
987 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/08/">August (6)</a></li>
988
989 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/09/">September (9)</a></li>
990
991 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/10/">October (17)</a></li>
992
993 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/11/">November (10)</a></li>
994
995 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/12/">December (7)</a></li>
996
997 </ul></li>
998
999 <li>2011
1000 <ul>
1001
1002 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/01/">January (16)</a></li>
1003
1004 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/02/">February (6)</a></li>
1005
1006 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/03/">March (6)</a></li>
1007
1008 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/04/">April (7)</a></li>
1009
1010 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/05/">May (3)</a></li>
1011
1012 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/06/">June (2)</a></li>
1013
1014 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/07/">July (7)</a></li>
1015
1016 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/08/">August (6)</a></li>
1017
1018 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/09/">September (4)</a></li>
1019
1020 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/10/">October (2)</a></li>
1021
1022 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/11/">November (3)</a></li>
1023
1024 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/12/">December (1)</a></li>
1025
1026 </ul></li>
1027
1028 <li>2010
1029 <ul>
1030
1031 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
1032
1033 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
1034
1035 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
1036
1037 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
1038
1039 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
1040
1041 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
1042
1043 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/07/">July (12)</a></li>
1044
1045 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/08/">August (13)</a></li>
1046
1047 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/09/">September (7)</a></li>
1048
1049 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/10/">October (9)</a></li>
1050
1051 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
1052
1053 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (12)</a></li>
1054
1055 </ul></li>
1056
1057 <li>2009
1058 <ul>
1059
1060 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
1061
1062 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
1063
1064 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
1065
1066 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
1067
1068 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
1069
1070 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
1071
1072 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
1073
1074 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
1075
1076 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
1077
1078 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
1079
1080 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
1081
1082 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
1083
1084 </ul></li>
1085
1086 <li>2008
1087 <ul>
1088
1089 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
1090
1091 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
1092
1093 </ul></li>
1094
1095 </ul>
1096
1097
1098
1099 <h2>Tags</h2>
1100 <ul>
1101
1102 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (16)</a></li>
1103
1104 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
1105
1106 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
1107
1108 <li><a href="http://people.skolelinux.org/pere/blog/tags/bankid">bankid (4)</a></li>
1109
1110 <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (9)</a></li>
1111
1112 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (17)</a></li>
1113
1114 <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa">bsa (2)</a></li>
1115
1116 <li><a href="http://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (2)</a></li>
1117
1118 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (161)</a></li>
1119
1120 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (158)</a></li>
1121
1122 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian-handbook">debian-handbook (4)</a></li>
1123
1124 <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan">digistan (10)</a></li>
1125
1126 <li><a href="http://people.skolelinux.org/pere/blog/tags/dld">dld (17)</a></li>
1127
1128 <li><a href="http://people.skolelinux.org/pere/blog/tags/docbook">docbook (25)</a></li>
1129
1130 <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
1131
1132 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (380)</a></li>
1133
1134 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (23)</a></li>
1135
1136 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (13)</a></li>
1137
1138 <li><a href="http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (32)</a></li>
1139
1140 <li><a href="http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox (9)</a></li>
1141
1142 <li><a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen (18)</a></li>
1143
1144 <li><a href="http://people.skolelinux.org/pere/blog/tags/h264">h264 (20)</a></li>
1145
1146 <li><a href="http://people.skolelinux.org/pere/blog/tags/intervju">intervju (42)</a></li>
1147
1148 <li><a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram (16)</a></li>
1149
1150 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (20)</a></li>
1151
1152 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (9)</a></li>
1153
1154 <li><a href="http://people.skolelinux.org/pere/blog/tags/lego">lego (4)</a></li>
1155
1156 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (8)</a></li>
1157
1158 <li><a href="http://people.skolelinux.org/pere/blog/tags/lsdvd">lsdvd (2)</a></li>
1159
1160 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
1161
1162 <li><a href="http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network (8)</a></li>
1163
1164 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (41)</a></li>
1165
1166 <li><a href="http://people.skolelinux.org/pere/blog/tags/nice free software">nice free software (10)</a></li>
1167
1168 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (299)</a></li>
1169
1170 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (190)</a></li>
1171
1172 <li><a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (33)</a></li>
1173
1174 <li><a href="http://people.skolelinux.org/pere/blog/tags/open311">open311 (2)</a></li>
1175
1176 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (71)</a></li>
1177
1178 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (107)</a></li>
1179
1180 <li><a href="http://people.skolelinux.org/pere/blog/tags/raid">raid (2)</a></li>
1181
1182 <li><a href="http://people.skolelinux.org/pere/blog/tags/reactos">reactos (1)</a></li>
1183
1184 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>
1185
1186 <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid">rfid (3)</a></li>
1187
1188 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (10)</a></li>
1189
1190 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
1191
1192 <li><a href="http://people.skolelinux.org/pere/blog/tags/ruter">ruter (6)</a></li>
1193
1194 <li><a href="http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (2)</a></li>
1195
1196 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (54)</a></li>
1197
1198 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (4)</a></li>
1199
1200 <li><a href="http://people.skolelinux.org/pere/blog/tags/skepsis">skepsis (5)</a></li>
1201
1202 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (55)</a></li>
1203
1204 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (6)</a></li>
1205
1206 <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (12)</a></li>
1207
1208 <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (55)</a></li>
1209
1210 <li><a href="http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (4)</a></li>
1211
1212 <li><a href="http://people.skolelinux.org/pere/blog/tags/usenix">usenix (2)</a></li>
1213
1214 <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (9)</a></li>
1215
1216 <li><a href="http://people.skolelinux.org/pere/blog/tags/verkidetfri">verkidetfri (11)</a></li>
1217
1218 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (66)</a></li>
1219
1220 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (4)</a></li>
1221
1222 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (41)</a></li>
1223
1224 </ul>
1225
1226
1227 </div>
1228 <p style="text-align: right">
1229 Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v4.6</a>
1230 </p>
1231
1232 </body>
1233 </html>