About

  • Combination of the words "Andri" and "Droid"
  • Sysadmin, developer and a student
  • Born in Reykjavík, Iceland
  • Studying in Aalborg, Denmark
  • Not the Google project

Twitter

  • dislike how bloated and annoying phpmyadmin has become? Try SQL Buddy....
  • 14 hours on the job today, feels like old times!
  • finally starting to see toward the end of my web development summer project. Start at the...

linux

Pulseaudio is growing on me

I've been using Linux on my desktop for years and I've always despised when the sound on my system gets messed up by an abstraction layer, such as esound, pulseaudio or arts. However, starting with Ubuntu Lucid 10.04 I must confess that I'm starting to see the light.

Is Ubuntu only for new users?

Going through my daily news portion I noticed an article named "Why this Linux veteran runs Ubuntu" and I find my self agreeing with most of his points.

Recently I participated in Open Source Days 2010 in Copenhagen, Denmark. There was a group booth for the Ubuntu, but for some reason I found myself unwilling to admit that I was an Ubuntu user. Ask anyone; Ubuntu is great for newcomers to the Linux world. However, Ubuntu is not a bad operating system for advanced Linux users either - but it's just not cool.

Taming Ubuntu 9.10 Karmic on my new system

I recently upgraded my computer with a i5-750 processor, 8GB of ram, Nvidia graphics card and an Intel X25-M solid state disk. This however meant that I would be reinstalling my operating system.

There were some problems with faulty RAM, that prevented me from installing anything the first day, but I will not go into more detail than saying that 'debsums' and 'memtest86' saved the day!

The purpose of this post is to document the minor changes I make to make my operating system useful. This is not a rip on Ubuntu - I tweak everything (including Mac and Win).

Piping remote backups through SSH with tar

While usually operating some sort of backup systems, it may become necessary to perform at remote backup of a machine without initiating locally. There can be a number of reasons to do this, such as:

  • You do not trust the operator of the machine you need to backup from. Various tools may be compromised to grab your passwords.
  • There is no space left on the machine to store the backup file

From the receiving machine (backup to)


# Using bzip2 as compression
ssh user@remote-machine.com "tar cj remote_folder_name1 remote_folder_name2" > backup.tar.bz
# Using gzip as compression
ssh user@remote-machine.com "tar cz remote_folder_name1 remote_folder_name2" > backup.tar.gz

You will be prompted for a password before the command is run. If you need this to be automatic, you can use password-less public key authentication instead (although I will not cover it here). If you risk that your session might die before finishing the copy, try something like 'screen' before running the command.

This shouldn't be much of a revelation to most linux geeks, but useful non the less and written here for documentation purposes.

Automatic USB backup with Ubuntu

Update: This article is originally from andri.dk and is provided as is. Some of the information is outdated, but hopefully still helpful to some.

Everyone has important files like personal photographs, bank statements, a life's accumulation of porn and so and and so forth that would be hard or impossible to recover if that damn hard drive would fail.

I've always been well aware of the dangers of not taking backups but yet still lazy enough to ignore it.

Backup for the lazy includes the following steps:

  • Put USB stick in computer
  • Wait for computer to BEEP or USB stick to stop flashing
  • Unplug USB stick
  • Rinse and repeat!

Finding a decent OS for my Asus EEE 1000he

Last fall, after my one year old Macbook battery died and Apple refused to fix it I decided to spend twice as much as a replacement battery to buy myself a new Asus EEE 1000he netbook instead.

I intended this computer to fulfill note taking at the university, browsing, media playing and to serve as a calculator (Matlab/Maple).

The machine came pre-installed with Windows XP Home and I quickly replaced that with EEEbuntu 3 and have been running that for 4 months. The main problem I have with EEEbuntu is that it's not maintained and the Gnome desktop environment seems to be sucking the life out of my little netbook.

My quest is to find a netbook operating system with the following qualities:

  • Fast booting
  • Lightweight desktop environment
  • Ability to browse (preferably using Chromium)
  • Flawless hardware support for my 1000he
  • Run Maple and Matlab

I will be going through the candidates and updating each review as I hopefully will be able to find an operating system to my liking.

Has Linux failed on the desktop?

In reply to: The market has rejected Linux desktops. Get over it.

Techrepublic's editor has written this fine blog post about why Linux has failed on the desktop and why it will never succeed. I respectfully disagree and will explain why that is.