<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jopsen.dk/blog &#187; Linux</title>
	<atom:link href="http://jopsen.dk/blog/category/computer/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://jopsen.dk/blog</link>
	<description>Thoughts mixed with random memory dumps...</description>
	<lastBuildDate>Mon, 23 Jan 2012 22:38:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Turning OpenOffice Math into a visual formula editor</title>
		<link>http://jopsen.dk/blog/2010/08/turning-openoffice-math-into-a-visual-formula-editor/</link>
		<comments>http://jopsen.dk/blog/2010/08/turning-openoffice-math-into-a-visual-formula-editor/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 10:40:56 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[LibreOffice]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/?p=211</guid>
		<description><![CDATA[I&#8217;ve spend most my summer working on my GSoC project, which was to create a visual formula editor for OpenOffice Math. Currently, formulas are entered in OpenOffice Math using a plaintext command language, this can be efficent and easy for power users, however, it&#8217;s an absolute show stopper for most casual users. So I&#8217;ve spend [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spend most my summer working on my GSoC project, which was to create a visual formula editor for OpenOffice Math. Currently, formulas are entered in OpenOffice Math using a plaintext command language, this can be efficent and easy for power users, however, it&#8217;s an absolute show stopper for most casual users. So I&#8217;ve spend my summer writing a visual formula editor for OpenOffice Math, you can see demonstration here:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube-nocookie.com/v/3foNqKYAlYY?fs=1&amp;hl=en_US&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube-nocookie.com/v/3foNqKYAlYY?fs=1&amp;hl=en_US&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I participated in GSoC for Go OpenOffice, which is a project that maintains a set of patches on top of OpenOffice. Go OpenOffice is the OpenOffice version distributed with OpenSuSE, Ubuntu and other distros, it is allegedly a lot better than the official OpenOffice release. And also available for Windows.</p>
<p>Hacking OpenOffice have been a very exciting experience. I haven&#8217;t worked on a project so large and complex before. It easily takes 2 hours to build OpenOffice and the sources and binaries fills about 13 GiB. Luckily I didn&#8217;t have to rebuild everytime I had to test something.</p>
<p>The visual formula editor, see video above, is not production ready yet. That is it needs extensive testing and a few extra features&#8230; However, I plan to keep working on it. You can read more about it&#8217;s features and current status <a href="http://www.freedesktop.org/wiki/Software/ooo-build/SummerOfCode/2010/Jonas#VisualFormulaEditorpatchforOpenOfficeMath">here.</a></p>
<p>I don&#8217;t think I&#8217;ll keep updating that wiki page, but rather post some updates here once in a while. If you are eager to help test this feature when it comes that far, feel free to leave a comment with your email&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2010/08/turning-openoffice-math-into-a-visual-formula-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working on Pwytter in Google Summe of Code</title>
		<link>http://jopsen.dk/blog/2009/08/working-on-pwytter-in-google-summe-of-code/</link>
		<comments>http://jopsen.dk/blog/2009/08/working-on-pwytter-in-google-summe-of-code/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 08:44:32 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Pwytter]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/?p=124</guid>
		<description><![CDATA[This summer I&#8217;ve been working on Pwytter as a part of Google Summer of Code. My project was to separate the backend from the frontend and make a new user interface with PyQt. In my original propsal, I also wanted to do a GTK frontend, however, this was dropped in exchange for a more polished [...]]]></description>
			<content:encoded><![CDATA[<p>This summer I&#8217;ve been working on <a href="http://code.google.com/p/pwytter/">Pwytter</a> as a part of <a title="Google Summer of Code" href="http://code.google.com/soc/">Google Summer of Code</a>. My project was to separate the backend from the frontend and make a new user interface with PyQt. In my original <a title="Abstract for my proposal" href="http://socghop.appspot.com/student_project/show/google/gsoc2009/winlibre/t124024903606">propsal</a>, I also wanted to do a GTK frontend, however, this was dropped in exchange for a more polished Qt frontend (I do have the basics for a GTK frontend lying around, if anybody is interested, but it&#8217;s far from usable).</p>
<p>While writing a backend for Pwytter I also created some abstractions for micro-blogging services, so that Pwytter supports multiple accounts and multiple services (currently <a href="http://twitter.com/">Twitter</a> and <a href="http://identi.ca/">Identi.ca</a>). With this new backend all the messages are also cached in an sqlite database, enabling Pwytter for work while offline.</p>
<p><img class="size-full wp-image-142 alignnone" title="pwytter" src="http://jopsen.dk/blog/wp-content/uploads/2009/08/pwytter.png" alt="pwytter" width="500" height="574" /></p>
<p>I also added theming support to the Qt frontend I wrote for Pwytter, above is a screenshot of Pwytter running the &#8220;Twitter-like&#8221; theme (as you can see have also be translated, so far only to Danish). Pwytter uses WebKit to display tweets, users and other types of content, thus themes can customize the GUI using HTML templates and Qt stylesheets. Documentation for writing such themes can be found in the <a title="Pwytter theme documentation" href="http://code.google.com/p/pwytter/wiki/PwytterThemeDocumentation">project wiki</a>, I plan to write an article on subject when this Pwytter branch is released. So far this Pwytter branch is still under development, and interested developers can find <a title="Install instructions for the Pwytter backend branch" href="http://code.google.com/p/pwytter/wiki/BackendBranchInstall">install instructions</a> in the project wiki.</p>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2009/08/working-on-pwytter-in-google-summe-of-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RaptorMail, an encrypting GMail client</title>
		<link>http://jopsen.dk/blog/2008/12/raptormail-an-encrypting-gmail-client/</link>
		<comments>http://jopsen.dk/blog/2008/12/raptormail-an-encrypting-gmail-client/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 00:30:12 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/2008/12/raptormail-an-encrypting-gmail-client</guid>
		<description><![CDATA[Tomorrow, I&#8217;m finally turning in my P1 project, that&#8217;s the first semester project, at Aalborg University. The project is about RSA, and usability of encrypting email clients, and as a part of the project we&#8217;ve implemented an encrypting email client for GMail. In Python, with PyGTK and SQLite as backend, e.g. access mail while not [...]]]></description>
			<content:encoded><![CDATA[<p>Tomorrow, I&#8217;m finally turning in my P1 project, that&#8217;s the first semester project, at Aalborg University. The project is about RSA, and usability of encrypting email clients, and as a part of the project we&#8217;ve implemented an encrypting email client for GMail. In Python, with <a href="http://pygtk.org">PyGTK</a> and <a href="http://pysqlite.org">SQLite</a> as backend, e.g. access mail while not online.</p>
<p>Anyway, I thought I&#8217;d publish the report here for anyone to stumble upon. Honestly it&#8217;s not that great, it&#8217;s written in English and is subject to some serious gramma issues, as we&#8217;ve been pretty busy actually getting it ready&#8230; For those who does not know what a P1 project at <a href="http://en.wikipedia.org/wiki/University_of_Aalborg">AAU</a> is, it is a project conducted by a group of 4-7 students. Most of the education at AAU, happens through these kind of projects, which is kind of nice and gives a lot of freedom. But just for the record, I have not written the entire report myself, so do not blame me all the horror that may be found within it&#8230; <img src='http://jopsen.dk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Enough about the report, during the project we also wrote an encrypting GMail client, called RaptorMail &#8211; don&#8217;t ask <a title="Seriously, I told you, don't ask!" href="http://xkcd.com/292/">why</a>. A GMail client is actually quite interesting, if I managed to find the time, it would be real nice to nail the last few bugs and integrate it with GPG&#8230; An application to access GMail through a non-webinterface while still maintaining the same feature set would be nice to have. And cacheing all mail for offline usage is an absolute killer-feature.</p>
<p>But I&#8217;m afraid I have a lot of other small projects on my mind too, so actually getting it out there is probably not going to happen. But if anybody is looking for a way to synchronize and interface GMail with a local database from Python the &#8220;gmail_cache&#8221; module I&#8217;ve written for this project is fairly comprehensive and well documented.</p>
<ul>
<li><a title="Download sourcecode for RaptorMail, including gmail_cache" href="http://jopsen.dk/blog/downloads/RaptorMail.tar.gz">Download sourcecode for RaptorMail</a>.</li>
<li><a title="Download the report as pdf." href="http://jopsen.dk/blog/downloads/P1_report.pdf">Download the report</a>, (<a title="Download the report as pdf, double sidded." href="http://jopsen.dk/blog/downloads/P1_report_twoside.pdf">twoside</a>).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2008/12/raptormail-an-encrypting-gmail-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SimpleECDSA, a simple implementation of ECDSA in C</title>
		<link>http://jopsen.dk/blog/2007/12/simpleecdsa-a-simple-implementation-of-ecdsa-in-c/</link>
		<comments>http://jopsen.dk/blog/2007/12/simpleecdsa-a-simple-implementation-of-ecdsa-in-c/#comments</comments>
		<pubDate>Sat, 29 Dec 2007 12:32:32 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/2007/12/simpleecdsa-a-simple-implementation-of-ecdsa-in-c</guid>
		<description><![CDATA[2 weeks ago I did a school project on ECDSA (Elliptic Curve Digital Signature Algorithm). At HTX we have to do a project that goes beyond the curriculum, we must combine two subjects and do an individual project about something we find interesting. I decided to combine mathematics and programming in a project about ECDSA. [...]]]></description>
			<content:encoded><![CDATA[<p>2 weeks ago I did a school project on <a href="http://en.wikipedia.org/wiki/Elliptic_Curve_DSA">ECDSA</a> (Elliptic Curve Digital Signature Algorithm). At HTX we have to do a project that goes beyond the curriculum, we must combine two subjects and do an individual project about something we find interesting. I decided to combine mathematics and programming in a project about ECDSA. Personally I think it was great fun, but perhaps I have a twisted sense of humor <img src='http://jopsen.dk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyway, I&#8217;ve publish my report <a href="http://jopsen.dk/blog/2007/12/elliptic-curve-digital-signature-algorithm">here</a>, it&#8217;s in Danish though. But I did also write an implementation of ECDSA in C. The implementation is called <a href="http://jopsen.dk/blog/downloads/simpleecdsa-1.0.0.tar.gz">SimpleECDSA</a>, though I must admit it not very Simple anymore. It uses <a href="http://gmplib.org/">GMP</a> as integer library, and uses the standardized curves cryptographic operations.</p>
<p>The comments in my source is in English, though I did translate them to Danish, before delivering my paper. Anyway, I still have the source with English comments, so I thought I&#8217;d post the source here.</p>
<p>As I had a little spare time this holiday I&#8217;ve configured the source with the GNU build system. It my first tarball created with Autotools, and it&#8217;s mostly hacked together of snippets from the <a href="http://www.gnu.org/software/automake/manual/automake.html">automake</a> and <a href="http://www.gnu.org/software/autoconf/manual/autoconf.html">autoconf</a> manual. But it works and the package compiles, and &#8220;./configure&#8221; complains if GMP isn&#8217;t present. I did also manage to get &#8220;make check&#8221; to run my internal tests, so I think it&#8217;s pretty good, considering the fact that is my first package build with autotools.</p>
<p>If you&#8217;ve any comments, bug-reports or questions to my packaging or SimpleECDSA, feel free to leave a comment. SimpleECDSA is ofcourse released under <a href="http://www.gnu.org/copyleft/gpl.html">GNU GPLv3</a>, and can be downloaded here:</p>
<ul>
<li><a href="http://jopsen.dk/blog/downloads/simpleecdsa-1.0.0.tar.gz">Download SimpleECDSA</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2007/12/simpleecdsa-a-simple-implementation-of-ecdsa-in-c/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Volume normalization with Amarok</title>
		<link>http://jopsen.dk/blog/2007/08/volume-normalization-with-amarok/</link>
		<comments>http://jopsen.dk/blog/2007/08/volume-normalization-with-amarok/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 20:08:25 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[TheLastRipper]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/2007/08/volume-normalization-with-amarok</guid>
		<description><![CDATA[Some users of TheLastRipper has requested integrated volume nomalization (Issue 61). While I admit that I&#8217;ve noticed the volume changes between tracks, I&#8217;ve never really bordered to find a solution. But since others had similar issues, I decided to take a look at it. I ended up looking at ReplayGain, a project that aims to [...]]]></description>
			<content:encoded><![CDATA[<p>Some users of <a href="http://code.google.com/p/thelastripper">TheLastRipper</a> has requested integrated volume nomalization (<a href="http://code.google.com/p/thelastripper/issues/detail?id=61">Issue 61</a>). While I admit that I&#8217;ve noticed the volume changes between tracks, I&#8217;ve never really bordered to find a solution. But since others had similar issues, I decided to take a look at it. I ended up looking at ReplayGain, a project that aims to add a tag, containing volume information, to all songs. Then read the tag at playback and determine the volume. Though the value of the tag must be calculated first.</p>
<p>As this seams like a big feature, and as argued by Andreas in the issue tread, it&#8217;s probably not a feature for TheLastRipper. Nevertheless it doesn&#8217;t mean that the problem should be fixed, just that it should be done elsewhere. This is also good, since you entire music collection doesn&#8217;t necessarily origin from TheLastRipper. The solution is to implement this feature at playback level, meaning in your audio player.</p>
<p>For those of us running <a href="http://ubuntu.com">Ubuntu</a> and using <a href="http://amarok.kde.org/">Amarok</a>, this can be done easily. First open Amarok, choose &#8220;script-management&#8221;, Click download new scripts. This will open a dialog showing the newest, most popular and most downloaded script for Amarok. Just install the script called <a href="http://www.kde-apps.org/content/show.php?content=26073">ReplayGain</a>. Once this is installed you&#8217;ll have to install some dependencies with Synaptic. I&#8217;ll try to list those I think is needed: python-kde3, mp3gain, vorbisgain, flac, python-xml</p>
<p>If you enter the script-management in Amarok again, you can enable the ReplayGain script. Enable it, select it and click &#8220;Settings&#8221;, you can tweak the ReplayGain script a little here. Once your done with that leave the settings, and ReplayGain will print a small popup, telling you which optional dependencies you are missing. I&#8217;ve probably forgot to list some of them, you may find them in Synaptic if you think you need them. Though I haven&#8217;t found &#8220;aacgain&#8221; or &#8220;replaygain&#8221; in the Ubuntu repositories.</p>
<p>Well, you don&#8217;t need &#8220;replaygain&#8221; or &#8220;AACGain&#8221;, unless you, like me, have <a href="http://en.wikipedia.org/wiki/Advanced_Audio_Coding">AAC</a> music. Actually I&#8217;ve just bought my first AAC music from <a href="http://www.apple.com/itunes/">iTunes</a>. I haven&#8217;t used iTunes before, but I thought I&#8217;d give it a try since they started releasing DRM-free content. So I installed iTunes in my virtual machine, and copied the AAC files back to my Ubuntu system after they were downloaded. First I must say, the quality of iTunes plus files are very good, and the files has <a href="http://www.id3.org/">ID3v2</a> tags (other mp3&#8242;s I&#8217;ve bought online did!). It&#8217;s sad that iTunes doesn&#8217;t run on Linux, Apple could at least offer a web interface for iTunes plus.</p>
<p>Well, if you have AAC encoded music, you&#8217;ll need <a href="http://altosdesign.com/aacgain/">AACGain</a>, it&#8217;s not in Ubuntu or Debian repositories. Actually I couldn&#8217;t find any .deb packages for it anywhere. So I decided to make my own. You may <a href="http://jopsen.dk/blog/downloads/aacgain_1.7-1_i386.deb">download my ACCGain package here</a>. Feel free to <a href="http://jopsen.dk/en/Contact">contact</a> me if you want the source package.</p>
<p>Once you&#8217;re done installing dependencies, and have enabled the ReplayGain Amarok script, you can right click in your playlist and choose &#8220;Apply Replaygain tags&#8221;, I selected &#8220;To entire collection using album tags&#8221; it took a while but the volume was automatically determined by Amarok afterwards.</p>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2007/08/volume-normalization-with-amarok/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Min installation af Ubuntu 7.04 Feisty Fawn</title>
		<link>http://jopsen.dk/blog/2007/07/min-installation-af-ubuntu-704-feisty-fawn/</link>
		<comments>http://jopsen.dk/blog/2007/07/min-installation-af-ubuntu-704-feisty-fawn/#comments</comments>
		<pubDate>Fri, 27 Jul 2007 11:24:14 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Dansk]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/2007/07/min-installation-af-ubuntu-704-feisty-fawn</guid>
		<description><![CDATA[Jeg ved godt at feisty fawn har været ude et stykke tid, men jeg ville ikke opgradere under mine eksamener og lige pludselig havde jeg sommerferie og sommer job&#8230; Derfor var det først her i weekenden at jeg fik installeret feisty fawn. Jeg valgte installation frem for opgradering, da jeg havde leget lidt mere med [...]]]></description>
			<content:encoded><![CDATA[<p>Jeg ved godt at feisty fawn har været ude et stykke tid, men jeg ville ikke opgradere under mine eksamener og lige pludselig havde jeg sommerferie og sommer job&#8230; Derfor var det først her i weekenden at jeg fik installeret feisty fawn. Jeg valgte installation frem for opgradering, da jeg havde leget lidt mere med min edgy installation end hvad godt er.</p>
<p>Installationen var nem og hurtig, det hele gik meget smerte frit. Denne gang var network-manager allerede konfigureret lige efter installation. En lille sjov detalje:<br />
Kort efter at have installeret Ubuntu kunne jeg læse på Newz.dk at toshiba havde tilbage kaldt flere batterier. Senere på aften havde Ubuntu opdaget at min laptop var en toshiba og den gav mig en fin advarsel om at mit batteri kunne være tilbage kaldt. Advarselen så sådan ud:</p>
<p><img id="image52" src="http://jopsen.dk/blog/wp-content/uploads/2007/07/ToshibaRecall.png" alt="Ubunut Toshiba recall message" /></p>
<p>Som det kan ses var den på dansk, og kom forholdvis kort tid efter nyheden om batterierne. Jeg synes det er en fed service fra Ubuntu. Jeg kan hilse og sige at min Windows partition ikke kan finde ud af at advarer mig, og det selvom den er fuld af bloatware fra Toshiba (Bruger den kun til legacy applikationer og end smule Windows udvikling). Det skal lige siges at mit batteri ikke var tilbage kaldt, men det var tæt på.</p>
<p>Det eneste problem jeg havde efter installation af Ubuntu Feisty Fawn var sove funktionen, eller det der hedder &#8220;afbryd&#8221; når man logger ud at gnome, når jeg kom tilbage efter en suspendering til ram virkede det trådløs netværk ikke. Jeg kunne ikke komme på trådløst netværk med min IPW2200. Jeg kiggede lidt på nettet og det vidste sig at hvis man tilføjer &#8220;ipw2200&#8243; til modules i /etc/default/acpi-support, så bliver driveren reloaded efter suspendering. Altså ALT+F2 skriv &#8220;gksu gedit /etc/default/acpi-support&#8221; ENTER, find linjen MODULES=&#8221;" og ændre den til MODULES=&#8221;ipw2200&#8243; og gem.</p>
<p>En anden lille ting man måske kunne tænke sig at gøre efter installationen af Ubuntu, er at installere pam-keyring. Gnome-Keyring spørger normalt om din hoved adgangskode til nøgleringen, hver eneste gang et program skal have fat i et password som er gemt. F.eks. network-manager der bruger gnome-keyring til at gemme passwords i. Ved installation af pam-keyring vil standart nøgleringen blive låst op ved login. Det er vigtigt at din nøglering har sammen password som det du bruger til at logge ind med. Derefter skal du installere pam-keyring med synaptic eller bare &#8220;sudo apt-get install pam-keyring&#8221;, og tilføje følgende linjer til filen /etc/pam.d/gdm :</p>
<p style="margin-left: 40px">auth optional pam_keyring.so try_first_pass<br />
session optional pam_keyring.so</p>
<p>Hvis man går lidt op i hvordan systemet ser ud, kan man installere en thumbnailer til openoffice filer. Jeg fandt en god en i en tråd på <a href="http://ubuntuforums.org/showthread.php?t=76566">ubuntuforums</a>, den benytter et thumbnail af openoffice dokumentet og sætter et lille gennemsigtigt ikon hen over billedet, så man kan se om der er tale om et tekst dokument, en præsentation eller et regneark. Jeg har opsummeret tråden fra ubuntuforums til et <a href="http://jopsen.dk/blog/downloads/ooo2-thumbnailer.tar.gz">lille arkiv</a> med installation instrukser. Resultatet ser sådan ud:</p>
<p><img id="image54" src="http://jopsen.dk/blog/wp-content/uploads/2007/07/ooo2-thumbnailer-Test.png" alt="ooo2-thumbnailer Test" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2007/07/min-installation-af-ubuntu-704-feisty-fawn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Export Monodoc to GoogleCode Wiki</title>
		<link>http://jopsen.dk/blog/2007/04/howto-export-monodoc-to-googlecode-wiki/</link>
		<comments>http://jopsen.dk/blog/2007/04/howto-export-monodoc-to-googlecode-wiki/#comments</comments>
		<pubDate>Sat, 07 Apr 2007 22:39:46 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[TheLastRipper]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/2007/04/howto-export-monodoc-to-googlecode-wiki</guid>
		<description><![CDATA[Lately I&#8217;ve been working on a small project called TheLastRipper, hosted on Code.google.com. A few days ago I started wondering about how to document a Mono/.Net application, not because there&#8217;s much to document in TheLastRipper or worth documenting for that matter. Anyway I ended up looking at some pages in the Mono wiki, it seams [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve been working on a small project called <a title="TheLastRipper project page" href="http://code.google.com/p/thelastripper">TheLastRipper</a>, hosted on <a title="Google Code homepage" href="http://code.google.com">Code.google.com</a>. A few days ago I started wondering about how to document a Mono/.Net application, not because there&#8217;s much to document in TheLastRipper or worth documenting for that matter. Anyway I ended up looking at some pages in the <a title="Mono: Generating documentation" href="http://www.mono-project.com/Generating_Documentation">Mono wiki</a>, it seams the best way of generating documentation, wasn&#8217;t by using <a title="MSDN article about documentation comments" href="http://msdn.microsoft.com/msdnmag/issues/02/06/XMLC/">documentations comments</a> handled by the C# compilers <a title="Mono: Inline Xml documentation" href="http://www.mono-project.com/Generating_Documentation#Inline_XML_Documentation">/doc</a> argument. This is the method most (former) Windows developers are familiar with, once documentation comments have been exported to Xml by the C# compiler, it can be generate into a <a title="Wikipedia: Microsoft Compiled HTML Help" href="http://en.wikipedia.org/wiki/Microsoft_Compiled_HTML_Help">CHM file</a> using programs like <a title="ndoc's website at sourceforge" href="http://ndoc.sourceforge.net/">ndoc</a>. Instead the Mono project generates documentation from binaries, which gives them Xml files containing all methods, classes etc. Later on you&#8217;ll then be able to fill out the empty comments. This way documentation of code development have been completely separated.</p>
<p>You can read the discussion between the two different documentation formats in <a title="Mono: Generating documentation" href="http://www.mono-project.com/Generating_Documentation">Mono wiki</a>. I&#8217;ve chosen a middle path, by exporting my current documentation comments to monodoc. I won&#8217;t discuss the process of documenting an application using monodoc, the process is already well documented in the <a title="Mono: Generating documentation" href="http://www.mono-project.com/Generating_Documentation">Mono wiki</a> article I&#8217;ve linked to a few times. What I will discuss is how to parse you monodoc Xml to WikiMarkup that can be hosted on GoogleCode. Mono already comes with an application to parse monodoc to plain html, called monodocs2html. I&#8217;ve made a modification of the application, resulting in <a title="Download my modification" href="http://jopsen.dk/blog/downloads/monodocs2wiki.tar.gz">monodocs2wiki</a>. If you have your documentation as monodoc Xml you can parse it to WikiMarkup, by doing following:</p>
<ol>
<li>Download: <a title="Download monodocs2wiki" href="http://jopsen.dk/blog/downloads/monodocs2wiki.tar.gz">monodocs2wiki</a></li>
<li>Extract the</li>
<li>Checkout the /wiki/ directory from your GoogleCode svn repository</li>
<li>Run: ./monodocs2wiki -source:./docs/ -dest:./wiki/<br />
<blockquote><p>Where ./docs/ is the base path of your monodoc xml files (Containing an index.xml file). And ./wiki/ is the /wiki/ directory you checked out of svn.</p></blockquote>
</li>
<li>Commit your /wiki/ directory to svn, and view you documentation in you GoogleCode wiki.</li>
</ol>
<p>The /wiki/ directory of your GoogleCode svn repository, contains all the pages in your GoogleCode wiki. You may wish to change a few things in the template, perhaps using a different label than just Documentation. Take a look in the README file if you what to know more about customization. The current template in the <a title="Download monodocs2wiki" href="http://jopsen.dk/blog/downloads/monodocs2wiki.tar.gz">monodocs2wiki</a> application, uses the markup used in the wikies at Google Code. You may modify it, I think it would be easy to port it to another WikiMarkup. Any questions, feel free to leave a comment or mail me&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2007/04/howto-export-monodoc-to-googlecode-wiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital signering med GPG</title>
		<link>http://jopsen.dk/blog/2007/04/digital-signering-med-gpg/</link>
		<comments>http://jopsen.dk/blog/2007/04/digital-signering-med-gpg/#comments</comments>
		<pubDate>Fri, 06 Apr 2007 22:39:31 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Dansk]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/2007/04/digital-signering-med-gpg</guid>
		<description><![CDATA[For et stykke tid siden byggede jeg min første deb pakke med TheLastRipper. Sådan nogle pakker skal altid underskrives digitalt, derfor legede jeg lige lidt med GPG (GNU Privacy Guard). Men jeg fik ikke rigtigt offentliggjort min public key, så det hele var lidt nytteløst. I dag har jeg så endelig fået tid til at [...]]]></description>
			<content:encoded><![CDATA[<p>For et stykke tid siden byggede jeg min første deb pakke med <a title="TheLastRipper project page" href="http://code.google.com/p/thelastripper">TheLastRipper</a>. Sådan nogle pakker skal altid underskrives digitalt, derfor legede jeg lige lidt med GPG (<a href="http://www.gnupg.org/">GNU Privacy Guard</a>). Men jeg fik ikke rigtigt offentliggjort min public key, så det hele var lidt nytteløst. I dag har jeg så endelig fået tid til at lege lidt med GPG.</p>
<p>Måske jeg skulle starte helt ved bunden, GPG og/eller <a title="Wikipedia artikel om PGP" href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy">PGP</a> som er den kommercielle implementering, er et system til at digitalt underskrive og/eller kryptere ting. Det virker ved at man genererer et nøgle sæt. En offentlig nøgle og en private nøgle. Data der er krypteret med den private nøgle kan kun dekrypteres med den offentlige nøgle og omvendt. Dette kaldes <a title="Wikipedia om key infrastruktur" href="http://en.wikipedia.org/wiki/Public-key_cryptography">asynkron kryptering</a>. Hvis jeg så kryptere en besked med min private nøgle, kan den kun dekrypteres med min offentlige nøgle. På den måde kan man verificere signaturen (normalt kryptere man ikke hele beskeden, men kun en <a title="Hash funktion (md5, sha1 etc.)" href="http://en.wikipedia.org/wiki/Cryptographic_hash_function">hashsum</a> af den). Omvendt kan en anden person også kryptere en besked med min offentlige nøgle, hvorefter beskeden kun kan dekrypteres med min private nøgle. Hvilket sikre at det kun er mig der kan læse beskeden.</p>
<p>Når, men jeg startede med at installere <a title="SeaHorse hjemmeside" href="http://www.gnome.org/projects/seahorse/">SeaHorse</a>, en grafisk brugerflade til GPG. Derefter var det forholdvist enkelt at genererer et nøgle sæt. Man kan også tilføje et billede af sig selv til signaturen. Problemet kom da jeg ville offentliggøre min offentlige nøgle, dette gør man ved at synkronisere sin(e) nøgle(r) med en offentlig nøgle server. Men jeg kunne ikke få SeaHorse til at synkronisere med nogle af serverne, jeg fandt også en <a title="Bug rapport på Gnomes BugZilla" href="http://bugzilla.gnome.org/show_bug.cgi?id=351969">bug rapport</a> på dette på Gnome&#8217;s BugZilla. Løsningen var faktisk ret enkel, højre klik på din nøgle og vælg &#8220;export public key&#8221;, derefter skal man blot uploade filen til f.eks. <a title="PGP's offentlige nøgleserver" target="_blank" href="http://keyserver.pgp.com">keyserver.pgp.com</a>. Så venter man et par timer og pludselig er alle keyservere i verden blevet synkroniseret.</p>
<p>Et lille tip, man kan installere et plugin til <a href="http://www.mozilladanmark.dk/produkter/firefox/">Firefox</a> der hedder <a title="FireGPG hjemmeside" href="http://firegpg.tuxfamily.org/">FireGPG</a>. Så kan man verificere mail i <a href="http://gmail.com">Gmail</a>, og alle andre hjemmesider hvor man skulle støde på nogle. Du kan f.eks. prøve om du kan verificere dette blog indlæg, du kan finde min offentlige nøgle på <a href="http://keyserver.pgp.com">keyserver.pgp.com</a>, bare søg efter jopsen@gmail.com. Du kan verificer min blog post med følgende .txt fil: <a title="Denne blog underskrevet med GPG" href="http://jopsen.dk/blog/downloads/Digital_signering_med_GPG.txt">Digital_signering_med_GPG.txt</a>, du skal blot åbne filen i Firefox med FireGPG installeret: Marker alt, højre klik og vælg FireGPG > Verify. Hvis denne ikke vil verificere så tjek at du har importeret min offentlige signatur og at du benytte tegnsætningen: ISO-8859-15&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2007/04/digital-signering-med-gpg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TheLastRipper-0.1.2</title>
		<link>http://jopsen.dk/blog/2007/02/thelastripper-012/</link>
		<comments>http://jopsen.dk/blog/2007/02/thelastripper-012/#comments</comments>
		<pubDate>Sun, 04 Feb 2007 21:33:15 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[TheLastRipper]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/2007/02/thelastripper-012</guid>
		<description><![CDATA[The last few weeks I&#8217;ve been working on a project called TheLastRipper, an audio stream ripper for Last.fm. It&#8217;s not all done yet, but it&#8217;s getting close. It&#8217;s written in C# and I&#8217;m planing to port it to both Windows and OS X using both MS .Net Framework and Mono. Currently there&#8217;s only a Mono/Linux [...]]]></description>
			<content:encoded><![CDATA[<p>The last few weeks I&#8217;ve been working on a project called TheLastRipper, an audio stream ripper for <a title="An online social radio broadcaster" href="http://last.fm">Last.fm</a>. It&#8217;s not all done yet, but it&#8217;s getting close. It&#8217;s written in C# and I&#8217;m planing to port it to both Windows and OS X using both MS .Net Framework and <a title="Mono Project, an opensource implementation of .Net for *nix" href="http://mono-project.org">Mono</a>. Currently there&#8217;s only a Mono/Linux client, it should be possible to port it to gtk#/Mono/Windows pretty fast, but I think I&#8217;m going to create a native Windows.Forms interface instead.</p>
<p>Anyway, I&#8217;m here by making the first alpha version available for testing. Now I&#8217;ve never packaged anything before, so there&#8217;s no guaranties on the package. But it&#8217;s probably better than the tarball, since the tarball only installs two .Net assemblies, and no mono wrapper script in /usr/bin/ or menu entries.<br />
If you know anything about debian/ubuntu packaging please give me some feedback on the packaging:</p>
<ul>
<li><a title="Download the source tarball." href="http://jopsen.dk/blog/downloads/thelastripper-0.1.2.tar.gz">Tarball</a></li>
<li><a title="Download the debian/ubuntu package" href="http://jopsen.dk/blog/downloads/thelastripper_0.1.2-1_all.deb">Debian/Ubuntu package</a></li>
</ul>
<p>By the way, the project is part of a school project I&#8217;m doing in technology about copyright, music and luxury. This is relevant because in Danish copyright law, it&#8217;s legal to rip unencrypted audio streams, like Last.fm, but please don&#8217;t take my word for it, I&#8217;m not done with the project and I&#8217;ll look more into the Danish copyright laws later. The Danish Ministry of culture has a piece on copyright and <a title="The Danish Ministry of culture (In Danish)" href="http://www.infokiosk.dk/sw19518.asp">audio stream</a> ripping.</p>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2007/02/thelastripper-012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ikke mere slowmotion</title>
		<link>http://jopsen.dk/blog/2006/11/ikke-mere-slowmotion/</link>
		<comments>http://jopsen.dk/blog/2006/11/ikke-mere-slowmotion/#comments</comments>
		<pubDate>Fri, 24 Nov 2006 19:01:49 +0000</pubDate>
		<dc:creator>Jonas Finnemann Jensen</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Dansk]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://jopsen.dk/blog/2006/11/ikke-mere-slowmotion</guid>
		<description><![CDATA[Nu er det ved at være længe siden jeg sidst har fået blogget, de skyldes nok til dels at min verden på det sidste har kørt i slowmotion. For 3 uger siden startede min laptop nemlig op med et stort beep, efter mange frustrerende timer fandt jeg en ram fejl med MemTest86 fra min Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>Nu er det ved at være længe siden jeg sidst har fået blogget, de skyldes nok til dels at min verden på det sidste har kørt i slowmotion. For 3 uger siden startede min laptop nemlig op med et stort beep, efter mange frustrerende timer fandt jeg en ram fejl med MemTest86 fra min Ubuntu installation. Til min overraskelse var det min ramblok på 1024 MiB fra kingston der var defekt, og ikke de originale ram fra Toshiba. Når ja, men der var jo garanti på mine Kingston ram, og jeg kunne vel sagtens klare mig med 256 MiB Ram i et par dage tænkte jeg. Men jeg skulle blive klogere, det vidste sig at ITbutikken (min lokale retailer, som Kingston support bad mig kontakte), var så langsom at det skulle tage 3 uger før jeg fik mine ram igen. Så det er absolut sidste gang jeg handler hos ITbutikken, sidste år da jeg bestilte et Logitech tastatur hos dem tog det dem 3 uger at sende det forkerte tastatur, som jeg så skulle sende tilbage og vente 3 uger mere på det rigtige tastatur.</p>
<p>Men nu har jeg endelig fået mine ram tilbage, jeg var også blevet alvorlig negativ hvis ITbutikken havde sendt dem som &#8220;julegaver&#8221;. Da jeg kørte på mine 256 MiB originale ram måtte jeg kører Xfce for bare at kunne få firefox i en nogenlunde hastighed. Nu ved jeg godt at man sagtens kan kører Ubuntu uden 1024 ram, men hvis man har 1024 ram og hedder Jonas skal man nok sørge for at der kører så mange services at mindst halvdelen af ens ram er brugt&#8230;</p>
<p>Update: Mine ram, døde 3 dage senere igen, men denne gang tog det kun ITbutikken 3 dage at sende nogle nye ram.</p>
]]></content:encoded>
			<wfw:commentRss>http://jopsen.dk/blog/2006/11/ikke-mere-slowmotion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

