<?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>Lillesvin Networks &#187; Computers</title>
	<atom:link href="http://lillesvin.net/archives/category/computers/feed" rel="self" type="application/rss+xml" />
	<link>http://lillesvin.net</link>
	<description></description>
	<lastBuildDate>Wed, 09 May 2012 00:24:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Install Windows 7 SP1 in spite of GRUB</title>
		<link>http://lillesvin.net/archives/612</link>
		<comments>http://lillesvin.net/archives/612#comments</comments>
		<pubDate>Thu, 18 Aug 2011 14:30:03 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lillesvin.net/?p=612</guid>
		<description><![CDATA[I&#8217;ve been trying for some time now to get Windows 7 SP1 installed. It&#8217;s been failing with a somewhat weird error &#8212; apparently something about Windows not being in control of the MBR or something, which is probably true, since &#8230; <a href="http://lillesvin.net/archives/612">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying for some time now to get Windows 7 SP1 installed. It&#8217;s been failing with a somewhat weird error &#8212; apparently something about Windows not being in control of the MBR or something, which is probably true, since I&#8217;ve got GRUB handling that. Turns out it&#8217;s a relatively well-known problem and a little googling helped me solve it (it appears). The only problem is that all the solutions I found were overly complicated, at least for my needs, so here&#8217;s what I needed to do in order to get SP1 installed.</p>
<ol>
<li>Open &#8220;Computer Management&#8221; (open the Start menu and search for &#8220;computer management&#8221;), go to &#8220;Disk Management&#8221; and right click on the partition called &#8220;SYSTEM RESERVED&#8221; and mark it as active.</li>
<li>Install SP1 either via Windows Update or by downloading the appropriate .exe from <a href="http://www.microsoft.com/download/en/details.aspx?id=5842">http://www.microsoft.com/download/en/details.aspx?id=5842</a>.</li>
</ol>
<p>That&#8217;s all really. Got SP1 running beautifully now with GRUB working and every OS (or rather &#8220;both&#8221; &#8212; Windows 7 and Ubuntu) booting properly. No need to mess around with Windows Recovery and Linux live-cds and stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/612/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Musca &#8211; The Secret Wonder Window Manager</title>
		<link>http://lillesvin.net/archives/596</link>
		<comments>http://lillesvin.net/archives/596#comments</comments>
		<pubDate>Fri, 03 Jun 2011 19:46:27 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lillesvin.net/?p=596</guid>
		<description><![CDATA[Musca has gone mostly unnoticed among the myriad of tiling window managers available out there, but how is beyond me. This is truly a window manager that will go out of its way to get out of your way. Unlike &#8230; <a href="http://lillesvin.net/archives/596">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://aerosuidae.net/musca.html">Musca</a> has gone mostly  unnoticed among the myriad of tiling window managers available out  there, but how is beyond me. This is truly a window manager that will go  out of its way to get out of your way. Unlike a lot of the other tiling window managers out there, Musca does the tiling manually &#8211; that is, <em>you</em> do the tiling. After fighting with <a href="http://awesome.naquadah.org/">Awesome</a> and its unflexible dynamic tiling, and trying to cope with the convoluted and emacsy key bindings of <a href="http://www.nongnu.org/ratpoison/">Ratpoison</a>, I finally stumbled upon <a href="http://aerosuidae.net/musca.html">Musca</a>, and decided to compile/install it even though there&#8217;s no Ubuntu package readily available. (Yeah, I&#8217;m lazy like that.) I only wish I&#8217;d done that sooner, because that is one hell of a window manager! Screenshot time.</p>
<p><a href="http://lillesvin.net/wp-content/uploads/2011/06/2011-06-03-212055_1366x768_scrot.png"><img class="aligncenter size-large wp-image-597" src="http://lillesvin.net/wp-content/uploads/2011/06/2011-06-03-212055_1366x768_scrot-1024x575.png" alt="Musca screenshot" width="640" height="359" /></a></p>
<p>One of my problems with Awesome was that I could only switch between a few preset layouts, and those didn&#8217;t give me much control of the frame sizes. I actually do want my VIM to be exactly 80 characters wide &#8211; no more, no less &#8211; and Awesome didn&#8217;t give me that option. Ratpoison did, but I don&#8217;t like having to hit <tt>Ctrl-c t</tt> just to launch a terminal, when <tt>Mod4-t</tt> or <tt>Mod4-Enter</tt> will do. Those key combo chains have never been my cup of tea, which is why I&#8217;m using VIM and not Emacs.</p>
<p>Actually, before I even started looking at tiling window managers, I was using <a href="http://www.6809.org.uk/evilwm/">EvilWM</a>, which is absolutely great, but I was getting tired of having to organize my windows manually on every login. Musca can be scripted to do pretty much everything &#8211; there are of course bugs and I don&#8217;t even know if it&#8217;s in development any longer, but it&#8217;s so goooood and sexy.</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/596/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How To: GomTV stream on Linux/OS X</title>
		<link>http://lillesvin.net/archives/551</link>
		<comments>http://lillesvin.net/archives/551#comments</comments>
		<pubDate>Mon, 21 Mar 2011 14:17:16 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Starcraft]]></category>

		<guid isPermaLink="false">http://lillesvin.net/?p=551</guid>
		<description><![CDATA[Update (2012-03-03): A while ago GomTV released GOM Player for Mac. You have to open the stream from Safari, but it seems to work. Get it on GomTV.net. Recently GomTV decided to block any non-GomPlayer applications from accessing their streams. &#8230; <a href="http://lillesvin.net/archives/551">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Update (2012-03-03):</strong> A while ago GomTV released GOM Player for Mac. You have to open the stream from Safari, but it seems to work. Get it on <a href="http://gomtv.net">GomTV.net</a>.</p>
<p>Recently GomTV decided to block any non-GomPlayer applications from accessing their streams. Effectively this means that paying customers using Linux or OS X are now stuck with only the VODs. Hence I can&#8217;t feel too bad for posting this workaround.</p>
<ol>
<li>Go to <a href="http://gomtv.net">GomTV.net</a>, log in and go to the &#8216;Go Live&#8217; page.</li>
<li>Copy/paste the Javascript for either the <a href="http://www.reddit.com/r/starcraft/comments/ewibi/gsl_with_vlc/c1cfb32">SQ</a> or <a href="http://www.reddit.com/r/starcraft/comments/f98an/gsl_2011_season_1_updown_matches_day_3_starts_in/c1e8z41">HQ</a> stream into the location bar in your browser while you&#8217;re at the &#8216;Go Live&#8217; page and hit Enter. (Thanks to the <a href="http://reddit.com/r/starcraft">/r/starcraft</a> redditors &#8216;mnjmn&#8217; and &#8216;Gudeldar&#8217; who came up with those Javascript snippets!)<br />
This will give you a personalized URL to the stream. Copy that.</li>
<li>Now open a terminal and execute the following command:<br />
<tt>curl -A 'GomPlayer 2, 1, 28, 5039 (ENG)' '&lt;stream URL&gt;' | vlc -</tt><br />
Of course, replace <tt>&lt;stream URL&gt;</tt> with the URL you copied in 2 (but keep the quotes!).</li>
</ol>
<p>Voilà!</p>
<p>You can of course replace VLC with any player that supports reading a stream from stdin, and if your system doesn&#8217;t have <tt>curl</tt> installed, you can use:<br />
<tt>wget -U 'GomPlayer 2, 1, 28, 5039 (ENG)' -O - '&lt;stream URL&gt;' | vlc -</tt></p>
<p><strong>Note re OS X:</strong> As redditor &#8216;thedz&#8217; pointed out, another way of doing it would be to simply use <tt>curl</tt> or <tt>wget</tt> to save the stream to a file and then open that file with your favorite video player. That goes a little something like this:<br />
<tt>curl -A 'GomPlayer 2, 1, 28, 5039 (ENG)' '&lt;stream URL&gt;' -o ~/gsl.ogm</tt><br />
That saves the stream to <tt>~/gsl.ogm</tt> (<tt>~</tt> is a short way of writing <tt>/home/username</tt> (Linux) and <tt>/Users/username</tt> (OS X)), which you can open in any video player supporting OGM.</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/551/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mutt: Mailing like it&#8217;s 1995!</title>
		<link>http://lillesvin.net/archives/497</link>
		<comments>http://lillesvin.net/archives/497#comments</comments>
		<pubDate>Thu, 03 Feb 2011 06:24:01 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://lillesvin.net/?p=497</guid>
		<description><![CDATA[Don&#8217;t be confused &#8211; it&#8217;s not a bad thing, it just means that Michael Elkins got it right back then and, let&#8217;s face it, email hasn&#8217;t changed a whole lot since then, so why not go with something that doesn&#8217;t &#8230; <a href="http://lillesvin.net/archives/497">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t be confused &#8211; it&#8217;s not a bad thing, it just means that Michael Elkins got it right back then and, let&#8217;s face it, email hasn&#8217;t changed a whole lot since then, so why not go with something that doesn&#8217;t try to make email out to be more than it actually is? (I&#8217;m looking at you Apple.)</p>
<p>So I managed to finally set up Mutt for multiple IMAP accounts along with some sharing of the configuration via Dropbox so I only have to maintain one configuration between MacOS X and Linux (and whatever else I may use), and I&#8217;ll show you how.</p>
<p>First of all, you need to install Mutt. If you&#8217;re on any sort of Linux, then there&#8217;s probably a native package for Mutt and you should just install that. If you&#8217;re on OS X you&#8217;ll need to build it from the source, which requires that you&#8217;ve have the Apple Developer Tools (gcc and stuff) and probably <a href="http://finkproject.org">Fink</a> or <a href="http://macports.org">MacPorts</a> for dependencies &#8211; e.g. BerkeleyDB &#8211; and also you&#8217;ll have to apply the <a href="http://cedricduval.free.fr/mutt/patches/#trash">Trash Folder patch</a> to the Mutt source (at least if you want to use your IMAP Trash folders instead of directly deleting mail). On my OS X all I had to do to build Mutt was the following:</p>
<pre>$ wget ftp://ftp.mutt.org/mutt/devel/mutt-1.5.21.tar.gz
$ wget http://cedricduval.free.fr/mutt/patches/download/patch-1.5.5.1.cd.trash_folder.3.4
$ tar -zxvf mutt-1.5.21.tar.gz
$ cd mutt-1.5.21/
$ patch -p1 &lt; ../patch-1.5.5.1.cd.trash_folder.3.4
$ configure --prefix=/usr/local --with-curses --with-regex \
    --enable-locales-fix --enable-pop --enable-imap --enable-smtp \
    --with-sasl --enable-hcache --with-ssl
$ make
$ sudo make install</pre>
<p>However, I do have Fink installed, which may be the reason that it was so very easy. If <tt>./configure</tt> fails (e.g. because of some missing dependency) you&#8217;re on your own. Same goes if you&#8217;re using Windows.</p>
<p>Anyways, with Mutt installed, we can now get started on the configuration files. (Mutt won&#8217;t do anything for you before it&#8217;s configured.) First of all, we need to setup some directories to hold the configuration files, certificates and caches. Now, I don&#8217;t want to share certificates and caches between my various machines/OSes (because of potential DB incompabilites), so let&#8217;s create a directory in our home directory to hold that. However, the Mutt configuration along with the account settings is what we want to share between machines/OSes, so we&#8217;ll create a directory in Dropbox for that and then create a symbolic link between the home directory and the configuration in Dropbox.</p>
<pre>$ mkdir -p ~/.mutt.local/cache
$ mkdir -p ~/Dropbox/mutt.config/accounts
$ ln -s ~/Dropbox/mutt.config ~/.mutt</pre>
<p>Now let&#8217;s go ahead and setup two accounts. I won&#8217;t go into too much detail about this, because you can find this stuff all over the internet. So first off we create the file <tt>~/Dropbox/mutt.config/accounts/lillesvin</tt> for the first account with the following content:</p>
<pre>#~/Dropbox/mutt.config/accounts/lillesvin
account-hook "imaps://lillesvin.net/" '\
set imap_user = "username@lillesvin.net" imap_pass = "PasswordGoesHere" '</pre>
<pre>set from = "username@lillesvin.net" # From-address for this account
set folder = "imaps://lillesvin.net/INBOX"
set spoolfile = "imaps://lillesvin.net/INBOX" # Inbox
set postponed = "+Drafts" #Drafts folder
set trash = "+Trash" # Trash folder (if you applied the Trash Folder patch)
set record = "+Sent" # Sent messages
mailboxes "+" "+Sent" "+Drafts"
set header_cache =~/.mutt.local/cache/headers
set message_cachedir =~/.mutt.local/cache/bodies
set certificate_file =~/.mutt.local/certificates
set smtp_url = "smtp://smtpserver.example.com"
set imap_keepalive = 900
set imap_check_subscribed</pre>
<p>And for the second account we create the file <tt>~/Dropbox/mutt.config/accounts/gmail</tt> with the content:</p>
<pre># ~/Dropbox/mutt.config/accounts/gmail
account-hook "imaps://imap.gmail.com/" '\
set imap_user = "username@gmail.com" imap_pass = "PasswordGoesHere" '</pre>
<pre>set from = "username@gmail.com" # From-address for this account
set folder="imaps://imap.gmail.com/"
set spoolfile = "+INBOX" # Inbox
set postponed = "+[Gmail]/Drafts" # Drafts folder
set trash = "+[Gmail]/Trash" # Trash folder (if you applied the Trash Folder patch)
mailboxes "+INBOX" "+[Gmail]/Drafts" "+[Gmail]/Sent Mail" "+[Gmail]/Spam" "+[Gmail]"
set header_cache =~/.mutt.local/cache/headers
set message_cachedir =~/.mutt.local/cache/bodies
set certificate_file =~/.mutt.local/certificates
set smtp_url = "smtp://username@smtp.gmail.com:587/"
set smtp_pass = "PasswordGoesHere"
set imap_keepalive = 900
set imap_check_subscribed</pre>
<p>Now Mutt at least knows about the two acounts, but we&#8217;re still not able to use them untill we&#8217;ve created the following <tt>muttrc</tt> in <tt>~/Dropbox/mutt.config/</tt>:</p>
<pre># ~/Dropbox/mutt.config/muttrc</pre>
<pre># Global settings:
set realname = "My Real Name" # Name to put in From on emails
set editor='vim + -c "set textwidth=72" -c "set wrap" -c "set nocp"'
unset imap_passive
set charset = "utf-8" # We want this and the one below to force UTF-8 (only with UTF-8 terminals)
set send_charset = "utf-8" # Force sending as UTF-8 (only works with UTF-8 terminals)
set mail_check = 60
set timeout = 30
set edit_headers = yes
set move = no</pre>
<pre># Make account switching possible
account-hook . 'unset imap_pass'
folder-hook 'lillesvin.net' 'source ~/.mutt/accounts/lillesvin'
folder-hook 'imap.gmail.com' 'source ~/.mutt/accounts/gmail'
macro index &lt;F2&gt; '&lt;sync-mailbox&gt;&lt;enter-command&gt;source ~/.mutt/accounts/lillesvin&lt;enter&gt;&lt;change-folder&gt;!&lt;enter&gt;'
macro index &lt;F3&gt; '&lt;sync-mailbox&gt;&lt;enter-command&gt;source ~/.mutt/accounts/gmail&lt;enter&gt;&lt;change-folder&gt;!&lt;enter&gt;'
# Default account
source ~/.mutt/accounts/lillesvin</pre>
<p>I&#8217;ve stripped almost all unnecessary stuff from <tt>muttrc</tt> (again, you can find all the gravy by simply googling), but this should be a minimal working setup. To switch between the accounts you simply hit F2 and F3 for the lillesvin account and gmail account respectively. And to get a nice overview of all folders you simply hit &#8216;y&#8217;. Now all there&#8217;s left to do is to actually open Mutt and see if it all works as expected. (You better get used to hitting &#8216;?&#8217; for help &#8211; at least in the beginning.)</p>
<pre>$ mutt</pre>
<p>Enjoy your Mutt!</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/497/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>My Next Computer</title>
		<link>http://lillesvin.net/archives/454</link>
		<comments>http://lillesvin.net/archives/454#comments</comments>
		<pubDate>Sun, 28 Nov 2010 14:38:19 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Gear]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lillesvin.net/?p=454</guid>
		<description><![CDATA[My MacBook (2nd gen) is nearly 4 years old now and it&#8217;s not running that great, so I&#8217;m looking into what computer I should be getting next. Since I&#8217;ve taken up some gaming recently &#8212; Urban Terror and Starcraft &#8212; &#8230; <a href="http://lillesvin.net/archives/454">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My MacBook (2nd gen) is nearly 4 years old now and it&#8217;s not running that great, so I&#8217;m looking into what computer I should be getting next. Since I&#8217;ve taken up some gaming recently &#8212; <a href="http://urbanterror.net">Urban Terror</a> and Starcraft &#8212; I&#8217;d really like one that, besides running all my usual stuff, is able to run Starcraft 2.</p>
<p>Now, Starcraft 2 requires a pretty good graphics card, so if I want to stay on OS X, I&#8217;m going to have to go with at least a MacBook Pro 15&#8243; &#8212; i.e. a 13.200 DKK computer ($2350 / €1770). Now, that&#8217;s a hell of a lot of money. Alternatively, if I choose not to care about OS X and just try to get value for my money, I can get an MSI FX600 with equal or better specs for 6.000 DKK ($1050 / €800).</p>
<p>A quick comparison of some key specs. (Specs and prices from <a href="http://edbpriser.dk">http://edbpriser.dk</a>)</p>
<table>
<tbody>
<tr>
<th></th>
<th>MSI FX600 (008NE)</th>
<th>MacBook Pro 15&#8221; (2.4 GHz)</th>
</tr>
<tr>
<td><strong>Processor</strong></td>
<td>Intel Core i5 (2.4 GHz)</td>
<td>Intel Core i5 (2.4 GHz)</td>
</tr>
<tr>
<td><strong>RAM</strong></td>
<td>4 GB DDR3 SDRAM (8 GB max.)</td>
<td>4 GB DDR3 SDRAM (8 GB max.)</td>
</tr>
<tr>
<td><strong>Display</strong></td>
<td>15,6&#8221; (1366&#215;768)</td>
<td>15,4&#8221; (1440&#215;900)</td>
</tr>
<tr>
<td><strong>Graphics card</strong></td>
<td>Nvidia GeForce GT 325M</td>
<td>Nvidia GeForce GT 330M</td>
</tr>
<tr>
<td><strong>Video mem</strong>.</td>
<td>1 GB DDR3 SDRAM</td>
<td>256 MB GDDR3 SDRAM</td>
</tr>
<tr>
<td><strong>Hard drive</strong></td>
<td>500 GB Serial ATA-150</td>
<td>320 GB Serial ATA-150</td>
</tr>
<tr>
<td><strong>Price</strong></td>
<td><strong>6.000 DKK / $1050 / €800</strong></td>
<td><strong>13.200 DKK / $2350 / €1770</strong></td>
</tr>
</tbody>
</table>
<p>Granted, GDDR3 RAM is a lot better than just DDR3 (the G makes all the difference), but it&#8217;s not 4 times better.</p>
<p>On top of that, I&#8217;ve lost absolutely all respect I had for Apple when I bought my MacBook back in 2007. The upcoming Mac App Store and shit like that is just downright retarded. Meanwhile Microsoft has actually been doing pretty much the same as they&#8217;ve always been doing, but compared to Steve Jobs&#8217; insane world domination plot, Steve Ballmer is actually starting to look like the sane one of the two. And Windows 7 is getting rave reviews, so why not give that a try, now that OS X is going &#8220;<a href="http://www.youtube.com/watch?v=hkzl0zHIE2k">Trumpets!</a>&#8221;</p>
<p>Now I&#8217;m just left thinking, why would anyone (today) spend money on a Mac, when you can get the same specs in non-Apple computer for less than half the price? The MSI obviously doesn&#8217;t look as slick as a unibody MacBook, but it looks alright &#8212; I mean, it&#8217;s not downright ugly if you peel off all the stickers, and the day I pay 7.000 DKK ($1250 / €940) for <em>just</em> the design, is the day when someone ought to shoot me in the fucking head.</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/454/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>When Linux Can Look This Good&#8230;</title>
		<link>http://lillesvin.net/archives/409</link>
		<comments>http://lillesvin.net/archives/409#comments</comments>
		<pubDate>Fri, 13 Aug 2010 17:38:52 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lillesvin.net/?p=409</guid>
		<description><![CDATA[Who would want to be stuck with OS X or Windows? Setup: GTK2/Metacity: Elegant Cold Blue Flat Icons: AnyColorYouLike Title bar font: Aldo Application font: Butter Clock/date font: Digital-7 Wallpaper: Annotated / Raw Conky: .conkyrc Docky: bluesmoke Well, back to &#8230; <a href="http://lillesvin.net/archives/409">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_410" class="wp-caption alignright" style="width: 310px"><a href="http://lillesvin.net/wp-content/uploads/2010/08/2010-08-13-191043_1280x800_scrot.png"><img class="size-medium wp-image-410 " title="Desktop screenshot (2010-08-13)" src="http://lillesvin.net/wp-content/uploads/2010/08/2010-08-13-191043_1280x800_scrot-300x187.png" alt="Desktop screenshot (2010-08-13)" width="300" height="187" /></a><p class="wp-caption-text">My current desktop.</p></div>
<p>Who would want to be stuck with OS X or Windows?</p>
<p>Setup:</p>
<ul>
<li>GTK2/Metacity: <a href="http://gnome-look.org/content/show.php/Gtk+themes+Elegant+Cold+Blue+(2+variants?content=77147">Elegant Cold Blue Flat</a></li>
<li>Icons: <a href="http://gnome-look.org/content/show.php/Any+Color+You+Like?content=102435">AnyColorYouLike</a></li>
<li>Title bar font: <a href="http://www.dafont.com/aldo.font">Aldo</a></li>
<li>Application font: <a href="http://www.dafont.com/butter.font">Butter</a></li>
<li>Clock/date font: <a href="http://www.dafont.com/digital-7.font">Digital-7</a></li>
<li>Wallpaper: <a href="http://lillesvin.net/wp-content/uploads/2010/08/mb-conky_bg-blueish.png">Annotated</a> / <a href="http://lillesvin.net/wp-content/uploads/2010/08/mb-conkyd-bg-blueish.jpeg">Raw</a></li>
<li>Conky: <a href="http://lillesvin.net/wp-content/uploads/2010/08/conkyrc.txt">.conkyrc</a></li>
<li>Docky: <a href="http://gnome-look.org/content/show.php/Themes+for+Docky?content=117108">bluesmoke</a></li>
</ul>
<p>Well, back to work with some LaTeX in Vim. Haha! Even after 10+ years Linux still rocks my world.</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/409/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Running Linux is Not That Hard</title>
		<link>http://lillesvin.net/archives/267</link>
		<comments>http://lillesvin.net/archives/267#comments</comments>
		<pubDate>Tue, 29 Dec 2009 01:17:27 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[In the news]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lillesvin.net/?p=267</guid>
		<description><![CDATA[Back in March the web version of the Danish news paper Politiken ran an article on boosting computer performance [danish], where they list several steps for tuning Windows, with the last two steps suggesting that maybe re-installing Windows or installing &#8230; <a href="http://lillesvin.net/archives/267">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Back in March the web version of the Danish news paper Politiken ran an article on <a href="http://politiken.dk/tjek/digitalt/computer/article665547.ece">boosting computer performance</a> [danish], where they list several steps for tuning Windows, with the last two steps suggesting that maybe re-installing Windows or installing Linux is the answer.</p>
<p>They list the steps for a Windows performance boost as follows:</p>
<ul>
<li>Update drivers</li>
<li>Update firmware</li>
<li>Give Windows less to think about (involving messing with the registry, disabling unnecessary graphic effects, removing unused fonts etc.)</li>
<li>Overwhelmed by icons? (Involving messing around with msconfig.)</li>
<li>Malware removal</li>
<li>Defrag the hard drive</li>
</ul>
<p>Now consider that updating drivers &#8212; and especially firmware &#8212; requires very specific knowledge of your hardware, while rummaging around in the registry and msconfig requires a good deal of knowledge about how software works and in some cases knowledge about &#8212; or ability to guess &#8212; how software vendors may choose to name their executables and the paths at which they might put the executables. Malware removal may have become easier over the years, but to a lot of users the terminology and processes involved seem intimidating, which ultimately stops them from doing it properly; or at all. And finally, defragmentation? Are you fucking kidding me?</p>
<p>Now Linux (let&#8217;s just take any Debian based distro for these examples.)</p>
<ul>
<li>Updating drivers is handled like all other updates, i.e. unless you&#8217;ve specifically disabled the automatic check for updates, you&#8217;ll be prompted to install fresh drivers pretty much as soon as they&#8217;re available. No manual searching required (unless you have some poorly supported hardware that doesn&#8217;t have drivers in any of the available repositories).</li>
<li>Updating firmware can be a bitch, since most firmware updaters are Win only. On the other hand, I&#8217;ve never had to update my firmware from Linux on neither my MacBook nor my ThinkPad, so personally I regard this as a non-issue, but your mileage may vary.</li>
<li>Cleaning up the registry&#8230; What registry?</li>
<li>Managing applications that auto-start? System &gt; Preferences &gt; Startup Applications &#8212; easy and not as potentially dangerous as msconfig!</li>
<li>Disabling unnecessary visual effects? System &gt; Preferences &gt; Appearance &gt; Visual Effects.</li>
<li>Malware removal. Not really necessary (for the time being), but under all circumstances no harder than on Windows.</li>
<li>Defragmentation. No!</li>
</ul>
<p>So to sum up, all you actively need to do to keep a Debian based Linux box speedy is basically to decide which applications and services you want to start up as you log in. That&#8217;s it! (If you&#8217;re really picky about getting the most out of your battery, you may want to turn off visual effects while running on battery power; or all together.)</p>
<p>Now I&#8217;m left wondering why so many people think that running Linux is for geeks only. To me it seems like running a Windows machine (and keeping it running) requires a good deal of knowledge about your computer&#8217;s hardware, it is insanely time-consuming and in general a pain in the ass. (I wouldn&#8217;t know for sure since I haven&#8217;t done it for several years, but I still help plenty of people with their Windows related problems.) No matter what OS people run, they always tend to have a backup geek they can turn to when things get too complicated &#8212; that goes for OS X, Windows and Linux, so why not start relying a little more on your personal Linux geek?</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/267/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Karmic Koala on a MacBook</title>
		<link>http://lillesvin.net/archives/255</link>
		<comments>http://lillesvin.net/archives/255#comments</comments>
		<pubDate>Tue, 20 Oct 2009 07:57:43 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://lillesvin.net/?p=255</guid>
		<description><![CDATA[Yesterday I installed a beta of Ubuntu 9.10 (Karmic Koala), which is scheduled for release in 9 days, on my MacBook (2,1). I know, it&#8217;s only 9 days, but I couldn&#8217;t wait &#8212; the feature list was too delicious. Actually, &#8230; <a href="http://lillesvin.net/archives/255">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I installed a beta of Ubuntu 9.10 (Karmic Koala), which is scheduled for release in 9 days, on my MacBook (2,1). I know, it&#8217;s only 9 days, but I couldn&#8217;t wait &#8212; the <a href="http://www.ubuntu.com/testing/karmic/beta">feature list</a> was too delicious. Actually, I only intended this to be a small &#8220;OMG it&#8217;s so great!&#8221;-post, but it turned out a howto on running Ubuntu 9.10 (Karmic Koala) on a MacBook 2,1.</p>
<p>Please note that any or all of these minor problems&#8212;maybe with the exception of the everlasting iSight issue&#8212;may be fixed in the final version.<br />
<span id="more-255"></span></p>
<h3>First Impressions</h3>
<p>First of all, someone has been working wonders on the Intel 945GM video driver, and I&#8217;m not talking small, lame wonders like the pyramids or something, I&#8217;m talking OMFGWTFBBQ!?!11-sized wonders!</p>
<p>Using wildly unscientific and unreliable readings from glxgears:</p>
<blockquote><p>&#8211; 8.10 (Intrepid Ibex): ~1100 fps<br />
&#8211; 9.04 (Jaunty Jackalope): ~900 fps (and I&#8217;m being generous here)<br />
&#8211; 9.10 (Karmic Koala): ~3200 fps!
</p></blockquote>
<p>Yes, you heard (or read) me right &#8212; I&#8217;ve got 3x more frames per second than I did in 8.10. I bet your puny pyramids are looking pretty silly now, huh? It could of course be because someone just introduced a bug in the glxgears code and I&#8217;m only actually getting 4 frames per year, but graphics feel smoother and I think I could almost run a 3D accelerated game on it.</p>
<p>Apart from the hotness that is the new Intel video driver, there are loads of other improvements over previous releases. Boot time has improved significantly, and the same goes for login time, which is really nice. GDM (the login window) has been completely rewritten, which results in a smoother and nicer login experience. (Yeah, I know it sounds lame to be talking about &#8220;login experience&#8221;, but go ahead, try it! If you&#8217;ve ever tried login in to a Gnome desktop before, you&#8217;ll see what I mean.) This rewrite also means that I can now suspend my laptop while being logged out, which is really, really nice &#8212; and about time.</p>
<p>The classic brown/orange Ubuntu look has gotten even browner (i.e. darker) and it actually looks so good that I&#8217;m sticking to the default theme with one of the bundled backgrounds for now. The default icon set has been given an overhaul for the better and behind the scenes we&#8217;ve got Ext4 as the default file system, Grub 2 as the new boot-loader, DeviceKit replacing HAL and other nice things.</p>
<h3>Setting Up</h3>
<p>Almost everything worked out of the box with some minor exceptions though. So far I haven&#8217;t run into any problems relating to wifi, suspend/resume/hibernate, graphics/video, bluetooth or any of the things that usually makes installing any OS on a Mac a living hell.</p>
<p>What needs tampering with is mainly the keyboard layout and maybe the sound. If you want to use the built-in iSight, you probably got a little work ahead of you, but otherwise fixing these minor issues will take you maybe 5&#8211;10 minutes.</p>
<h4>Touchpad Behaviour</h4>
<p>This &#8220;problem&#8221; is so ridiculously tiny, that I&#8217;m not even sure why I&#8217;m including it, but since I&#8217;m installing on a MacBook, I want the touchpad to behave like it does in OS X, and it pretty much does. I only had to open the mouse preferences (System &gt; Preferences &gt; Mouse) and tell it to enable two-finger scrolling and that was that. Right click is&#8212;if you&#8217;ve disabled tapping the touchpad for clicking&#8212;two fingers + click and middle click is 3 fingers + click. If you&#8217;re using tapping for clicking, I&#8217;m guessing 2 finger tap is right click and 3 finger tap is middle click, but I don&#8217;t know, I haven&#8217;t tried it.</p>
<h4>Keyboard Setup</h4>
<p>The keyboard, however, is quite another story, because this koala doesn&#8217;t use xmodmap, which us Mac-users previously used to assign Alt Gr-functionality to the key of our choice. After selecting the appropriate keyboard layout (Apple / MacBook/MacBookPro (intl.)) I wasn&#8217;t able to write @, $, {, [, ], }, ~ or |, or any other key that required me to press Alt Gr. Fortunately I could for unknown reasons write those characters in my Gnome Terminal (but not anywhere else) and copy/paste from there, but that is no fun in the long run and it certainly proves problematic when you try to log in with a password containing any of those characters.</p>
<p>However, after a little googling I quickly found that commenting out the following 2 lines in /usr/share/X11/xkb/symbols/pc along with a minor adjustment in System &gt; Preferences &gt; Keyboard did the job.</p>
<p>Make sure these two lines in /usr/share/X11/xkb/symbols/pc looks like this (i.e. add &#8220;<code>//</code>&#8221; at the beginning of the lines):</p>
<blockquote><pre>//    modifier_map Mod4   { &lt;LWIN&gt; };
...
//    modifier_map Mod4   { &lt;RWIN&gt; };</pre>
</blockquote>
<p></p>
<p>If you don&#8217;t know how to edit that particular file, hit Alt-F2 (or Alt-Fn-F2 if you haven&#8217;t switched Fn-mode) to bring up the &#8220;Run Application&#8221; dialog and type:</p>
<blockquote><pre>gksudo gedit /usr/share/X11/xkb/symbols/pc</pre>
</blockquote>
<p></p>
<p>When you&#8217;re done editing the file and your changes are saved, go to System &gt; Preferences &gt; Keyboard, select the Layouts tab and click Layout Options. Expand &#8220;Key to choose 3rd level&#8221; and put a check mark next to the key you want to be your Alt Gr. Personally I&#8217;m using &#8220;Right Win&#8221; (i.e. the Cmd/Apple key to the right of the space bar), but another option is to use that retarded Enter key between aforementioned Apple key and left arrow (check &#8220;Enter on keypad&#8221; for that).</p>
<h5>Function Keys</h5>
<p>The Mute/Volume keys (on F3, F4 and F5) and the eject key works out of the box, but the brightness keys (on F1 and F2) needs a little attention &#8212; nothing big, just install the package <code>pommed</code> and that&#8217;s it.</p>
<p>If you&#8212;like me&#8212;don&#8217;t like the default Fn-key behaviour, where you have to hold Fn to actually press F1-F12 &#8212; i.e. Alt-Fn-F2 to bring up the &#8220;Run Application&#8221; dialog, then there&#8217;s an easy fix on the <a href="https://help.ubuntu.com/community/AppleKeyboard#Change%20Function%20Key%20behavior">Ubuntu Wiki: AppleKeyboard</a>.</p>
<h4>No Sound in Your Headphones?</h4>
<p>I had a weird issue with sound working fine with the internal speakers, but once I connected my headphones or stereo to the output jack, I got nothing. At first I thought I was going to have to recompile a bunch of kernel modules, find a virgin to sacrifice and perhaps give away my first-born, but it turned out to be simpler than that. I installed the package <code>gnome-alsamixer</code> and unmuted all channels and everything was fine. Maybe the devs could make sure that all channels are unmuted on install?</p>
<h4>Webcam/iSight</h4>
<p>The built-in iSight takes a lot of work to get running, and I never ever use the damn thing, so I don&#8217;t really care. Of course, it&#8217;d be nice if it did work, but Apple is mostly at fault here, because they&#8217;re so bitchy about releasing specs and firmware. Back in the olden days you&#8217;d have to extract the firmware from your OS X install, which could be done with the package <code>isight-firmware-tools</code> &#8212; I imagine that&#8217;s still the case. If you try, test it with the package <code>cheese</code>, which is basically a PhotoBooth clone, and let me know how it turns out.</p>
<p>Th-th-th-that&#8217;s all, folks! Really! Apart from the iSight (which I couldn&#8217;t care less about), everything&#8217;s working better than ever and the koala is fast becoming my favorite pet in the zoo that is Ubuntu Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/255/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Well, thank you Apple!</title>
		<link>http://lillesvin.net/archives/249</link>
		<comments>http://lillesvin.net/archives/249#comments</comments>
		<pubDate>Wed, 09 Sep 2009 21:55:54 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://lillesvin.net/?p=249</guid>
		<description><![CDATA[At a recent press event Apple presented a lot of &#8220;new&#8221; stuff, and as usual Steve Jobs gave the presentation. As I was looking through Engadget&#8217;s liveblog from the event, I stumbled upon a quote that pretty much sums up &#8230; <a href="http://lillesvin.net/archives/249">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At a recent press event Apple presented a lot of &#8220;new&#8221; stuff, and as usual Steve Jobs gave the presentation. As I was looking through <a href="http://www.engadget.com/2009/09/09/live-from-apples-its-only-rock-and-roll-event/">Engadget&#8217;s liveblog from the event</a>, I stumbled upon a quote that pretty much sums up why I&#8217;m looking into getting a non-Apple computer the next time around.</p>
<p>Steve Jobs: &#8220;<em>Home sharing: <strong>we</strong>&#8216;re going to </em><em><strong>let you</strong> copy songs, TV shows, etc. with up to 5 computers in your house.</em>&#8221; (Emphasis mine.)</p>
<p>Well, thanks a lot. Are <em>you</em> really going to let <em>me</em> do that? Gee, Steve! I don&#8217;t know what to say. I can play my DVDs on pretty much any device with a DVD drive without being limited to 5. I can even let friends borrow them without being worried that I won&#8217;t be able to see them myself when I buy a new DVD player because it would just happen to be the 6th device to play back that particular DVD. And don&#8217;t get me started on my vinyl collection.<sup>[1]</sup></p>
<p>I&#8217;m not sure I want an OS riddled with <a href="http://www.fsf.org/bulletin/2007/fall/antifeatures/">antifeatures</a>, where I&#8217;m at the mercy of what Steve Jobs and Co. will let me do with my data.</p>
<p><sup>[1]</sup>: Irony would have it that in this recent press event, Apple announced the <a href="http://www.apple.com/itunes/whats-new/#itunes-lp">iTunes LP</a>, which is basically <em>nothing</em> like a vinyl, but more like the many failed attempts at releasing extra material in a data track on a regular CD album. So get ready for craploads of cheesy DVD-like animated menus and metric tonnes of completely useless and indifferent bonus material.</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/249/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SUSE Studio Awesomeness</title>
		<link>http://lillesvin.net/archives/245</link>
		<comments>http://lillesvin.net/archives/245#comments</comments>
		<pubDate>Thu, 13 Aug 2009 23:02:23 +0000</pubDate>
		<dc:creator>Anders K. Madsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lillesvin.net/archives/245</guid>
		<description><![CDATA[In case it has excaped anyone&#8217;s attention, you really ought to check out SUSE Studio if you&#8217;re into Linux goodness. Basically it&#8217;s a &#8220;build your own Linux&#8221; website, that even allows you to do test runs before downloading and installing &#8230; <a href="http://lillesvin.net/archives/245">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In case it has excaped anyone&#8217;s attention, you really ought to check out <a href="http://susestudio.com">SUSE Studio</a> if you&#8217;re into Linux goodness. Basically it&#8217;s a &#8220;build your own Linux&#8221; website, that even allows you to do test runs before downloading and installing your very own, personalized SUSE based Linux distro.</p>
<p>This allows you to build your own web server with your favourite applications pre-installed and set up, so all you have to do is install it and boot, and you can also use it to make your own desktop distro with your favourite apps installed, configured and ready to go. Pretty nifty, eh?</p>
<p>For further demonstration check out <a href="http://susestudio.com/screencast/">their screencasts</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lillesvin.net/archives/245/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

