nik englund's blog

Knock sensor

Original Subaru

Auto sensors:

pidgin MSN certificate errors

For Ubuntu, fix below is quick and painless:

cd ~/.purple/certificates/x509/tls_peers

echo QUIT | openssl s_client -connect -showcerts | openssl x509 >

Printing to Canon MX850 via network with Ubuntu

This wasnt actually all that hard.

Get network driver for Canon printers


Extract it

tar -xzvf cups-bjnp-0.5.3.tar.gz

Install CUPS development files

apt-get install libcups2-dev

Compile driver




>> cat

        # Move panels
        gconftool-2 --set /apps/panel/toplevels/panel_0/monitor --type=int 1
        gconftool-2 --set /apps/panel/toplevels/panel_1/monitor --type=int 1
        # Move virtualbox
        VBOX=`wmctrl -lG | egrep "winxp .* VirtualBox OSE" |   awk '{print $1}'`
        wmctrl -i -r $VBOX -e 0,1921,-1,-1,-1
        sh /home/nie/ docked

myth tv setup crash due to libx11-6

Running myttv-setup on a debian box was crashing with following error:

mythtv-setup: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.


Searching around found the solution at

Noisy clothes washer

If your washer ever makes a racket and starts to smell like burning rubber, this might be it:


What is it?

Its called a spider, and one of its legs is broken.  This caused the drum to lean to one side if the washing was out of balance towards the 2 intact legs, and eventually it scraped into the side of the outer drum and seal.

Luckily I was near by when this happened and was able to turn the washer off before it damaged any parts beyond serviceable.

Why did it break?

Caring for the environment :P

Installing solaris 10 from linux NFS server

My old Ultra 2 only has a CDROM drive, not a DVD drive.  It doesn't have an IDE bus, and SCSI DVD drives seem to be reasonably rare.

Solaris 10 comes on 7 CDs, and after booting off the first CD there is an option to install over the network for subsequent CDs.

Rather than mucking around burning a heap of CDs, I decided to give this a go.

I mounted the CD iso images under linux, and then exported the loopback mounted CD directories via nfs.

compilers and libraries suck

I have finally found the bug which causes the popper program to crash when porting it to gnome.
Turns out my Make file had duplicate entries for the gnomeui libraries and header files:

`gnome-config gnomeui --libs `

`pkg-config libgnomeui-2.0`

Syndicate content