Thursday, December 24, 2009

A christmas check up of my parents computers

Symbolic link in Windows
I just realized that you are able to make symbolic links of directories on NTFS systems. On Windows 2000 and XP you can use junktion. While you can use mklink on Vista and Window 7 systems.

I have for the past two years or so tried to make my parents switch to Linux. Now, I have just installed Ubuntu 9.10 on my mom's (yeaier). However, a new wireless adapter was needed. I choice a D-link DWL-G510 ver. C2 pci adapter, and was pleased to see that WPA worked out of the box.

My parents have a D-link DI-524UP rounter with print server. In ubuntu add a printer as 'Network Printer -> LPD/LPR Host or Printer'. Put as Host and lp1 (this should be the Queue Name under 'Status -> Printer Info' when you log on the router) as Queue.

Merry christmas!

Labels: ,

Tuesday, December 22, 2009

Server backup via DropBox

This is a simplification of the official setup for an Ubuntu server. Before you start you need to have an account at DropBox.
  1. Download the deb-file from and install it.
  2. Make a directory at '~/Dropbox'.
  3. Run the command 'dropbox start -i'. This will download the DropBox deamon.
  4. Run the command 'dropbox start -i' again. This will give a url (something like '')
  5. Open the url in a browser and log into your DropBox account. This will link the server to your account.
  6. Start Dropbox by 'dropbox start'.

Labels: ,

Wednesday, November 4, 2009

Upgrading to Ubuntu 9.10: Karmic Koala

This weekend the new version of Ubuntu hit the street and even Flash is working nicely. I most say that I like it. However, I had to do two small tweaks.

Disable the login sound
When the new gdm login window appears, you get a drum sound. There is no real way of disable the sound (see Though, there is a simpel workaround. Just rename the file '/usr/share/sounds/ubuntu/stereo/dialog-question.ogg', say dialog-question.ogg.bak.

Update: A better way of doing this, is to open a terminal and run the command

sudo gconf-editor

Now unmark 'desktop -> gnome -> sound -> event_sounds'.

Update: Seems that an update from Ubuntu just made the last method obsolete.

Disable the blutooth device at startup
I rarely use the bluetooth device on my laptop, so why have it use up the battery. I solved this by adding the line 'echo disable > /proc/acpi/ibm/bluetooth' to the file '/etc/init.d/rc.local'. The bluetooth-applet will still load, and you can enable the device via it.

Labels: ,

Saturday, August 15, 2009

Birthday calendar based on Google contacts

I have made a small web application. It's still a bit rough, however, you will be able to import your Google contact's birthdays via iCal to your Google calendar (or any iCal calendar for that matter).

The only downside is, that the iCal calendar will be public. But don't worry, I have masked the public link.

Check it out at

Labels: ,

Thursday, July 23, 2009

Ubuntu on the laptop

Alright, I haven't been the best blogger in the world but here goes. I finally decided to install Ubuntu 9.10 x64 on my laptop and as always a few things took longer than expected. This time Skype gave me some troubles.

I found that installing from Medibuntu' Repository was the way to go. I installed 'skype-static-oss' by

sudo apt-get install skype-static-oss

to avoid 'problem with Audio Playback' when making voice calls. You can now run it through Pulse, I have no idea what that means but it works, by

padsp skype

Now Skype was working... except that no one was able the hear anything. Goddamn. Well, this was easy, if only I figured it out before I reinstalled Skype a couple of times, go to Volume Control (right click on volume icon) -> Prefences and make sure that Microphone, Mic Boost and Capture are checked. This three things controlls your speaker volume and are all muted as default.

Now you can enjoy Skype( again)...

Labels: , ,