<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en" xml:base="http://fransdejonge.com/wp-atom.php">
	<title type="text">The One with the Thoughts of Frans</title>
	<subtitle type="text">Just a personal blog, sharing some thoughts and findings.</subtitle>

	<updated>2012-02-06T19:37:43Z</updated>

	<link rel="alternate" type="text/html" href="http://fransdejonge.com" />
	<id>http://fransdejonge.com/feed/atom/</id>
	

	<generator uri="http://wordpress.org/" version="3.3.1">WordPress</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/theonewiththethoughtsoffrans" /><feedburner:info uri="theonewiththethoughtsoffrans" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Uw Kinderen — Your Children]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/H_0l71RB9NY/" />
		<id>http://fransdejonge.com/?p=1802</id>
		<updated>2012-02-06T19:37:43Z</updated>
		<published>2012-02-06T19:37:43Z</published>
		<category scheme="http://fransdejonge.com" term="Thoughts" />		<summary type="html"><![CDATA[An impromptu translation of a poem by Annie M.G. Schmidt.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2012/02/uw-kinderen-your-children/">&lt;p&gt;I thought this poem by Annie M.G. Schmidt was quite amusing; it also nicely characterizes the prose texts in the bundle from which I took it. The poem’s short, so you’ve got no excuse not to read it — assuming you speak Dutch, of course.&lt;/p&gt;
&lt;pre lang="nl" class="poetry"&gt;
Een sprookje voor het slapen gaan
over de bijtjes en de maan,
over de elfjes teer en fijn,
die Artistiek Verantwoord zijn,
en over ’t zoete bloemenfeetje…
uw kind vindt het wel mooi, een beetje…
maar gooit de elfjes grif terzijde
voor strips met nare blote meiden.
Een kind is al zo gauw tevree:
een overval — een moord of twee.

Kind, huil maar niet, wees maar bedaard:
ik gooi Rie Cramer in de haard.
Hier is de strip, met stromen bloed.
Beng, weer een lijk. Dus wees maar zoet.
&lt;/pre&gt;
&lt;p&gt;From &lt;cite&gt;Voeden, verschonen en in de wieg mikken&lt;/cite&gt;. 2009, Querido.&lt;/p&gt;
&lt;p&gt;For the speakers of English among us, I hereby offer you an impromptu translation:&lt;/p&gt;
&lt;pre class="poetry"&gt;
A fairy tale for sleeping soon
about little bees and the moon,
about little elves frail and fine,
of artistically sound design,
and about the sweet flower fairy…
your child thinks it's nice, not very…
but promptly the elves aside it whirls
for comics with nasty naked girls.
A child is easy to entertain:
a robbery — a murder or twain.

Child, don’t cry, just be as if in a daze:
I'll throw Rie Cramer&lt;sup&gt;1&lt;/sup&gt; in the fireplace.
Here's the comic, with streams of blood.
Bang, again a corpse. So be good.
&lt;/pre&gt;
&lt;hr/&gt;
&lt;p&gt;1. Rie Cramer is a Dutch author and illustrator of books aimed at little children.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/H_0l71RB9NY" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2012/02/uw-kinderen-your-children/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2012/02/uw-kinderen-your-children/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2012/02/uw-kinderen-your-children/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Debian: International Fonts]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/6JL7KrWqmQs/" />
		<id>http://fransdejonge.com/?p=1803</id>
		<updated>2012-02-02T20:52:47Z</updated>
		<published>2012-02-02T20:52:47Z</published>
		<category scheme="http://fransdejonge.com" term="Language" /><category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA[An easy apt-get install line for East Asian and Indic fonts.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2012/02/debian-international-fonts/">&lt;p&gt;Ubuntu comes with a large swath of international fonts installed by default, but Debian requires a little more attention. Although I can&amp;#8217;t read the languages, I can recognize which script is which. Besides, boxes are just ugly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;East Asian: &lt;code&gt;apt-get install ttf-arphic-uming ttf-wqy-zenhei ttf-sazanami-mincho ttf-sazanami-gothic ttf-unfonts-core&lt;/code&gt; (&lt;a href="http://en.wikipedia.org/wiki/Help:Multilingual_support_(East_Asian)"&gt;source&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Indic: &lt;code&gt;apt-get install ttf-indic-fonts&lt;/code&gt; (&lt;a href="http://en.wikipedia.org/wiki/Help:Multilingual_support_(Indic)"&gt;source&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;All together: &lt;code&gt;apt-get install ttf-arphic-uming ttf-wqy-zenhei ttf-sazanami-mincho ttf-sazanami-gothic ttf-unfonts-core ttf-indic-fonts&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These are merely the ones that I missed the most. I may update this post in the future.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/6JL7KrWqmQs" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2012/02/debian-international-fonts/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2012/02/debian-international-fonts/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2012/02/debian-international-fonts/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Mounting filesystems with fstab]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/TFwFThDSEzs/" />
		<id>http://fransdejonge.com/?p=1773</id>
		<updated>2011-12-23T21:56:24Z</updated>
		<published>2011-12-23T21:56:24Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA[If you&#8217;re just switching from Windows and you don’t like to enter passwords every time you want to access your disks, fstab is what you need. Of course it also applies to e.g. ext4 partitions that you didn&#8217;t assign a mount point during the installation of your OS, but when you&#8217;ve come that far along [...]]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/12/mounting-filesystems-with-fstab/">&lt;p&gt;If you&amp;#8217;re just switching from Windows and you don’t like to enter passwords every time you want to access your disks, fstab is what you need. Of course it also applies to e.g. ext4 partitions that you didn&amp;#8217;t assign a mount point during the installation of your OS, but when you&amp;#8217;ve come that far along you probably already know this.&lt;/p&gt;
&lt;p&gt;By far the best explanation of fstab I&amp;#8217;ve found was on &lt;a href="https://wiki.archlinux.org/index.php/Fstab"&gt;ArchWiki&lt;/a&gt;, so I won’t waste my time reiterating what is stated there. I’ll merely try to further clarify a few things that were less immediately obvious to myself and needed a little experimentation.&lt;/p&gt;
&lt;p&gt;In many ways fstab is what I always wanted in Windows. For a long, long time I&amp;#8217;ve maintained a C partition (dedicated Windows, so I could wipe it without really affecting anything), a D partition (my primary data container), and later, as I added more HDDs, I think I got up to G. There are some hacks available, like &lt;a href="http://en.wikipedia.org/wiki/NTFS_junction_point"&gt;NTFS junction points&lt;/a&gt;, but they don&amp;#8217;t really protect against the fundamental flaw of drive letter assignment compared to the much more sensible mechanism of mount points.&lt;/p&gt;
&lt;p&gt;When you mount a partition manually through your GUI, by clicking on it and entering your password, it creates a temporary entry in /etc/mtab; this entry can be used to &lt;a href="http://stateless.geek.nz/2005/10/26/bind-mount-in-fstab/"&gt;as a starting point for fstab entries&lt;/a&gt;. However, for more reliable partition mounting you need to use &lt;abbr title="Universally unique identifier"&gt;UUID&lt;/abbr&gt;s. You can obtain this using &lt;code&gt;blkid /mnt/sda1&lt;/code&gt;, where /mnt/sda1 should be replaced with whatever partition you want to print a &lt;abbr title="Universally unique identifier"&gt;UUID&lt;/abbr&gt; for. This command needs to be run as root, i.e. with &lt;code&gt;su&lt;/code&gt; or &lt;code&gt;sudo&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you prefer to use a GUI, there are some options, but I haven&amp;#8217;t tried any of them. &lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;Disk Manager&lt;/dt&gt;
&lt;dd&gt;&lt;a href="http://flomertens.free.fr/disk-manager/"&gt;http://flomertens.free.fr/disk-manager/&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;PySDM&lt;/dt&gt;
&lt;dd&gt;&lt;a href="http://pysdm.sourceforge.net/"&gt;http://pysdm.sourceforge.net/&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;fwfstab&lt;/dt&gt;
&lt;dd&gt;&lt;a href="http://www.diffingo.com/oss/fwfstab"&gt;http://www.diffingo.com/oss/fwfstab&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/TFwFThDSEzs" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/12/mounting-filesystems-with-fstab/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/12/mounting-filesystems-with-fstab/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/12/mounting-filesystems-with-fstab/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Why Opera&#8217;s XHTML Error Handling Is Superior]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/7jkdGLaPG0w/" />
		<id>http://frans.lowter.us/?p=1159</id>
		<updated>2011-12-08T10:58:54Z</updated>
		<published>2011-11-24T18:44:33Z</published>
		<category scheme="http://fransdejonge.com" term="Browsers" /><category scheme="http://fransdejonge.com" term="Opera" />		<summary type="html"><![CDATA[A quick outline of the pros and cons of various types of feedback.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/11/why-operas-xhtml-error-handling-is-superior/">&lt;p&gt;I found this old, unfinished post in my drafts. I&amp;#8217;m not quite sure when I originally wrote it, but it was over a year ago. Rather than updating the content I decided to publish it as is, as I&amp;#8217;m not sure why I didn&amp;#8217;t, with a small addendum at the end.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;I made a little &lt;a href="http://i49.tinypic.com/2qwmz28.png"&gt;compilation&lt;/a&gt; of the various error messages displayed by browsers upon encountering an XML syntax error. Firefox (Gecko) has the unfriendly looking error on top, Chromium (Webkit) renders the page up to the error, but shows a large error message (albeit not at all useful like in Opera &amp;amp; Fx), and for Opera I included 10.10 and the latest 10.50 pre-alpha build. Note that it’s just the styles behind the error message that changed a bit: the content and helpfulness of the error message is still the same. I&amp;#8217;ll run it down a bit more:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Firefox displays an error message that&amp;#8217;s only useful if you already know sufficiently much about X(HT)ML, whereas Opera&amp;#8217;s error message not only highlights more clearly where parsing failed — although ultimately this difference might just be one of preference. More important, its error message might just helpfully link you precisely where you need to go to learn how to avoid it. When I first started messing about with XHTML back in &amp;#8217;03 or so, I probably would&amp;#8217;ve appreciated it if Opera had done that. At the time Opera behaved the same as Fx does now.&lt;/li&gt;
&lt;li&gt;Chromium displays an error message that doesn&amp;#8217;t even manage to clearly indicate what&amp;#8217;s the problem. This compares negatively to Fx and Opera highlighting the &amp;amp;.&lt;/li&gt;
&lt;li&gt;Chromium renders the page up to the problem, which may result in a get out of jail free card. The error message doesn’t seem very annoying, but if the error is in the middle of the page it’ll still be in the way. In my sample page it’s at the end, however. (My example page is basically a standard installation of phpGraphy on which I decided to switch to application/xml+xhtml because it claims to be more or less XHTML compliant now — I had to fix all the unclosed meta and link tags first.)&lt;/li&gt;
&lt;li&gt;Despite rendering the page, you won&amp;#8217;t be able to see the page fully in Chromium. You will with Opera&amp;#8217;s reparse as HTML function.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I hope that clarifies why I think Opera&amp;#8217;s handling is best, both as a user and as an author.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;This blog post is &lt;a href="http://my.opera.com/ODIN/blog/2011/09/28/no-more-xml-parsing-failed-errors"&gt;now outdated&lt;/a&gt;. You can return to the behavior I hailed by disabling the &lt;a href="opera:config#UserPrefs|AutomaticallyreparseXHTMLwithparsingerrorsasHTML"&gt;opera:config#UserPrefs|AutomaticallyreparseXHTMLwithparsingerrorsasHTML&lt;/a&gt; option.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/7jkdGLaPG0w" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/11/why-operas-xhtml-error-handling-is-superior/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/11/why-operas-xhtml-error-handling-is-superior/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/11/why-operas-xhtml-error-handling-is-superior/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Multiple Nationalities]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/BfFkmOGvqFY/" />
		<id>http://fransdejonge.com/?p=1801</id>
		<updated>2011-11-21T19:36:36Z</updated>
		<published>2011-11-21T19:36:36Z</published>
		<category scheme="http://fransdejonge.com" term="Thoughts" />		<summary type="html"><![CDATA[Nobody will apply for multiple nationalities just for the heck of it.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/11/multiple-nationalities/">&lt;p&gt;I seem to have missed Donner&amp;#8217;s latest brilliant idea for a new law. It seems that the Dutch government is looking to limit the number of people with multiple nationalities to a minimum. In today&amp;#8217;s &lt;cite&gt;NRC Handelsblad&lt;/cite&gt; Ulli d&amp;#8217;Oliveira wrote a great opinion piece about the matter on page 14. Some highlights:&lt;/p&gt;
&lt;blockquote lang="nl"&gt;&lt;p&gt;De rabiate weerzin in delen van het politieke spectrum tegen het verschijnsel van de meervoudige nationaliteit heeft een gevolg dat pas laat aan het licht kwam &amp;#8211; dezelfde beperkingen aan het behouden van de oorspronkelijke nationaliteit die aan buitenlandse aspirant-Nederlanders worden opgelegd, gelden voor Nederlanders die een buitenlandse nationaliteit willen aannemen. Een petitie met meer dan vijftienduizend handtekeningen van mensen in het buitenland keert zich tegen deze &lt;em&gt;collateral damage&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&amp;#8230;&lt;/p&gt;
&lt;p&gt;In het nationaliteitsrecht is het nuttig om &lt;em&gt;politics of identity&lt;/em&gt; te onderscheiden van &lt;em&gt;politics of interests&lt;/em&gt;. De laatste jaren wordt het Nederlandse nationaliteitsrecht gedomineerd door de vurige wens om aan buitenlanders die Nederlander willen worden eerst de eis te stellen dat ze ideaaltypische Nederlanders zijn geworden. Ze zijn ingeburgerd, spreken de taal, participeren in de samenleving, verdienen behoorlijk, hebben hun startkwalificatie op zak, hebben geen strafblad en zo meer &amp;#8211; alsof Nederlandse losers niet bestaan. Deze Nederlandse identiteit mag niet worden bezoedeld door vreemde smetten, zoals een buitenlandse nationaliteit. De identiteit van de would-be-Nederlander moet exclusief Nederlands zijn.&lt;/p&gt;
&lt;p&gt;&amp;#8230;&lt;/p&gt;
&lt;p&gt;Het wetsontwerp houdt geen rekening met burgers. De argumenten van expats zijn verstandig en invoelbaar. Mensen willen settelen in den vreemde zonder hun Nederlanderschap te verloochenen. Om praktische, zakelijke overwegingen nemen ze een vreemde nationaliteit aan, zonder dat ze erover piekeren hun Nederlandse identiteit weg te snijden. Het zijn dezelfde overwegingen die buitenlanders ertoe brengen om Nederlander te willen worden.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Quick, messy, summarizing translation: the dislike in some parts of the political spectrum against multiple nationalities has an unexpected result: the same limitations that apply to aspiring Dutch apply to Dutch people who wish to assume another nationality.&lt;/p&gt;
&lt;p&gt;In recent years Dutch politics has been dominated by demanding that foreigners become idealized Dutch people, part of which is being exclusively Dutch. &lt;/p&gt;
&lt;p&gt;The law design doesn&amp;#8217;t take citizens into account. The arguments made by expatriates are reasonable and can be empathized with. People want to settle in a foreign country without renouncing their Dutch nationality. For practical reasons they assume a foreign nationality without considering cutting off their Dutch identify. These are the same considerations that make foreigners want to assume the Dutch nationality.&lt;/p&gt;
&lt;hr/&gt;
I have little to add to that. The whole shebang about multiple nationalities is ludicrous. Perhaps the Dutch municipalities should stop automatically submitting babies born of Moroccan-Dutch parents for Moroccan nationality if it&amp;#8217;s truly a problem of such massive scale — although they might&amp;#8217;ve stopped it by now, since I think a some Moroccan-Dutch parents sued Amsterdam over this gross misconduct. Nobody will apply for multiple nationalities just for the heck of it.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/BfFkmOGvqFY" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/11/multiple-nationalities/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/11/multiple-nationalities/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/11/multiple-nationalities/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Mental Conversations]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/r0BDY4Q5PXU/" />
		<id>http://fransdejonge.com/?p=1798</id>
		<updated>2011-11-13T19:08:21Z</updated>
		<published>2011-11-13T19:07:38Z</published>
		<category scheme="http://fransdejonge.com" term="Thoughts" />		<summary type="html"><![CDATA[A passage from Stephen King's Lisey's Story.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/11/mental-conversations/">&lt;blockquote&gt;&lt;p&gt;She remembered the day a furniture van from Portland had shown up with a two-thousand-dollar sectional sofa. Scott had been in his study, writing with the music cranked to its usual deafening levels — she could faintly hear Steve Earle singing &amp;#8220;Guitar Town&amp;#8221; in the house even with the soundproofing — and interrupting him was apt to do another two thousand dollars&amp;#8217; worth of damage to her ears, in Lisey&amp;#8217;s opinion. The furniture guys said &amp;#8220;the mister&amp;#8221; told them she&amp;#8217;d let them know where to put the new piece of furniture. Lisey had briskly directed them to carry the current sofa — the perfectly good current sofa — out to the barn, and place the new sectional where it had been. The color was at least a fair match for the room, and that was a relief. &lt;strong&gt;She knew she and Scott had never discussed a new sofa, sectional or otherwise, just as she knew Scott would declare — oh yes, most vehemently — that they had. She was sure he&amp;#8217;d discussed it with her in his head; he just sometimes forgot to vocalize those discussions. Forgetting was a skill he had honed&lt;/strong&gt; (emphasis mine).&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;From &lt;cite&gt;Lisey&amp;#8217;s Story&lt;/cite&gt; by Stephen King (p.148 of the 2006 Scribner hardcover).&lt;/p&gt;
&lt;p&gt;My wife alleges I do just that.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/r0BDY4Q5PXU" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/11/mental-conversations/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/11/mental-conversations/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/11/mental-conversations/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Skype Call Recorder]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/eUKJrcmXujY/" />
		<id>http://fransdejonge.com/?p=1797</id>
		<updated>2011-11-11T15:02:13Z</updated>
		<published>2011-11-11T15:02:13Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA[Skype Call Recorder delivers on the promise of its name. It records calls, with the participants split into two separate channels if you want — which you do if you want the option of raising or lowering the volume of one participant.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/11/skype-call-recorder/">&lt;p&gt;&lt;a href="http://atdot.ch/scr/"&gt;Skype Call Recorder&lt;/a&gt; delivers on the promise of its name. It records calls, with the participants split into two separate channels if you want — which you do if you want the option of raising or lowering the volume of one participant. &lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/eUKJrcmXujY" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/11/skype-call-recorder/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/11/skype-call-recorder/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/11/skype-call-recorder/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[On Critical Thinking]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/9mGaEtJAcOQ/" />
		<id>http://fransdejonge.com/?p=1794</id>
		<updated>2011-09-19T10:19:31Z</updated>
		<published>2011-09-19T10:19:31Z</published>
		<category scheme="http://fransdejonge.com" term="Thoughts" />		<summary type="html"><![CDATA[Critical thinking cannot be a slave to political convictions. ]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/09/on-critical-thinking/">&lt;p&gt;Written in response to someone talking about thinking critically &amp;#8220;against the powers that be.&amp;#8221;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Given your phrasing, it&amp;#8217;s highly improbable that you&amp;#8217;re actually talking about critical thinking. One does not think critically &lt;em&gt;against&lt;/em&gt; anything. You think critically, &lt;em&gt;period&lt;/em&gt;, about &lt;em&gt;everything&lt;/em&gt;. Perhaps most important, this includes yourself and your own notions. If you only think critically about (let alone against) others, you&amp;#8217;re not thinking critically at all. If you think critically &lt;em&gt;against&lt;/em&gt; someone or something, rather than &lt;em&gt;about&lt;/em&gt;, you&amp;#8217;re just out to find flaws so you can justify your own preconceived notions.&lt;/p&gt;&lt;/blockquote&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/9mGaEtJAcOQ" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/09/on-critical-thinking/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/09/on-critical-thinking/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/09/on-critical-thinking/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Some Practical, (Extremely) Simple Algebra]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/6KzQ6bSFN2w/" />
		<id>http://fransdejonge.com/?p=1733</id>
		<updated>2011-08-30T21:01:27Z</updated>
		<published>2011-08-30T21:01:27Z</published>
		<category scheme="http://fransdejonge.com" term="Thoughts" />		<summary type="html"><![CDATA[I suppose this proves that I was and am a geek.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/08/some-practical-extremely-simple-algebra/">&lt;p&gt;Early in secondary school, many of my classmates used to be exasperated by the perceived lack of practical application of the mathematics we had to learn at the time. I never really understood why, because it had clear practical applications, though I admit I also simply thought it was fun. Later on, things like statistics were really boring, but I figured I&amp;#8217;d share how the simplest of elementary algebra can help you make financial choices.&lt;/p&gt;
&lt;p&gt;Having just moved, we had to decide whether or not to buy a washing machine. Washing machines start at about €400 — they can be obtained used for much less, but last time I picked up a used washing machine for €40 it broke within about a year and it&amp;#8217;s just so much trouble trying to fix it or getting yet another used replacement — while laundromats cost about €3-4 per load (+20 cents for detergent). Admittedly the load sizes are slightly larger at the laundromat, but I don&amp;#8217;t see that as a good thing: it just makes it harder to carry and dry the laundry.&lt;/p&gt;
&lt;table&gt;
&lt;caption&gt;Washing costs per load for various temperatures in € &lt;a href="http://www.nibud.nl/uitgaven/wat-kost/was-douche-en-bad.html"&gt;according to Nibud&lt;/a&gt;&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th scope="col"&gt;temperature/ type of costs&lt;/th&gt;
&lt;th scope="col"&gt;90°C&lt;/th&gt;
&lt;th scope="col"&gt;60°C&lt;/th&gt;
&lt;th scope="col"&gt;40°C&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;electricity&lt;/td&gt;
&lt;td&gt;0.48&lt;/td&gt;
&lt;td&gt;0.25&lt;/td&gt;
&lt;td&gt;0.15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;water&lt;/td&gt;
&lt;td&gt;0.10&lt;/td&gt;
&lt;td&gt;0.08&lt;/td&gt;
&lt;td&gt;0.08&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;washing powder&lt;/td&gt;
&lt;td&gt;0.19&lt;/td&gt;
&lt;td&gt;0.19&lt;/td&gt;
&lt;td&gt;0.19&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;depreciation / maintenance&lt;/td&gt;
&lt;td&gt;0.48&lt;/td&gt;
&lt;td&gt;0.48&lt;/td&gt;
&lt;td&gt;0.48&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;total&lt;/td&gt;
&lt;td&gt;1.25&lt;/td&gt;
&lt;td&gt;1.00&lt;/td&gt;
&lt;td&gt;0.90&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;total without depreciation&lt;/td&gt;
&lt;td&gt;0.77&lt;/td&gt;
&lt;td&gt;0.52&lt;/td&gt;
&lt;td&gt;0.42&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;We usually wash on 30 degrees and have an otherwise energy and water efficient washing machine, but I&amp;#8217;ll just run with the price for a single wash without depreciation value. I&amp;#8217;m not interested in depreciation of the value of the washing machine, since the point is how many times you have to wash to break even compared to the laundromat. Of course a depreciation value could be used for this so that ax = bx should yield a useful conclusion, but that&amp;#8217;d be a bit of a roundabout way.&lt;/p&gt;
&lt;p&gt;I devised the following simple formula: &lt;strong&gt;ax = bx + c&lt;/strong&gt;, where &lt;strong&gt;a&lt;/strong&gt; is the cost of one load at the laundromat, &lt;strong&gt;b&lt;/strong&gt; is the cost of one load in a self-owned washing machine, and &lt;strong&gt;c&lt;/strong&gt; is the price of a washing machine. &lt;strong&gt;x&lt;/strong&gt; is the break even point of the number of washes required to make it worth your while to buy a washing machine as opposed to utilizing a laundromat.&lt;/p&gt;
&lt;pre&gt;3.20x = .42x+480 (-.42x)
2.78x = 480
x=480/2.78=173&lt;/pre&gt;
&lt;p&gt;I haven&amp;#8217;t counted the number of times we&amp;#8217;ve washed, but if we haven&amp;#8217;t surpassed it yet, I bet we&amp;#8217;re quite close. We&amp;#8217;ve had it for nearly two years and we wash slightly more than once a week on average.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/6KzQ6bSFN2w" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/08/some-practical-extremely-simple-algebra/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/08/some-practical-extremely-simple-algebra/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/08/some-practical-extremely-simple-algebra/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Liberty]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/yv9FrioFScc/" />
		<id>http://fransdejonge.com/?p=1790</id>
		<updated>2011-07-09T10:23:53Z</updated>
		<published>2011-07-09T10:15:13Z</published>
		<category scheme="http://fransdejonge.com" term="Thoughts" /><category scheme="http://fransdejonge.com" term="quotation" />		<summary type="html"><![CDATA["What is politics, after all, but the compulsion to preside over property and make other people's decisions for them?"]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/07/liberty/">&lt;blockquote&gt;&lt;p&gt;Lost now to family, buddies, girlfriend, rabbit hound, society, and himself, this poor young sailor had fallen—not very many miles from Jerusalem—understanding virtually nothing of the situation in the Middle East. He probably believed it involved a struggle between right and wrong, good and evil, freedom and oppression. That was his second mistake. His third mistake was in trusting that even if he didn&amp;#8217;t understand the situation, his leaders did. His first—and worst—mistake was blindly doing what he was told to do. Without questioning their methods or their motives, he allowed politicians to make the decisions that led to his early demise.&lt;/p&gt;
&lt;p&gt;What is politics, after all, but the compulsion to preside over property and make other people&amp;#8217;s decisions for them? Liberty, the very opposite of ownership and control, cannot, then, result from political action, either at the polls or the barricades, but rather evolves out of attitude. If it results from anything, it may be levity.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;From &lt;cite&gt;Skinny Legs And All&lt;/cite&gt; by Tom Robbins (p.118 of the May 2003 Bantam trade paperback reissue).&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/yv9FrioFScc" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/07/liberty/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/07/liberty/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/07/liberty/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Switching µTorrent from Windows to Linux]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/DH8Mvrz7rwM/" />
		<id>http://fransdejonge.com/?p=1775</id>
		<updated>2011-06-30T13:16:38Z</updated>
		<published>2011-06-30T13:16:38Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA[How to adjust the various µTorrent .dat files to switch over hundreds of torrents with little effort.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/06/switching-%c2%b5torrent-from-windows-to-linux/">&lt;p&gt;A while ago, I wrote about using Wine in order to switch completely to Linux &lt;em&gt;a lot quicker&lt;/em&gt; than would be possible if you had to figure out replacements for various pieces of peripheral software. In the case of µTorrent this meant that I could keep on seeding all the torrents I&amp;#8217;ve downloaded over the years and not having to set up my RSS feeds and other preferences once more, but it&amp;#8217;s not all sunshine. Aside from minor bugs in Wine, it simply uses a lot more memory and sometimes CPU. As an unscientific guestimate, it seems about 5 times as memory hungry as on Windows.&lt;/p&gt;
&lt;aside&gt;The rtorrent-dependent rutorrent web interface should offer roughly the same functionality as µTorrent Server if you&amp;#8217;re starting from scratch, which may or may not be preferable if you were starting more or less from scratch, but this is specifically not about that. I have years worth of files, albeit I acknowledge that I can probably safely delete and stop sharing older versions of e.g. Ubuntu and foobar2000.&lt;/aside&gt;
&lt;p&gt; In the not too distant past, fixing this would&amp;#8217;ve required a switch to e.g. qBittorrent, but an alpha version of &lt;a href="http://www.utorrent.com/downloads/linux"&gt;µTorrent Server&lt;/a&gt; is now available for Linux.  It can do everything normal µTorrent can, but not everything is necessarily available through its default WebUI. Luckily an &lt;a href="http://forum.utorrent.com/viewtopic.php?id=58156"&gt;alternative WebUI&lt;/a&gt; is available and I&amp;#8217;d highly recommend it over what comes with the µTorrent Server by default. It enables RSS feeds and filters, among other things. I think it&amp;#8217;s probably no more than a newer version, so perhaps you can ignore this part of this post if you&amp;#8217;re reading this in a few months time.&lt;/p&gt;
&lt;p&gt;One thing that doesn&amp;#8217;t seem to be mentioned in the documentation anywhere is that you can access the WebUI through &lt;a href="http://localhost:8080/gui/"&gt;http://localhost:8080/gui/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Now for switching over the data and configuration files. Luckily µTorrent for Linux uses the same data files, so you can easily copy over rss.dat (feeds configuration) and resume.dat (locations of torrents). Of course that won&amp;#8217;t fix the problem that directory structures are slightly different on the respective platforms, and I don&amp;#8217;t think you can make symbolic links to drive letters except in Wine. That&amp;#8217;s where BEncode Editor comes in, as described in &lt;a href="http://filesharefreak.com/2008/11/02/utorrent-move-all-your-downloaded-files-keep-seeding/"&gt;an article about moving your µTorrent files&lt;/a&gt;. I couldn&amp;#8217;t find a similar utility for Linux, but no matter, it works quite well in — drum roll — Wine. I &lt;a href="http://sites.google.com/site/ultimasites/bencode-editor"&gt;downloaded&lt;/a&gt; version 0.7.1.0, the latest at the time of writing.&lt;/p&gt;
&lt;p&gt;You should read through the guide I linked, but of course some slight adjustments will have to be made. In my case I did some reorganizing of my HDDs after I hadn&amp;#8217;t booted into Windows for a month, but the differences for my torrents weren&amp;#8217;t that big. I replaced &lt;code&gt;D:\downloads\torrents\&lt;/code&gt; globally with &lt;code&gt;/media/downloads/torrents/&lt;/code&gt; as outlined in the text. I repeated similar commands for my &lt;code&gt;E:\&lt;/code&gt; and &lt;code&gt;I:\&lt;/code&gt;, but of course the specifics will be different for everyone. To finish it off you can replace all instances of &lt;code&gt;\&lt;/code&gt; with &lt;code&gt;/&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Something similar can be done for rss.dat, but I had already adjusted all my filters manually in the µTorrent WebUI.&lt;/p&gt;
&lt;p&gt;Assuming you run this command in the directory where you put the µTorrent Server executable, you can run &lt;code&gt;cp /somewhere/uTorrent-for-Windows-folder/*.torrent&lt;/code&gt; to copy over all the relevant *.torrent files.&lt;/p&gt;
&lt;p&gt;There are some slight inconveniences. For example, you can&amp;#8217;t open in folder directly, but you have to navigate there manually or copy the location from the WebUI. However, if you were using Wine you&amp;#8217;d already given up on proper integration regardless. I think it&amp;#8217;s easier to copy the proper Linux path from the WebUI than to mentally line up Wine drives and directories with real ones.&lt;/p&gt;
&lt;p&gt;As one final caveat this method didn&amp;#8217;t seem to remember proper times when downloads finished and instead &amp;#8220;downloaded&amp;#8221; all my torrents at that point in time. I&amp;#8217;m sure that could be avoided somehow (perhaps by copying over settings.dat?) but for my purposes it didn&amp;#8217;t matter. &lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/DH8Mvrz7rwM" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/06/switching-%c2%b5torrent-from-windows-to-linux/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/06/switching-%c2%b5torrent-from-windows-to-linux/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/06/switching-%c2%b5torrent-from-windows-to-linux/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[More Fun with Screen and SSH with Byobu: Automatic Reattaching]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/2X-3isl5hy0/" />
		<id>http://fransdejonge.com/?p=1779</id>
		<updated>2011-05-31T15:36:57Z</updated>
		<published>2011-06-02T17:35:14Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA[Byobu is screen on crack and with some minor modification of .bashrc it can rock your (SSH) world.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/06/more-fun-with-screen-and-ssh-with-byobu-automatic-reattaching/">&lt;p&gt;A while ago &lt;a href="/2010/12/18/screen/"&gt;I wrote about screen&lt;/a&gt;, which makes your SSH experience more satisfying. There are some enhancements you can make to screen with &lt;code&gt;.screenrc&lt;/code&gt;, but &lt;a href="https://launchpad.net/byobu"&gt;Byobu&lt;/a&gt; does more by default than I ever could be bothered to figure out. It seems to come pre-installed on Ubuntu, while &lt;code&gt;aptitude install byubo&lt;/code&gt; suffices for Debian.&lt;/p&gt;
&lt;p&gt;I thought it&amp;#8217;d be even better if &lt;a href="http://tlug.dnho.net/node/239"&gt;screen automatically attached itself when logging in through SSH&lt;/a&gt;, and clearly I wasn&amp;#8217;t alone in that thought. I made a slight adjustment to the code I found so that Byobu is utilized when available and otherwise regular screen will load. Screen is often installed by default, unlike Byobu, so that way I won&amp;#8217;t have to install or compile Byobu to reap the benefits of my custom &lt;code&gt;.bashrc&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# From http://tlug.dnho.net/node/239
# "The following code when added to your .bashrc file will, after logging in via ssh, look for any unattached screen sessions and automatically attach to the first one found. If only attached sessions are found then a list of these will be outputted to std out. Finally, If there are no screen sessions running at all then a new screen session will be created."
if [ $SSH_TTY ] &amp;#038;&amp;#038; [ ! $WINDOW ]; then
	SCREENLIST=`screen -ls | grep 'Attached'`
	if [ $? -eq "0" ]; then
		echo -e "Screen is already running and attached:\n ${SCREENLIST}"
	else
		type -P byobu &amp;#038;&gt;/dev/null &amp;#038;&amp;#038; byobu -U -R || screen -U -R
	fi
fi
# Optionally adding the following will alter your prompt to let you easily know which window within a screen session you are currently in.
if [ $TERM = "screen" ]; then
	PS1='window ${WINDOW} '$PS1
fi&lt;/code&gt;&lt;/pre&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/2X-3isl5hy0" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/06/more-fun-with-screen-and-ssh-with-byobu-automatic-reattaching/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/06/more-fun-with-screen-and-ssh-with-byobu-automatic-reattaching/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/06/more-fun-with-screen-and-ssh-with-byobu-automatic-reattaching/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Time Synchronization: NTP]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/Pto-ZwSEkKU/" />
		<id>http://fransdejonge.com/?p=1782</id>
		<updated>2011-05-28T07:46:16Z</updated>
		<published>2011-05-27T08:53:58Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA[Debian doesn't synchronize time with a time server by default. That's very easy to fix.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/05/time-synchronization-ntp/">&lt;p&gt;Today I noticed that my computer clock was running fast, meaning that Debian doesn&amp;#8217;t come with some kind of time synchronization enabled by default. Ubuntu doesn&amp;#8217;t exactly either, but &lt;a href="https://help.ubuntu.com/community/UbuntuTime"&gt;setting your location seems to take care of it in Ubuntu&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There&amp;#8217;s really nothing much to tell here. Debian Wiki &lt;a href="http://wiki.debian.org/NTP"&gt;has all the instructions lined up already&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote cite="http://wiki.debian.org/NTP"&gt;
&lt;ul&gt;
&lt;li&gt;Type date to see current date and time
&lt;pre&gt;date&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Install NTP
&lt;pre&gt;aptitude install ntp&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Done.
&lt;li&gt;Type &lt;code&gt;ntpq -p&lt;/code&gt; to see servers you are syncing with.&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;date&lt;/code&gt; again to see if the time changed. You time should be synced in a next minute.&lt;/li&gt;
&lt;li&gt;Done.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;There&amp;#8217;s nothing more to do, though I often like to take a peek at the configuration files and the man pages — the latter is typically a bit too dense unless you already know what you&amp;#8217;re looking for. In this case, that would mean &lt;code&gt;man ntpd&lt;/code&gt;, &lt;code&gt;man ntp.conf&lt;/code&gt;, and, most important, &lt;code&gt;nano /etc/ntp.conf&lt;/code&gt; (or whatever your favorite text editor is). It doesn&amp;#8217;t look like there&amp;#8217;s anything of particular interest, but you might want to replace some of those default Debian server pools with ones geographically closer to you. The easiest way is to check on &lt;a href="http://www.pool.ntp.org/en/"&gt;www.pool.ntp.org&lt;/a&gt;, but if e.g. your ISP offers such a service it might be a good idea to use it.&lt;/p&gt;
&lt;p&gt;In my case, Belgium didn&amp;#8217;t have too many servers, so I made up my own mix of Belgium, the Netherlands, and Europe.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#server 0.debian.pool.ntp.org iburst
#server 1.debian.pool.ntp.org iburst
#server 2.debian.pool.ntp.org iburst
#server 3.debian.pool.ntp.org iburst

server 0.be.pool.ntp.org
server 1.nl.pool.ntp.org
server 2.nl.pool.ntp.org
server 3.europe.pool.ntp.org&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Also see &lt;a href="http://okomestudio.net/biboroku/?p=1582"&gt;how to disable the daemon on battery power&lt;/a&gt;. I don&amp;#8217;t know how much of a difference that would actually make, but as the Dutch idiom goes, all small bits help.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/Pto-ZwSEkKU" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/05/time-synchronization-ntp/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/05/time-synchronization-ntp/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/05/time-synchronization-ntp/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Unmount Flash Drives &amp; Memory Cards]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/eaNozNTGn1o/" />
		<id>http://fransdejonge.com/?p=1770</id>
		<updated>2011-05-21T11:27:44Z</updated>
		<published>2011-05-21T11:27:44Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA[Perhaps Gnome isn't better than Windows, but Linux sure is.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/05/unmount-flash-drives-memory-cards/">&lt;p&gt;It seems that Gnome&amp;#8217;s &lt;em&gt;safely remove drive&lt;/em&gt; feature works just like the equivalent in Windows: not at all. It even displays the exact same useless error message, almost word for word: &lt;em&gt;this device cannot be stopped&lt;/em&gt;. Not the slightest hint about why this might be the case.&lt;/p&gt;
&lt;p&gt;Following this scenario, on Windows you&amp;#8217;d pretty much be stuck shutting down your computer to be sure that no data loss will occur (although workarounds like &lt;a href="http://fransdejonge.com/2006/12/17/unlocker/"&gt;Unlocker&lt;/a&gt; exist, or you can use Process Explorer to figure out the culprit manually). Luckily, on Linux the workaround is a lot easier. Use &lt;code&gt;mount&lt;/code&gt; to display information about all currently mounted file systems and &lt;code&gt;umount&lt;/code&gt; to, you guessed it, unmount the file system of your choice. &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ mount
[…]
/dev/sde1 on /media/888E-E0E0 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
$ umount /dev/sde1&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;PS I just found out that I&amp;#8217;m mistaken, but I already wrote the post and besides, the point that you&amp;#8217;re able to do things like this &lt;em&gt;if you want&lt;/em&gt;, whereas you&amp;#8217;d be stuck in Windows, still stands. It seems that the way Gnome devs envisioned unmounting is not while you&amp;#8217;re viewing it in Nautilus by right-clicking, but by right-clicking on the icon on the desktop.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/eaNozNTGn1o" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/05/unmount-flash-drives-memory-cards/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/05/unmount-flash-drives-memory-cards/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/05/unmount-flash-drives-memory-cards/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Remote Desktop: Remmina]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/otUWFqetfFk/" />
		<id>http://fransdejonge.com/?p=1774</id>
		<updated>2011-05-17T13:07:14Z</updated>
		<published>2011-05-17T13:07:14Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" /><category scheme="http://fransdejonge.com" term="Ubuntu" />		<summary type="html"><![CDATA[A quick tip for Ubuntu users: install Remmina instead of (or alongside) the default Vinagre with sudo apt-get install remmina. It&#8217;s much better. Not only does it perform better (that is, it doesn&#8217;t hog CPU), but it has all the options Vinagre lacks.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/05/remote-desktop-remmina/">&lt;p&gt;A quick tip for Ubuntu users: install Remmina instead of (or alongside) the default Vinagre with &lt;code&gt;sudo apt-get install remmina&lt;/code&gt;. It&amp;#8217;s much better. Not only does it perform better (that is, it doesn&amp;#8217;t hog CPU), but it has all the options Vinagre lacks.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/otUWFqetfFk" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/05/remote-desktop-remmina/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/05/remote-desktop-remmina/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/05/remote-desktop-remmina/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Using Wine to Ease Migration from Windows]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/4mPfSkKDgYE/" />
		<id>http://fransdejonge.com/?p=1769</id>
		<updated>2011-05-05T21:01:23Z</updated>
		<published>2011-05-05T21:01:23Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA["Wine lets you run Windows software on other operating systems. With Wine, you can install and run these applications just like you would in Windows."]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/05/using-wine-to-ease-migration-from-windows/">&lt;p&gt;According to &lt;a href="http://www.winehq.org/about/"&gt;its about page&lt;/a&gt;, &lt;q&gt;&amp;#8220;Wine lets you run Windows software on other operating systems. With Wine, you can install and run these applications just like you would in Windows.&amp;#8221;&lt;/q&gt; That sounds like a good enough description to me.&lt;/p&gt;
&lt;p&gt;I have some applications that depend on a specific drive letter configuration, so to be truly able to share applications between Wine and Windows I&amp;#8217;ll have to set up my drives in Wine just the way they are on Windows. I may write a post later about how to auto-mount Windows partitions.&lt;/p&gt;
&lt;p&gt;Setting up drives is incredibly simple: you start the Wine configuration program and go to the drives tab. There you can set up certain directories or mount points to correspond to certain drives for Windows programs, but &lt;a href="http://www.winehq.org/docs/wineusr-guide/config-wine-main#AEN605"&gt;you don&amp;#8217;t even have to use the GUI&lt;/a&gt;. The reason this is useful is because you can run your programs like you were on Windows and they wouldn&amp;#8217;t know the difference. As far as the programs are concerned they&amp;#8217;re reading data from the same location as always. This greatly simplifies my process of switching to Linux. Rather than having to set up replacement programs and configurations I can simply let Wine pretend to my programs that they&amp;#8217;re running in the same (drive) configuration as they would on Windows. This way I can switch more completely to Debian without having to exert a lot of effort at once. I can move away from certain programs more slowly, or perhaps not at all.&lt;/p&gt;
&lt;p&gt;I found a &lt;a href="https://gist.github.com/74192"&gt;Gnome to Wine Color Scraper&lt;/a&gt; to improve the look of my Wine applications, but the registry file it generated didn&amp;#8217;t work for my version of Wine. I enabled the debugging option and had to edit the parts where it speaks of &lt;code&gt;HKEY_USERS\S-1-5-4\&lt;/code&gt;. For me the number was different. Check in &lt;code&gt;regedit&lt;/code&gt; for specifics.&lt;/p&gt;
&lt;p&gt;There are many more things you can do with Wine, including playing a fair amount of Windows-based games. Check the website for more information on compatibility.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/4mPfSkKDgYE" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/05/using-wine-to-ease-migration-from-windows/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/05/using-wine-to-ease-migration-from-windows/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/05/using-wine-to-ease-migration-from-windows/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Kiwis These Days]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/AWu0_EhHXE4/" />
		<id>http://fransdejonge.com/?p=1771</id>
		<updated>2011-04-26T13:38:22Z</updated>
		<published>2011-04-26T09:21:04Z</published>
		<category scheme="http://fransdejonge.com" term="Anecdotes" />		<summary type="html"><![CDATA[Kiwis aren't well-mannered.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/04/kiwis-these-days/">&lt;p&gt;Wil Wheaton is &lt;a href="http://wilwheaton.typepad.com/wwdnbackup/2011/04/each-sensation-makes-a-note-in-my-symphony.html"&gt;always posting conversations he&amp;#8217;s had with his wife&lt;/a&gt;, so why shouldn&amp;#8217;t I?&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;&lt;q&gt;“You want kiwi?”&lt;/q&gt; I asked.&lt;/p&gt;
&lt;p&gt;&lt;q&gt;“There is cold?”&lt;/q&gt; Mel replied. She doesn’t like fruit that hasn’t been refrigerated, which I take into account unless I happen to forget about it.&lt;/p&gt;
&lt;p&gt;&lt;q&gt;“Yes! There’s alway cold kiwi. It’s like a disease. They just jump in the fridge these days. I was walking through the fridge this afternoon—”&lt;/q&gt;&lt;/p&gt;
&lt;p&gt;&lt;q&gt;“You were walking through the fridge eh?”&lt;/q&gt;&lt;/p&gt;
&lt;p&gt;&lt;q&gt;“BY!!! By the fridge! And this kiwi suddenly jumped up against me, and I was like, &lt;q&gt;‘dude wtf are you doing.’&lt;/q&gt; The kiwi was really rude. It said: &lt;q&gt;‘fuck off, you ass, you’re blocking the road to the fridge.’&lt;/q&gt; So I said &lt;q&gt;‘chill, kiwi.’&lt;/q&gt; It replied, &lt;q&gt;‘yeah, that’s what I want to do, Einstein, but you’re keeping me from it.’&lt;/q&gt; I wasn’t going to put up with that, so I said, &lt;q&gt;‘first apologize for your rudeness or I’ll just let you rot.’&lt;/q&gt; Then it just kind of rolled over like it were one big, giant eye, shrugged — honestly, it did that! — and said, &lt;q&gt;‘sorry that I bumped into you but I really need to get into the fridge now.’&lt;/q&gt; I opened up the fridge and said &lt;q&gt;‘alright, but no more shenanigans or I’ll drag you out of there if it’s the last thing I do.’&lt;/q&gt; It jumped right in and let out a big sigh: ‘aaaaaaaaaaaaaaaaaaahhh.’ Then it pulled the fridge closed while muttering something about privacy. So yeah, that’s how kiwis are these days. No respect.”&lt;/q&gt;&lt;/p&gt;
&lt;p&gt;She didn’t reply verbally, but she pulled… the face.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/AWu0_EhHXE4" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/04/kiwis-these-days/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/04/kiwis-these-days/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/04/kiwis-these-days/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Lossless Rotation with jhead and jpegtrans]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/cqGWSmisfvw/" />
		<id>http://fransdejonge.com/?p=1767</id>
		<updated>2011-04-24T08:33:50Z</updated>
		<published>2011-04-24T09:53:12Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" /><category scheme="http://fransdejonge.com" term="Photograpy" />		<summary type="html"><![CDATA[I like my pictures rotated in such a way that I don't have to depend on application support for them to be displayed correctly. jhead can take care of that.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/04/lossless-rotation-with-jhead-and-jpegtrans/">&lt;p&gt;I like my pictures rotated in such a way that I don&amp;#8217;t have to depend on application support for them to be displayed correctly. &lt;code&gt;jpegtran&lt;/code&gt; (pre-installed on most distros) is a wonderful application with many features, including lossless rotation, but it&amp;#8217;s too laborious for my purposes. That&amp;#8217;s where &lt;code&gt;jhead&lt;/code&gt; comes in.&lt;br /&gt;
&lt;aside&gt;To install, use &lt;code&gt;apt-get install jhead&lt;/code&gt; or &lt;code&gt;sudo apt-get install jhead&lt;/code&gt; in Debian and derivatives, as always.&lt;/aside&gt;
&lt;p&gt;You can simply go into a directory, run a command like the following, and everything will be done automatically for you.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;jhead -autorot *.JPG&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Of course I wouldn&amp;#8217;t run it if you don&amp;#8217;t have a backup available. I always keep the pictures around on my camera until I&amp;#8217;ve confirmed that all processing was successful and then I still don&amp;#8217;t delete them until the adjusted files were also copied to my external HDD in my semi-regular backup regime.&lt;/p&gt;
&lt;p&gt;Another utility that can perform the same task is &lt;code&gt;exiftran&lt;/code&gt;, but despite being more or less dedicated to this very purpose it&amp;#8217;s not even easier to use: I&amp;#8217;d expect &lt;code&gt;exiftran *.JPG&lt;/code&gt; to default to the equivalent of the &lt;code&gt;jhead -autorot *.JPG&lt;/code&gt; command I posted above, but instead you have to use &lt;code&gt;exiftran -ai *.JPG&lt;/code&gt;. All other things being equal for my purposes, I decided to go with jhead because it has &lt;a href="http://www.sentex.net/~mwandel/jhead/usage.html"&gt;many more features&lt;/a&gt; — although last year I decided that &lt;a href="/2010/01/04/using-exiv2-to-help-manage-your-pictures/"&gt;exiv2&lt;/a&gt; is superior to jhead in ease of use for most of those features.&lt;/p&gt;
&lt;p&gt;If you&amp;#8217;re just looking for the occasional lossless rotation, you could also try the &lt;a href="http://geeqie.sourceforge.net/"&gt;Geeqie image viewer and manager&lt;/a&gt;. It integrates calls to exiftran, but beware that you explicitly have to choose the lossless option, as there are also lossy rotate options.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/cqGWSmisfvw" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/04/lossless-rotation-with-jhead-and-jpegtrans/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/04/lossless-rotation-with-jhead-and-jpegtrans/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/04/lossless-rotation-with-jhead-and-jpegtrans/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Dolby Digital 5.1 Over S/PDIF With PulseAudio]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/b4Z-C8WRQP4/" />
		<id>http://fransdejonge.com/?p=1759</id>
		<updated>2011-05-21T15:16:51Z</updated>
		<published>2011-04-19T15:11:56Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA[How I got Dolby Digital 5.1 output working over S/PDIF on my onboard Realtek chip with other audio sources mixed in. ]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/04/dolby-digital-5-1-over-spdif-with-pulseaudio/">&lt;p&gt;This post describes how I got Dolby Digital 5.1 output working over S/PDIF on my onboard Realtek chip with other audio sources mixed in. Previously I was only able to achieve either 5.1 output by sending the data stream straight to my receiver, or 2.0 output with everything mixed in. The experiences detailed in this post originate in Debian Squeeze, but if what I wrote is specific to anything, it should be my hardware — not Debian and its derivatives. Before you read on, you might want to check out &lt;a href="http://phoronix.com/forums/showthread.php?35993-Howto-get-true-surround-sound-on-the-cheap-for-gaming-in-Ubuntu."&gt;this forum post&lt;/a&gt; instead, which describes a method that didn&amp;#8217;t work out for me.&lt;/p&gt;
&lt;p&gt;PulseAudio 0.9.22 is required; it won&amp;#8217;t work on older versions of PulseAudio. Debian Squeeze comes with ALSA 1.0.23; presumably that&amp;#8217;s much less significant. On Debian getting this most recent PulseAudio can be done through the experimental repository.&lt;/p&gt;
&lt;p&gt;If you&amp;#8217;re on Debian ALSA is already setup, including the required libasound2-plugins, but to get the most recent version of PulseAudio you&amp;#8217;ll want to add &lt;code&gt;deb http://ftp.debian.org/debian experimental main&lt;/code&gt; to &lt;code&gt;/etc/apt/sources.list&lt;/code&gt;, and then type &lt;code&gt;apt-get update &amp;#038;&amp;#038; apt-get -t experimental install pulseaudio&lt;/code&gt; in a superuser terminal (see the Debian Wiki for &lt;a href="http://wiki.debian.org/DebianExperimental#To_install_an_experimental_package"&gt;more information on the experimental repository&lt;/a&gt;). On many other distributions PulseAudio is already setup by default, but just like on Debian Squeeze that&amp;#8217;s typically still PulseAudio 0.9.21 at present.&lt;/p&gt;
&lt;p&gt;On Ubuntu you&amp;#8217;d have to recompile libasound2-plugins yourself because it doesn&amp;#8217;t include the a52 ALSA plugin by default. The link in the opening paragraph should describe that process sufficiently.&lt;/p&gt;
&lt;p&gt;In the System Log Viewer you can keep an eye on syslog for (error) messages from ALSA as well as PulseAudio.&lt;/p&gt;
&lt;p&gt;What follows is my &lt;code&gt;/etc/asound.conf&lt;/code&gt;, heavily condensed from &lt;a href="http://www.johannes-bauer.com/linux/dolby/"&gt;Johannes Bauer&amp;#8217;s Dolby Digital with Linux and ALSA guide&lt;/a&gt;. It works quite nicely (with some minor adjustments), but it will only allow one application to utilize audio at a time. One could utilize PulseAudio for stereo while suspending it (with pasuspender) when you want to play a movie or some such with 5.1 audio, but I&amp;#8217;d rather mix everything together in PulseAudio so I don&amp;#8217;t have to think about it after the initial setup, just like in Windows.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# Encode AC3 -&gt; Directly on hardware
pcm.Filter_A52Encode {
	type a52
	bitrate 448
	channels 6
}
# Rate Converter to 48kHz, needed for some applications
pcm.a52 {
	type rate
	slave {
        	pcm "Filter_A52Encode"
        	rate 48000
	}
}
# Make last filter the default device
pcm.!default {
	type plug
	slave.pcm "a52"
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now that you&amp;#8217;ve got the ALSA configuration in order it&amp;#8217;s time to make some slight adjustments to &lt;code&gt;/etc/pulse/default.pa&lt;/code&gt; or PA won&amp;#8217;t detect the possibility for Digital Surround 5.1. According to various sources they had some kind of Digital Surround show up automatically, but I had to explicitly tell PulseAudio about its existence. Adjusted from &lt;a href="https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/348353/comments/9"&gt;a comment on Ubuntu bug 348353&lt;/a&gt; (which incidentally is why you need PulseAudio 0.9.22).&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;load-module module-alsa-sink device=a52 rate=48000 channels=6 tsched=0 sink_properties=device.description=SPDIF sink_name=SPDIF channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I initially added this line without the channel_map, but then PulseAudio thought I had something like front-left,front-left-of-center,front-center,front-right-of-center,front-right,lfe, which would be a strange setup indeed.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;m not quite sure whether the channel map might be more appropriate in &lt;code&gt;/etc/pulse/daemon.conf&lt;/code&gt;, where I uncommented &lt;code&gt;default-sample-rate = 48000&lt;/code&gt;. I also added the appropriate settings for &lt;code&gt;default-sample-channels = 6&lt;/code&gt; and changed &lt;code&gt;enable-lfe-remixing&lt;/code&gt; to yes.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;pavucontrol&lt;/code&gt; is instrumental in quickly seeing what&amp;#8217;s going on and for application-specific volume settings. Not utilizing it would be a disservice for yourself if you&amp;#8217;ve chosen to use PulseAudio.&lt;/p&gt;
&lt;p&gt;Now that we&amp;#8217;ve got all the configuration set up you could reboot the computer, but one of the great things about Linux is that you rarely have to do that other than to load a different kernel.&lt;/p&gt;
&lt;p&gt;As user: &lt;code&gt;pulseaudio --kill&lt;/code&gt;&lt;br /&gt;
As superuser/sudo: &lt;code&gt;/etc/init.d/alsa-utils restart&lt;/code&gt;&lt;br /&gt;
(As user: &lt;code&gt;pulseaudio -D&lt;/code&gt;, but that shouldn&amp;#8217;t be necessary)&lt;/p&gt;
&lt;p&gt;I utilized the &lt;a href="http://www.lynnemusic.com/surround.html"&gt;surround test ac3 file&lt;/a&gt; from Lynne Music (&lt;a href="http://lynnepublishing.com/surround/"&gt;straight to directory&lt;/a&gt;). I played it with &lt;code&gt;mplayer -channels 6&lt;/code&gt; to make sure everything was working correctly and to adjust the channel map. At this point everything was finally working fine for me, but most applications still will not cooperating because they default to ALSA. Again, in Ubuntu this shouldn&amp;#8217;t be an issue.&lt;/p&gt;
&lt;p&gt;Various adjustments are still required in most applications. For instance, in Totem you have to explicitly set audio output to 5.1 in Edit &gt; Preferences &gt; Audio.&lt;br /&gt;
For MPlayer put channels=6 in &lt;code&gt;~/.mplayer/config&lt;/code&gt; (note that if you can&amp;#8217;t get PulseAudio to work you could add the equivalents of &lt;code&gt;mplayer -ao alsa:device=spdif -srate 48000 -ac hwac3 file.avi&lt;/code&gt; if you so desire).&lt;br /&gt;
VLC works fine if Dolby Surround is set to Auto in Tools &gt; Preferences &gt; Audio.&lt;/p&gt;
&lt;p&gt;To get the 6 channel output to work in applications that use SDL (Gnash, quite a few games) you&amp;#8217;ll need &lt;code&gt;libsdl1.2debian-pulseaudio&lt;/code&gt;. This will replace &lt;code&gt;libsdl1.2debian-alsa&lt;/code&gt;. Of course this won&amp;#8217;t be necessary if your distro is set up with PA by default.&lt;/p&gt;
&lt;p&gt;On a separate note, I set PulseAudio up so it can play &lt;a href="http://www.unixmen.com/linux-tutorials/582-stream-music-wirelessely-using-pulseaudio-server-device-chooser"&gt;audio from all kinds of sources&lt;/a&gt; (most notably my laptop).&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/b4Z-C8WRQP4" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/04/dolby-digital-5-1-over-spdif-with-pulseaudio/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/04/dolby-digital-5-1-over-spdif-with-pulseaudio/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/04/dolby-digital-5-1-over-spdif-with-pulseaudio/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Frans</name>
						<uri>http://fransdejonge.com</uri>
					</author>
		<title type="html"><![CDATA[Mouse Jail]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/theonewiththethoughtsoffrans/~3/omEqjjiXrao/" />
		<id>http://fransdejonge.com/?p=1765</id>
		<updated>2011-04-14T15:50:41Z</updated>
		<published>2011-04-16T13:44:49Z</published>
		<category scheme="http://fransdejonge.com" term="Linux" />		<summary type="html"><![CDATA[A simple, slightly inelegant method of trapping the mouse on one monitor in Linux.]]></summary>
		<content type="html" xml:base="http://fransdejonge.com/2011/04/mouse-jail/">&lt;p&gt;One of the applications I like to use on Windows is &lt;a href="http://sourceforge.net/projects/mousenitor/"&gt;Mousenitor&lt;/a&gt;, which enables advanced mouse control for users with more than one monitor. It was written by a friend. I haven&amp;#8217;t yet figured out the best way to trap my mouse on one monitor in Linux, but a little application named Jail offers a rudimentary implementation. It was originally written by &lt;a href="http://www.cs.kent.ac.uk/people/rpg/sm244/"&gt;Sebastian Marion&lt;/a&gt;, but I picked up a slightly modified version from the &lt;a href="http://ubuntuforums.org/showthread.php?t=1181014"&gt;Ubuntu forums&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you want to compile it yourself you need to grab &lt;code&gt;apt-get install build-essential libx11-dev libxtst-dev&lt;/code&gt; in Debian (and presumably the same for derivatives like Ubuntu). For good order I also uploaded the source, including my compiled x64 binary, to my own server lest the original source code might be deleted. &lt;a href='http://fransdejonge.com/wp-content/uploads/2011/04/jail.tar.xz'&gt;Download jail.tar.xz&lt;/a&gt; if you want to test it. Edit .JailSwitch.sh to correspond to your system.&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors/Mouse_Control"&gt;Gentoo Wiki&lt;/a&gt; possibly describes more elegant, but more involved methods to obtain a similar effect. I&amp;#8217;ll report back if I can get one of those methods to work successfully, and if they do indeed work more elegantly.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/theonewiththethoughtsoffrans/~4/omEqjjiXrao" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://fransdejonge.com/2011/04/mouse-jail/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://fransdejonge.com/2011/04/mouse-jail/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://fransdejonge.com/2011/04/mouse-jail/</feedburner:origLink></entry>
	</feed><!-- Dynamic page generated in 1.484 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-06 20:38:43 -->

