1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" dir=
"ltr">
5 <meta http-equiv=
"Content-Type" content=
"text/html;charset=utf-8" />
6 <title>Petter Reinholdtsen
</title>
7 <link rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"http://people.skolelinux.org/pere/blog/style.css" />
8 <link rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"http://people.skolelinux.org/pere/blog/vim.css" />
9 <link rel=
"alternate" title=
"RSS Feed" href=
"http://people.skolelinux.org/pere/blog/index.rss" type=
"application/rss+xml" />
14 <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a>
23 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Valutakrambod___A_python_and_bitcoin_love_story.html">Valutakrambod - A python and bitcoin love story
</a></div>
24 <div class=
"date">29th September
2018</div>
25 <div class=
"body"><p>It would come as no surprise to anyone that I am interested in
26 bitcoins and virtual currencies. I've been keeping an eye on virtual
27 currencies for many years, and it is part of the reason a few months
28 ago, I started writing a python library for collecting currency
29 exchange rates and trade on virtual currency exchanges. I decided to
30 name the end result valutakrambod, which perhaps can be translated to
31 small currency shop.
</p>
33 <p>The library uses the tornado python library to handle HTTP and
34 websocket connections, and provide a asynchronous system for
35 connecting to and tracking several services. The code is available
37 <a href=
"http://github.com/petterreinholdtsen/valutakrambod">github
</a>.
</p>
39 </p>There are two example clients of the library. One is very simple and
40 list every updated buy/sell price received from the various services.
41 This code is started by running bin/btc-rates and call the client code
42 in valutakrambod/client.py. The simple client look like this:
</p>
48 class SimpleClient(object):
53 def newdata(self, service, pair, changed):
54 print("%-
15s %s-%s: %
8.3f %
8.3f" % (
55 service.servicename(),
58 service.rates[pair]['ask'],
59 service.rates[pair]['bid'])
61 async def refresh(self, service):
62 await service.fetchRates(service.wantedpairs)
64 self.ioloop = tornado.ioloop.IOLoop.current()
65 self.services = valutakrambod.service.knownServices()
66 for e in self.services:
68 service.subscribe(self.newdata)
69 stream = service.websocket()
71 self.streams.append(stream)
73 # Fetch information from non-streaming services immediately
74 self.ioloop.call_later(len(self.services),
75 functools.partial(self.refresh, service))
76 # as well as regularly
77 service.periodicUpdate(
60)
78 for stream in self.streams:
82 except KeyboardInterrupt:
83 print("Interrupted by keyboard, closing all connections.")
85 for stream in self.streams:
87 </pre></blockquote></p>
89 <p>The library client loop over all known "public" services,
90 initialises it, subscribe to any updates from the service, check and
91 activate websocket streaming if the service provide it, and if no
92 streaming is supported, fetch information from the service and set up
93 a periodic update every
60 seconds. The output from this client can
97 Bl3p BTC-EUR:
5687.110 5653.690
98 Bl3p BTC-EUR:
5687.110 5653.690
99 Bl3p BTC-EUR:
5687.110 5653.690
100 Hitbtc BTC-USD:
6594.560 6593.690
101 Hitbtc BTC-USD:
6594.560 6593.690
102 Bl3p BTC-EUR:
5687.110 5653.690
103 Hitbtc BTC-USD:
6594.570 6593.690
104 Bitstamp EUR-USD:
1.159 1.154
105 Hitbtc BTC-USD:
6594.570 6593.690
106 Hitbtc BTC-USD:
6594.580 6593.690
107 Hitbtc BTC-USD:
6594.580 6593.690
108 Hitbtc BTC-USD:
6594.580 6593.690
109 Bl3p BTC-EUR:
5687.110 5653.690
110 Paymium BTC-EUR:
5680.000 5620.240
111 </pre></blockquote></p>
113 <p>The exchange order book is tracked in addition to the best buy/sell
114 price, for those that need to know the details.
</p>
116 <p>The other example client is focusing on providing a curses view
117 with updated buy/sell prices as soon as they are received from the
118 services. This code is located in bin/btc-rates-curses and activated
119 by using the '-c' argument. Without the argument the "curses" output
120 is printed without using curses, which is useful for debugging. The
121 curses view look like this:
</p>
124 Name Pair Bid Ask Spr Ftcd Age
125 BitcoinsNorway BTCEUR
5591.8400 5711.0800 2.1%
16 nan
60
126 Bitfinex BTCEUR
5671.0000 5671.2000 0.0%
16 22 59
127 Bitmynt BTCEUR
5580.8000 5807.5200 3.9%
16 41 60
128 Bitpay BTCEUR
5663.2700 nan nan%
15 nan
60
129 Bitstamp BTCEUR
5664.8400 5676.5300 0.2%
0 1 1
130 Bl3p BTCEUR
5653.6900 5684.9400 0.5%
0 nan
19
131 Coinbase BTCEUR
5600.8200 5714.9000 2.0%
15 nan nan
132 Kraken BTCEUR
5670.1000 5670.2000 0.0%
14 17 60
133 Paymium BTCEUR
5620.0600 5680.0000 1.1%
1 7515 nan
134 BitcoinsNorway BTCNOK
52898.9700 54034.6100 2.1%
16 nan
60
135 Bitmynt BTCNOK
52960.3200 54031.1900 2.0%
16 41 60
136 Bitpay BTCNOK
53477.7833 nan nan%
16 nan
60
137 Coinbase BTCNOK
52990.3500 54063.0600 2.0%
15 nan nan
138 MiraiEx BTCNOK
52856.5300 54100.6000 2.3%
16 nan nan
139 BitcoinsNorway BTCUSD
6495.5300 6631.5400 2.1%
16 nan
60
140 Bitfinex BTCUSD
6590.6000 6590.7000 0.0%
16 23 57
141 Bitpay BTCUSD
6564.1300 nan nan%
15 nan
60
142 Bitstamp BTCUSD
6561.1400 6565.6200 0.1%
0 2 1
143 Coinbase BTCUSD
6504.0600 6635.9700 2.0%
14 nan
117
144 Gemini BTCUSD
6567.1300 6573.0700 0.1%
16 89 nan
145 Hitbtc+BTCUSD
6592.6200 6594.2100 0.0%
0 0 0
146 Kraken BTCUSD
6565.2000 6570.9000 0.1%
15 17 58
147 Exchangerates EURNOK
9.4665 9.4665 0.0%
16 107789 nan
148 Norgesbank EURNOK
9.4665 9.4665 0.0%
16 107789 nan
149 Bitstamp EURUSD
1.1537 1.1593 0.5%
4 5 1
150 Exchangerates EURUSD
1.1576 1.1576 0.0%
16 107789 nan
151 BitcoinsNorway LTCEUR
1.0000 49.0000 98.0%
16 nan nan
152 BitcoinsNorway LTCNOK
492.4800 503.7500 2.2%
16 nan
60
153 BitcoinsNorway LTCUSD
1.0221 49.0000 97.9%
15 nan nan
154 Norgesbank USDNOK
8.1777 8.1777 0.0%
16 107789 nan
155 </pre></blockquote></p>
157 <p>The code for this client is too complex for a simple blog post, so
158 you will have to check out the git repository to figure out how it
159 work. What I can tell is how the three last numbers on each line
160 should be interpreted. The first is how many seconds ago information
161 was received from the service. The second is how long ago, according
162 to the service, the provided information was updated. The last is an
163 estimate on how often the buy/sell values change.
</p>
165 <p>If you find this library useful, or would like to improve it, I
166 would love to hear from you. Note that for some of the services I've
167 implemented a trading API. It might be the topic of a future blog
170 <p>As usual, if you use Bitcoin and want to show your support of my
171 activities, please send Bitcoin donations to my address
172 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
177 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
182 <div class=
"padding"></div>
185 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/VLC_in_Debian_now_can_do_bittorrent_streaming.html">VLC in Debian now can do bittorrent streaming
</a></div>
186 <div class=
"date">24th September
2018</div>
187 <div class=
"body"><p>Back in February, I got curious to see
188 <a href=
"http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html">if
189 VLC now supported Bittorrent streaming
</a>. It did not, despite the
190 fact that the idea and code to handle such streaming had been floating
191 around for years. I did however find
192 <a href=
"https://github.com/johang/vlc-bittorrent">a standalone plugin
193 for VLC
</a> to do it, and half a year later I decided to wrap up the
194 plugin and get it into Debian. I uploaded it to NEW a few days ago,
195 and am very happy to report that it
196 <a href=
"https://tracker.debian.org/pkg/vlc-plugin-bittorrent">entered
197 Debian
</a> a few hours ago, and should be available in Debian/Unstable
198 tomorrow, and Debian/Testing in a few days.
</p>
200 <p>With the vlc-plugin-bittorrent package installed you should be able
201 to stream videos using a simple call to
</p>
204 vlc https://archive.org/download/TheGoat/TheGoat_archive.torrent
205 </pre></blockquote></p>
207 </p>It can handle magnet links too. Now if only native vlc had
208 bittorrent support. Then a lot more would be helping each other to
209 share public domain and creative commons movies. The plugin need some
210 stability work with seeking and picking the right file in a torrent
211 with many files, but is already usable. Please note that the plugin
212 is not removing downloaded files when vlc is stopped, so it can fill
213 up your disk if you are not careful. Have fun. :)
</p>
215 <p>I would love to get help maintaining this package. Get in touch if
216 you are interested.
</p>
218 <p>As usual, if you use Bitcoin and want to show your support of my
219 activities, please send Bitcoin donations to my address
220 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
225 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/verkidetfri">verkidetfri
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>.
230 <div class=
"padding"></div>
233 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Using_the_Kodi_API_to_play_Youtube_videos.html">Using the Kodi API to play Youtube videos
</a></div>
234 <div class=
"date"> 2nd September
2018</div>
235 <div class=
"body"><p>I continue to explore my Kodi installation, and today I wanted to
236 tell it to play a youtube URL I received in a chat, without having to
237 insert search terms using the on-screen keyboard. After searching the
238 web for API access to the Youtube plugin and testing a bit, I managed
239 to find a recipe that worked. If you got a kodi instance with its API
240 available from http://kodihost/jsonrpc, you can try the following to
241 have check out a nice cover band.
</p>
243 <p><blockquote><pre>curl --silent --header 'Content-Type: application/json' \
244 --data-binary '{ "id":
1, "jsonrpc": "
2.0", "method": "Player.Open",
245 "params": {"item": { "file":
246 "plugin://plugin.video.youtube/play/?video_id=LuRGVM9O0qg" } } }' \
247 http://projector.local/jsonrpc
</pre></blockquote></p>
249 <p>I've extended kodi-stream program to take a video source as its
250 first argument. It can now handle direct video links, youtube links
251 and 'desktop' to stream my desktop to Kodi. It is almost like a
254 <p>As usual, if you use Bitcoin and want to show your support of my
255 activities, please send Bitcoin donations to my address
256 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
261 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/kodi">kodi
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>.
266 <div class=
"padding"></div>
269 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Software_created_using_taxpayers__money_should_be_Free_Software.html">Software created using taxpayers’ money should be Free Software
</a></div>
270 <div class=
"date">30th August
2018</div>
271 <div class=
"body"><p>It might seem obvious that software created using tax money should
272 be available for everyone to use and improve. Free Software
273 Foundation Europe recentlystarted a campaign to help get more people
274 to understand this, and I just signed the petition on
275 <a href=
"https://publiccode.eu/">Public Money, Public Code
</a> to help
276 them. I hope you too will do the same.
</p>
281 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett
</a>.
286 <div class=
"padding"></div>
289 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/A_bit_more_on_privacy_respecting_health_monitor___fitness_tracker.html">A bit more on privacy respecting health monitor / fitness tracker
</a></div>
290 <div class=
"date">13th August
2018</div>
291 <div class=
"body"><p>A few days ago, I wondered if there are any privacy respecting
292 health monitors and/or fitness trackers available for sale these days.
293 I would like to buy one, but do not want to share my personal data
294 with strangers, nor be forced to have a mobile phone to get data out
295 of the unit. I've received some ideas, and would like to share them
298 One interesting data point was a pointer to a Free Software app for
300 <a href=
"https://github.com/Freeyourgadget/Gadgetbridge/">Gadgetbridge
</a>.
301 It provide cloudless collection and storing of data from a variety of
303 <a href=
"https://github.com/Freeyourgadget/Gadgetbridge/#supported-devices">list
304 of supported devices
</a> is a good indicator for units where the
305 protocol is fairly open, as it is obviously being handled by Free
306 Software. Other units are reportedly encrypting the collected
307 information with their own public key, making sure only the vendor
308 cloud service is able to extract data from the unit. The people
309 contacting me about Gadgetbirde said they were using
310 <a href=
"https://us.amazfit.com/shop/bip?variant=336750">Amazfit
312 <a href=
"http://www.xiaomimi6phone.com/xiaomi-mi-band-3-features-release-date-rumors/">Xiaomi
315 <p>I also got a suggestion to look at some of the units from Garmin.
316 I was told their GPS watches can be connected via USB and show up as a
317 USB storage device with
318 <a href=
"https://www.gpsbabel.org/htmldoc-development/fmt_garmin_fit.html">Garmin
319 FIT files
</a> containing the collected measurements. While
320 proprietary, FIT files apparently can be read at least by
321 <a href=
"https://www.gpsbabel.org">GPSBabel
</a> and the
322 <a href=
"https://apps.nextcloud.com/apps/gpxpod">GpxPod
</a> Nextcloud
323 app. It is unclear to me if they can read step count and heart rate
324 data. The person I talked to was using a
325 <a href=
"https://buy.garmin.com/en-US/US/p/564291">Garmin Forerunner
326 935</a>, which is a fairly expensive unit. I doubt it is worth it for
327 a unit where the vendor clearly is trying its best to move from open
328 to closed systems. I still remember when Garmin dropped NMEA support
331 <p>A final idea was to build ones own unit, perhaps by basing it on a
332 wearable hardware platforms like
333 <a href=
"https://learn.adafruit.com/flora-geo-watch">the Flora Geo
334 Watch
</a>. Sound like fun, but I had more money than time to spend on
335 the topic, so I suspect it will have to wait for another time.
</p>
337 <p>While I was working on tracking down links, I came across an
338 inspiring TED talk by Dave Debronkart about
339 <a href=
"https://archive.org/details/DavedeBronkart_2010X">being a
340 e-patient
</a>, and discovered the web site
341 <a href=
"https://participatorymedicine.org/epatients/">Participatory
342 Medicine
</a>. If you too want to track your own health and fitness
343 without having information about your private life floating around on
344 computers owned by others, I recommend checking it out.
</p>
346 <p>As usual, if you use Bitcoin and want to show your support of my
347 activities, please send Bitcoin donations to my address
348 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
353 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
358 <div class=
"padding"></div>
361 <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>
362 <div class=
"date"> 7th August
2018</div>
363 <div class=
"body"><p>Dear lazyweb,
</p>
365 <p>I wonder, is there a fitness tracker / health monitor available for
366 sale today that respect the users privacy? With this I mean a
367 watch/bracelet capable of measuring pulse rate and other
368 fitness/health related values (and by all means, also the correct time
369 and location if possible), which is
<strong>only
</strong> provided for
370 me to extract/read from the unit with computer without a radio beacon
371 and Internet connection. In other words, it do not depend on a cell
372 phone app, and do make the measurements available via other peoples
373 computer (aka "the cloud"). The collected data should be available
374 using only free software. I'm not interested in depending on some
375 non-free software that will leave me high and dry some time in the
376 future. I've been unable to find any such unit. I would like to buy
377 it. The ones I have seen for sale here in Norway are proud to report
378 that they share my health data with strangers (aka "cloud enabled").
379 Is there an alternative? I'm not interested in giving money to people
380 requiring me to accept "privacy terms" to allow myself to measure my
383 <p>As usual, if you use Bitcoin and want to show your support of my
384 activities, please send Bitcoin donations to my address
385 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
390 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
395 <div class=
"padding"></div>
398 <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>
399 <div class=
"date">31st July
2018</div>
400 <div class=
"body"><p>For a while now, I have looked for a sensible way to share images
401 with my family using a self hosted solution, as it is unacceptable to
402 place images from my personal life under the control of strangers
403 working for data hoarders like Google or Dropbox. The last few days I
404 have drafted an approach that might work out, and I would like to
405 share it with you. I would like to publish images on a server under
406 my control, and point some Internet connected display units using some
407 free and open standard to the images I published. As my primary
408 language is not limited to ASCII, I need to store metadata using
409 UTF-
8. Many years ago, I hoped to find a digital photo frame capable
410 of reading a RSS feed with image references (aka using the
411 <enclosure
> RSS tag), but was unable to find a current supplier
412 of such frames. In the end I gave up that approach.
</p>
414 <p>Some months ago, I discovered that
415 <a href=
"https://www.jwz.org/xscreensaver/">XScreensaver
</a> is able to
416 read images from a RSS feed, and used it to set up a screen saver on
417 my home info screen, showing images from the Daily images feed from
418 NASA. This proved to work well. More recently I discovered that
419 <a href=
"https://kodi.tv">Kodi
</a> (both using
420 <a href=
"https://www.openelec.tv/">OpenELEC
</a> and
421 <a href=
"https://libreelec.tv">LibreELEC
</a>) provide the
422 <a href=
"https://github.com/grinsted/script.screensaver.feedreader">Feedreader
</a>
423 screen saver capable of reading a RSS feed with images and news. For
424 fun, I used it this summer to test Kodi on my parents TV by hooking up
425 a Raspberry PI unit with LibreELEC, and wanted to provide them with a
426 screen saver showing selected pictures from my selection.
</p>
428 <p>Armed with motivation and a test photo frame, I set out to generate
429 a RSS feed for the Kodi instance. I adjusted my
<a
430 href=
"https://freedombox.org/">Freedombox
</a> instance, created
431 /var/www/html/privatepictures/, wrote a small Perl script to extract
432 title and description metadata from the photo files and generate the
433 RSS file. I ended up using Perl instead of python, as the
434 libimage-exiftool-perl Debian package seemed to handle the EXIF/XMP
435 tags I ended up using, while python3-exif did not. The relevant EXIF
436 tags only support ASCII, so I had to find better alternatives. XMP
437 seem to have the support I need.
</p>
439 <p>I am a bit unsure which EXIF/XMP tags to use, as I would like to
440 use tags that can be easily added/updated using normal free software
441 photo managing software. I ended up using the tags set using this
442 exiftool command, as these tags can also be set using digiKam:
</p>
445 exiftool -headline='The RSS image title' \
446 -description='The RSS image description.' \
447 -subject+=for-family photo.jpeg
450 <p>I initially tried the "-title" and "keyword" tags, but they were
451 invisible in digiKam, so I changed to "-headline" and "-subject". I
452 use the keyword/subject 'for-family' to flag that the photo should be
453 shared with my family. Images with this keyword set are located and
454 copied into my Freedombox for the RSS generating script to find.
</p>
456 <p>Are there better ways to do this? Get in touch if you have better
459 <p>As usual, if you use Bitcoin and want to show your support of my
460 activities, please send Bitcoin donations to my address
461 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
466 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>.
471 <div class=
"padding"></div>
474 <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>
475 <div class=
"date">12th July
2018</div>
476 <div class=
"body"><p>Last night, I wrote
477 <a href=
"http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html">a
478 recipe to stream a Linux desktop using VLC to a instance of Kodi
</a>.
479 During the day I received valuable feedback, and thanks to the
480 suggestions I have been able to rewrite the recipe into a much simpler
481 approach requiring no setup at all. It is a single script that take
484 <p>This new script uses GStreamer instead of VLC to capture the
485 desktop and stream it to Kodi. This fixed the video quality issue I
486 saw initially. It further removes the need to add a m3u file on the
487 Kodi machine, as it instead connects to
488 <a href=
"https://kodi.wiki/view/JSON-RPC_API/v8">the JSON-RPC API in
489 Kodi
</a> and simply ask Kodi to play from the stream created using
490 GStreamer. Streaming the desktop to Kodi now become trivial. Copy
491 the script below, run it with the DNS name or IP address of the kodi
492 server to stream to as the only argument, and watch your screen show
493 up on the Kodi screen. Note, it depend on multicast on the local
494 network, so if you need to stream outside the local network, the
495 script must be modified. Also note, I have no idea if audio work, as
496 I only care about the picture part.
</p>
501 # Stream the Linux desktop view to Kodi. See
502 # http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html
503 # for backgorund information.
505 # Make sure the stream is stopped in Kodi and the gstreamer process is
506 # killed if something go wrong (for example if curl is unable to find the
507 # kodi server). Do the same when interrupting this script.
512 curl --silent --header 'Content-Type: application/json' \
513 --data-binary "{ \"id\":
1, \"jsonrpc\": \"
2.0\", \"method\": \"$cmd\", \"params\": $params }" \
514 "http://$host/jsonrpc"
517 if [ -n "$kodihost" ] ; then
518 # Stop the playing when we end
519 playerid=$(kodicmd "$kodihost" Player.GetActivePlayers "{}" |
520 jq .result[].playerid)
521 kodicmd "$kodihost" Player.Stop "{ \"playerid\" : $playerid }"
> /dev/null
523 if [ "$gstpid" ] && kill -
0 "$gstpid"
>/dev/null
2>&1; then
527 trap cleanup EXIT INT
540 pasrc=$(pactl list | grep -A2 'Source #' | grep 'Name: .*\.monitor$' | \
541 cut -d" " -f2|head -
1)
542 gst-launch-
1.0 ximagesrc use-damage=
0 ! video/x-raw,framerate=
30/
1 ! \
543 videoconvert ! queue2 ! \
544 x264enc bitrate=
8000 speed-preset=superfast tune=zerolatency qp-min=
30 \
545 key-int-max=
15 bframes=
2 ! video/x-h264,profile=high ! queue2 ! \
546 mpegtsmux alignment=
7 name=mux ! rndbuffersize max=
1316 min=
1316 ! \
547 udpsink host=$mcast port=$mcastport ttl-mc=$mcastttl auto-multicast=
1 sync=
0 \
548 pulsesrc device=$pasrc ! audioconvert ! queue2 ! avenc_aac ! queue2 ! mux. \
552 # Give stream a second to get going
555 # Ask kodi to start streaming using its JSON-RPC API
556 kodicmd "$kodihost" Player.Open \
557 "{\"item\": { \"file\": \"udp://@$mcast:$mcastport\" } }"
> /dev/null
559 # wait for gst to end
563 <p>I hope you find the approach useful. I know I do.
</p>
565 <p>As usual, if you use Bitcoin and want to show your support of my
566 activities, please send Bitcoin donations to my address
567 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
572 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/kodi">kodi
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>.
577 <div class=
"padding"></div>
580 <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>
581 <div class=
"date">12th July
2018</div>
582 <div class=
"body"><p>PS: See
583 <ahref=
"http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html">the
584 followup post
</a> for a even better approach.
</p>
586 <p>A while back, I was asked by a friend how to stream the desktop to
587 my projector connected to Kodi. I sadly had to admit that I had no
588 idea, as it was a task I never had tried. Since then, I have been
589 looking for a way to do so, preferable without much extra software to
590 install on either side. Today I found a way that seem to kind of
591 work. Not great, but it is a start.
</p>
593 <p>I had a look at several approaches, for example
594 <a href=
"https://github.com/mfoetsch/dlna_live_streaming">using uPnP
595 DLNA as described in
2011</a>, but it required a uPnP server, fuse and
596 local storage enough to store the stream locally. This is not going
597 to work well for me, lacking enough free space, and it would
598 impossible for my friend to get working.
</p>
600 <p>Next, it occurred to me that perhaps I could use VLC to create a
601 video stream that Kodi could play. Preferably using
602 broadcast/multicast, to avoid having to change any setup on the Kodi
603 side when starting such stream. Unfortunately, the only recipe I
604 could find using multicast used the rtp protocol, and this protocol
605 seem to not be supported by Kodi.
</p>
607 <p>On the other hand, the rtsp protocol is working! Unfortunately I
608 have to specify the IP address of the streaming machine in both the
609 sending command and the file on the Kodi server. But it is showing my
610 desktop, and thus allow us to have a shared look on the big screen at
611 the programs I work on.
</p>
613 <p>I did not spend much time investigating codeces. I combined the
614 rtp and rtsp recipes from
615 <a href=
"https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/">the
616 VLC Streaming HowTo/Command Line Examples
</a>, and was able to get
617 this working on the desktop/streaming end.
</p>
620 vlc screen:// --sout \
621 '#transcode{vcodec=mp4v,acodec=mpga,vb=
800,ab=
128}:rtp{dst=projector.local,port=
1234,sdp=rtsp://
192.168.11.4:
8080/test.sdp}'
624 <p>I ssh-ed into my Kodi box and created a file like this with the
628 echo rtsp://
192.168.11.4:
8080/test.sdp \
629 > /storage/videos/screenstream.m3u
632 <p>Note the
192.168.11.4 IP address is my desktops IP address. As far
633 as I can tell the IP must be hardcoded for this to work. In other
634 words, if someone elses machine is going to do the steaming, you have
635 to update screenstream.m3u on the Kodi machine and adjust the vlc
636 recipe. To get started, locate the file in Kodi and select the m3u
637 file while the VLC stream is running. The desktop then show up in my
640 <p>When using the same technique to stream a video file with audio,
641 the audio quality is really bad. No idea if the problem is package
642 loss or bad parameters for the transcode. I do not know VLC nor Kodi
645 <p><strong>Update
2018-
07-
12</strong>: Johannes Schauer send me a few
646 succestions and reminded me about an important step. The "screen:"
647 input source is only available once the vlc-plugin-access-extra
648 package is installed on Debian. Without it, you will see this error
649 message: "VLC is unable to open the MRL 'screen://'. Check the log
650 for details." He further found that it is possible to drop some parts
651 of the VLC command line to reduce the amount of hardcoded information.
652 It is also useful to consider using cvlc to avoid having the VLC
653 window in the desktop view. In sum, this give us this command line on
657 cvlc screen:// --sout \
658 '#transcode{vcodec=mp4v,acodec=mpga,vb=
800,ab=
128}:rtp{sdp=rtsp://:
8080/}'
661 <p>and this on the Kodi end
<p>
664 echo rtsp://
192.168.11.4:
8080/ \
665 > /storage/videos/screenstream.m3u
668 <p>Still bad image quality, though. But I did discover that streaming
669 a DVD using dvdsimple:///dev/dvd as the source had excellent video and
670 audio quality, so I guess the issue is in the input or transcoding
671 parts, not the rtsp part. I've tried to change the vb and ab
672 parameters to use more bandwidth, but it did not make a
675 <p>I further received a suggestion from Einar Haraldseid to try using
676 gstreamer instead of VLC, and this proved to work great! He also
677 provided me with the trick to get Kodi to use a multicast stream as
678 its source. By using this monstrous oneliner, I can stream my desktop
679 with good video quality in reasonable framerate to the
239.255.0.1
680 multicast address on port
1234:
683 gst-launch-
1.0 ximagesrc use-damage=
0 ! video/x-raw,framerate=
30/
1 ! \
684 videoconvert ! queue2 ! \
685 x264enc bitrate=
8000 speed-preset=superfast tune=zerolatency qp-min=
30 \
686 key-int-max=
15 bframes=
2 ! video/x-h264,profile=high ! queue2 ! \
687 mpegtsmux alignment=
7 name=mux ! rndbuffersize max=
1316 min=
1316 ! \
688 udpsink host=
239.255.0.1 port=
1234 ttl-mc=
1 auto-multicast=
1 sync=
0 \
689 pulsesrc device=$(pactl list | grep -A2 'Source #' | \
690 grep 'Name: .*\.monitor$' | cut -d" " -f2|head -
1) ! \
691 audioconvert ! queue2 ! avenc_aac ! queue2 ! mux.
694 <p>and this on the Kodi end
<p>
697 echo udp://@
239.255.0.1:
1234 \
698 > /storage/videos/screenstream.m3u
701 <p>Note the trick to pick a valid pulseaudio source. It might not
702 pick the one you need. This approach will of course lead to trouble
703 if more than one source uses the same multicast port and address.
704 Note the ttl-mc=
1 setting, which limit the multicast packages to the
705 local network. If the value is increased, your screen will be
706 broadcasted further, one network "hop" for each increase (read up on
707 multicast to learn more. :)!
</p>
709 <p>Having cracked how to get Kodi to receive multicast streams, I
710 could use this VLC command to stream to the same multicast address.
711 The image quality is way better than the rtsp approach, but gstreamer
712 seem to be doing a better job.
</p>
715 cvlc screen:// --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=
800,ab=
128}:rtp{mux=ts,dst=
239.255.0.1,port=
1234,sdp=sap}'
718 <p>As usual, if you use Bitcoin and want to show your support of my
719 activities, please send Bitcoin donations to my address
720 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
725 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/kodi">kodi
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/video">video
</a>.
730 <div class=
"padding"></div>
733 <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>
734 <div class=
"date"> 9th July
2018</div>
735 <div class=
"body"><p>Five years ago,
736 <a href=
"http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html">I
737 measured what the most supported MIME type in Debian was
</a>, by
738 analysing the desktop files in all packages in the archive. Since
739 then, the DEP-
11 AppStream system has been put into production, making
740 the task a lot easier. This made me want to repeat the measurement,
741 to see how much things changed. Here are the new numbers, for
742 unstable only this time:
744 <p><strong>Debian Unstable:
</strong></p>
748 ----- -----------------------
760 30 audio/x-vorbis+ogg
761 29 image/x-portable-pixmap
763 27 image/x-portable-bitmap
771 <p>The list was created like this using a sid chroot: "cat
772 /var/lib/apt/lists/*sid*_dep11_Components-amd64.yml.gz| zcat | awk '/^
773 - \S+\/\S+$/ {print $
2 }' | sort | uniq -c | sort -nr | head -
20"
</p>
775 <p>It is interesting to see how image formats have passed text/plain
776 as the most announced supported MIME type. These days, thanks to the
777 AppStream system, if you run into a file format you do not know, and
778 want to figure out which packages support the format, you can find the
779 MIME type of the file using "file --mime
<filename
>", and then
780 look up all packages announcing support for this format in their
781 AppStream metadata (XML or .desktop file) using "appstreamcli
782 what-provides mimetype
<mime-type
>. For example if you, like
783 me, want to know which packages support inode/directory, you can get a
787 % appstreamcli what-provides mimetype inode/directory | grep Package: | sort
794 Package: doublecmd-common
796 Package: enlightenment
816 </pre></blockquote></p>
818 <p>Using the same method, I can quickly discover that the Sketchup file
819 format is not yet supported by any package in Debian:
</p>
822 % appstreamcli what-provides mimetype application/vnd.sketchup.skp
823 Could not find component providing 'mimetype::application/vnd.sketchup.skp'.
825 </pre></blockquote></p>
827 <p>Yesterday I used it to figure out which packages support the STL
3D
831 % appstreamcli what-provides mimetype application/sla|grep Package
836 </pre></blockquote></p>
838 <p>PS: A new version of Cura was uploaded to Debian yesterday.
</p>
840 <p>As usual, if you use Bitcoin and want to show your support of my
841 activities, please send Bitcoin donations to my address
842 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
847 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>.
852 <div class=
"padding"></div>
854 <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>
865 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2018/01/">January (
1)
</a></li>
867 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2018/02/">February (
5)
</a></li>
869 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2018/03/">March (
5)
</a></li>
871 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2018/04/">April (
3)
</a></li>
873 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2018/06/">June (
2)
</a></li>
875 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2018/07/">July (
5)
</a></li>
877 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2018/08/">August (
3)
</a></li>
879 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2018/09/">September (
3)
</a></li>
886 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/01/">January (
4)
</a></li>
888 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/02/">February (
3)
</a></li>
890 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/03/">March (
5)
</a></li>
892 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/04/">April (
2)
</a></li>
894 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/06/">June (
5)
</a></li>
896 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/07/">July (
1)
</a></li>
898 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/08/">August (
1)
</a></li>
900 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/09/">September (
3)
</a></li>
902 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/10/">October (
5)
</a></li>
904 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/11/">November (
3)
</a></li>
906 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2017/12/">December (
4)
</a></li>
913 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/01/">January (
3)
</a></li>
915 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/02/">February (
2)
</a></li>
917 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/03/">March (
3)
</a></li>
919 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/04/">April (
8)
</a></li>
921 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/05/">May (
8)
</a></li>
923 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/06/">June (
2)
</a></li>
925 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/07/">July (
2)
</a></li>
927 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/08/">August (
5)
</a></li>
929 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/09/">September (
2)
</a></li>
931 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/10/">October (
3)
</a></li>
933 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/11/">November (
8)
</a></li>
935 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2016/12/">December (
5)
</a></li>
942 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/01/">January (
7)
</a></li>
944 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/02/">February (
6)
</a></li>
946 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/03/">March (
1)
</a></li>
948 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/04/">April (
4)
</a></li>
950 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/05/">May (
3)
</a></li>
952 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/06/">June (
4)
</a></li>
954 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/07/">July (
6)
</a></li>
956 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/08/">August (
2)
</a></li>
958 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/09/">September (
2)
</a></li>
960 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/10/">October (
9)
</a></li>
962 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/11/">November (
6)
</a></li>
964 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2015/12/">December (
3)
</a></li>
971 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/01/">January (
2)
</a></li>
973 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/02/">February (
3)
</a></li>
975 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/03/">March (
8)
</a></li>
977 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/04/">April (
7)
</a></li>
979 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/05/">May (
1)
</a></li>
981 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/06/">June (
2)
</a></li>
983 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/07/">July (
2)
</a></li>
985 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/08/">August (
2)
</a></li>
987 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/09/">September (
5)
</a></li>
989 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/10/">October (
6)
</a></li>
991 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/11/">November (
3)
</a></li>
993 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2014/12/">December (
5)
</a></li>
1000 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/01/">January (
11)
</a></li>
1002 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/02/">February (
9)
</a></li>
1004 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/03/">March (
9)
</a></li>
1006 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/04/">April (
6)
</a></li>
1008 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/05/">May (
9)
</a></li>
1010 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/06/">June (
10)
</a></li>
1012 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/07/">July (
7)
</a></li>
1014 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/08/">August (
3)
</a></li>
1016 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/09/">September (
5)
</a></li>
1018 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/10/">October (
7)
</a></li>
1020 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/11/">November (
9)
</a></li>
1022 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2013/12/">December (
3)
</a></li>
1029 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/01/">January (
7)
</a></li>
1031 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/02/">February (
10)
</a></li>
1033 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/03/">March (
17)
</a></li>
1035 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/04/">April (
12)
</a></li>
1037 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/05/">May (
12)
</a></li>
1039 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/06/">June (
20)
</a></li>
1041 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/07/">July (
17)
</a></li>
1043 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/08/">August (
6)
</a></li>
1045 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/09/">September (
9)
</a></li>
1047 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/10/">October (
17)
</a></li>
1049 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/11/">November (
10)
</a></li>
1051 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/12/">December (
7)
</a></li>
1058 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/01/">January (
16)
</a></li>
1060 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/02/">February (
6)
</a></li>
1062 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/03/">March (
6)
</a></li>
1064 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/04/">April (
7)
</a></li>
1066 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/05/">May (
3)
</a></li>
1068 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/06/">June (
2)
</a></li>
1070 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/07/">July (
7)
</a></li>
1072 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/08/">August (
6)
</a></li>
1074 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/09/">September (
4)
</a></li>
1076 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/10/">October (
2)
</a></li>
1078 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/11/">November (
3)
</a></li>
1080 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/12/">December (
1)
</a></li>
1087 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/01/">January (
2)
</a></li>
1089 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/02/">February (
1)
</a></li>
1091 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/03/">March (
3)
</a></li>
1093 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/04/">April (
3)
</a></li>
1095 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/05/">May (
9)
</a></li>
1097 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/06/">June (
14)
</a></li>
1099 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/07/">July (
12)
</a></li>
1101 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/08/">August (
13)
</a></li>
1103 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/09/">September (
7)
</a></li>
1105 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/10/">October (
9)
</a></li>
1107 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/11/">November (
13)
</a></li>
1109 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/12/">December (
12)
</a></li>
1116 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/01/">January (
8)
</a></li>
1118 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/02/">February (
8)
</a></li>
1120 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/03/">March (
12)
</a></li>
1122 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/04/">April (
10)
</a></li>
1124 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/05/">May (
9)
</a></li>
1126 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/06/">June (
3)
</a></li>
1128 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/07/">July (
4)
</a></li>
1130 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/08/">August (
3)
</a></li>
1132 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/09/">September (
1)
</a></li>
1134 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/10/">October (
2)
</a></li>
1136 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/11/">November (
3)
</a></li>
1138 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/12/">December (
3)
</a></li>
1145 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/11/">November (
5)
</a></li>
1147 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/12/">December (
7)
</a></li>
1158 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (
16)
</a></li>
1160 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/amiga">amiga (
1)
</a></li>
1162 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/aros">aros (
1)
</a></li>
1164 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bankid">bankid (
4)
</a></li>
1166 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (
10)
</a></li>
1168 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (
17)
</a></li>
1170 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bsa">bsa (
2)
</a></li>
1172 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (
2)
</a></li>
1174 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian (
162)
</a></li>
1176 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (
158)
</a></li>
1178 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian-handbook">debian-handbook (
4)
</a></li>
1180 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/digistan">digistan (
10)
</a></li>
1182 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/dld">dld (
17)
</a></li>
1184 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/docbook">docbook (
25)
</a></li>
1186 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (
4)
</a></li>
1188 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/english">english (
385)
</a></li>
1190 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (
23)
</a></li>
1192 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (
13)
</a></li>
1194 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (
32)
</a></li>
1196 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox (
9)
</a></li>
1198 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen (
18)
</a></li>
1200 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/h264">h264 (
20)
</a></li>
1202 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/intervju">intervju (
42)
</a></li>
1204 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram (
16)
</a></li>
1206 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart (
20)
</a></li>
1208 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kodi">kodi (
3)
</a></li>
1210 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap (
9)
</a></li>
1212 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lego">lego (
4)
</a></li>
1214 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker (
8)
</a></li>
1216 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lsdvd">lsdvd (
2)
</a></li>
1218 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (
1)
</a></li>
1220 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network (
8)
</a></li>
1222 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (
41)
</a></li>
1224 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nice free software">nice free software (
10)
</a></li>
1226 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk (
299)
</a></li>
1228 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug (
190)
</a></li>
1230 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (
33)
</a></li>
1232 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/open311">open311 (
2)
</a></li>
1234 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (
72)
</a></li>
1236 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern (
107)
</a></li>
1238 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/raid">raid (
2)
</a></li>
1240 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reactos">reactos (
1)
</a></li>
1242 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap (
11)
</a></li>
1244 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rfid">rfid (
3)
</a></li>
1246 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot (
10)
</a></li>
1248 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rss">rss (
1)
</a></li>
1250 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ruter">ruter (
6)
</a></li>
1252 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (
2)
</a></li>
1254 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (
54)
</a></li>
1256 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (
4)
</a></li>
1258 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/skepsis">skepsis (
5)
</a></li>
1260 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard (
55)
</a></li>
1262 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (
6)
</a></li>
1264 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (
12)
</a></li>
1266 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (
55)
</a></li>
1268 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (
4)
</a></li>
1270 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/usenix">usenix (
2)
</a></li>
1272 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/valg">valg (
9)
</a></li>
1274 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/verkidetfri">verkidetfri (
12)
</a></li>
1276 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/video">video (
68)
</a></li>
1278 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (
4)
</a></li>
1280 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/web">web (
41)
</a></li>
1286 <p style=
"text-align: right">
1287 Created by
<a href=
"http://steve.org.uk/Software/chronicle">Chronicle v4.6
</a>