XFCE: Unable to perform shutdown

At some point during the Jaunty test cycle shutting down and rebooting the machine stopped working with the Action Buttons menu applet – It would fail with the message “Unable to perform shutdown” and some HAL-related messages. While annoying I didn’t put any real effort into solving the problem, until today. I didn’t have to look long though as the answer was in the Arch Linux forum. Open the file /etc/PolicyKit/PolicyKit.conf and add these lines ...

May 5, 2009 · 1 min · alj

Fixing unknown locale in Python 2.6

The fix itself is the same as for Python 2.5 – only the line numbers have changed. Open the file /usr/lib/python2.6/locale.py and find the line containing en_gb (line 855) and add these lines (this works for Danish locales): 'en_dk': 'en_DK.ISO8859-1', 'en_dk.iso88591': 'en_DK.ISO8859-1', 'en_dk@euro': 'en_DK.ISO8859-15', In order to avoid this change getting overwritten by packages updates, I use dpkg-divert: $ sudo dpkg-divert --add --rename --divert /usr/lib/python2.6/locale.py.real /usr/lib/python2.6/locale.py $ sudo cp /usr/lib/python2.6/locale.py.real /usr/lib/python2.6/locale.py If you wish to remove the diversion (if the package is fixed to support you locale at some point) simply run ...

March 25, 2009 · 1 min · alj

Outage

First of all I apologize for www.nowhere.dk being offline for more than a week. The outage was caused by a change of ADSL providers (from TDC to Cybercity for those who want to know). I did consider moving the site somewhere else but I have been very busy :)

March 17, 2009 · 1 min · alj

Running Windows applications on Linux with KVM and SeamlessRDP

Please go to the updated article. Since I wrote the post about running Windows applications on Linux with Sun xVM VirtualBox and SeamlessRDP I have been using the system almost daily to run some applications needed at work. It has been running well except for crashes in VirtualBox from time to time. Two new releases of VirtualBox has not fixed the problem. ...

March 8, 2009 · 1 min · alj

Ny, gratis, DNS-udbyder ser dagens lys

I går, efter flere måneders test, åbnede QuickDNS dørene for offentligheden. Hvorfor endnu en DNS-udbyder? Jeg har et ambivalent forhold til GratisDNS. Servicen er god nok (og prisen rigtig :) ), men jeg er ikke altid enig med Peter Larsen; specielt hans involvering i dotdk har gået mig på. Heldigvis ser det ud til at man nu kan vælge udbyder hvor det tekniske er i højsædet. QuickDNS er en non-profit-tjeneste, der tilbyder DNS-service til vores brugere. Vi gør dette for at skabe en stabil, gratis og økonomisk uafhængig DNS-platform til internetsamfundet med udgangspunkt i danske forhold. ...

March 5, 2009 · 1 min · alj

Using hdapsd in Ubunty (Jaunty Jackalope)

One of the cool features in a Thinkpad is HDAPS or IBM Active Protection System as it’s called. The system consist of two parts. The driver that enables reading the acceleration data and some sort of userspace software that does the actual parking of the harddrive heads, usually hdapsd. The hdaps driver is part of the kernel but the driver maintainers actually recommend using the tp-smapi driver instead. So that’s what we’ll do. ...

February 17, 2009 · 2 min · alj

Sun releases xVM VirtualBox 2.1.4

Yesterday Sun released the second maintenance release for VirtualBox 2.1 See the Changelog for more details. Actually my Windows VM has been running smoothly since I upgraded to 2.1.2 but as usual there is a bunch of bugfixes in this release. Download it here.

February 17, 2009 · 1 min · alj

The guitar curse

Let’s face it. I suck at Guitar Hero. Sure I have completed Guitar Hero III, World Tour and Aerosmith on easy (many of the songs at 100%) but each time I try medium this is sort of what happens Damn my fat, useless fingers! Anyway, I just wanted to show you the above comic strip – And show my respect for this fella – I wish I was one tenth as good as he is

February 9, 2009 · 1 min · alj

Pimpin' your Firefox

People often ask me “what’s that browser you’re using” or “how the hell did you make it look like that”. This article serves two purposes: answer these questions remind me what to do when Firefox frags the profile 😎 Theme Nothing special here but my GTK and xfwm themes are dark so Firefox is … dark. I know I am wasting some space on toolbars but I need them so I just have to live with them. ...

February 7, 2009 · 3 min · alj

New blog engine

Nowhere.dk has been using a lot of different software over the years (handwritten HTML files, home brewed CMS and various other CMS’es). Since I started this blog (again) I’ve been running Nanoblogger, a nice, small bash based blogging framework. But even if it has been working okay it is very limited in function (hence nano I guess). So I decided to switch to a new blog engine. The choice is: WordPress. Why? Because it has a large user base, easy to extend (more than 5000 plugins) and easy to make look like you want (lots and lots of themes). The downside is that it is PHP based and requires MySQL which might be a problem for my underpowered server. ...

February 3, 2009 · 1 min · alj