Posts from 2009-12

Tryout the New Ubuntu Programming Environment: quickly

sudo apt-get install quickly

quickly tutorial ubuntu-project

Read on

Problems on HP nx8220 with Audio Playback (I Assume its pulseaudio)

To start new with pulseaudio:

pulseaudio --kill
rm -rf ~/.pulse ~/.pulse-cookie
pulseaudio --start

Then check access to the soundcard:

sudo lsof | grep /dev/snd

which returns:

pulseaudi 5173     philipp   20u      CHR     116,10    ...

Read on

Remove xsplash introduced by Ubuntu karmic koala

To remove the new splashscreen introduced in karmic koala run:

sudo apt-get remove xsplash ubuntu-xsplash-artwork

Read on

Deactivate gdm Start Sound

Sound after login: System → Preferences → Startup Applications → GNOME-Login-Sound : remove check

To disable the system ready drums:

sudo mv /usr/share/sounds/ubuntu/stereo/system-ready.ogg /usr/share/sounds/ubuntu/stereo/system-ready-off.ogg

Enter The gdm Configuration (not related to the deactivation of the start sound mentioned above)

Log off and change to a virtual...

Read on

Workaround for problems with constantly changing resolv.conf

When you don't want other software (like network manager) to mess with your DNS server settings, make /etc/resolv.conf immutable:

sudo chattr +i /etc/resolv.conf

It can be undone like this:

sudo chattr -i /etc/resolv.conf



Read on


  1. Download ArgoUML-0.xx.tar.gz
  2. Decompress it into your ~/bin/ (or /bin) directory
  3. and then create a symlink to in ~/bin/:
    ln -s $HOME/bin/argouml-0.28/ $HOME/bin/argouml
  4. Now run the app by executing argouml

or run the webstart:




Read on

Forbid root Login via SSH

Edit the configuration file of the SSH daemon:

sudo gedit /etc/ssh/sshd_config

Change the line containing PermitRootLogin yes to PermitRootLogin no , save the file and restart the SSH server.

sudo /etc/init.d/ssh restart

Read on

Fix line endings in text files created on Microsoft (Dos) based platfoms to for Unix and Linux

Use dos2unix from the tofrodos package to convert files with Windows (DOS) style CRLF (carriage return and line feed) line endings to Unix style LF (linefeed only) line endings. Install as follows:

sudo aptitude install tofrodos

How you use the tool:

dos2unix dosfile.txt

Read on

Convert Text Between Different Encodings Using iconv

If you want to convert files from one encoding to another you want to use the tool iconv:

iconv -f WINDOWS-1252 -t UTF-8 about.txt  > about.utf.txt

The above command converts the about.txt input file from the old West-European encoding ISO-8859-1 to UTF-8 and saves the result to about.utf.txt.

The command...

Read on

Change network setup from DHCP setup to a static IP configuration

My network interface is a Intel PRO/1000 PT Dual-Port-Server-Adapter (PCIe x4) (chipset: Intel 82571GB). It provides two physical links that I use both: One for my private subnet and one as the public interface to the public network (Internet via 100Mbit Ethernet at KHG, University of Frankfurt am Main). I...

Read on

Change The "Ubuntu icon" in the Upper Left Hand Corner of the Gnome Desktop

Press Alt + F2. Enter gconf-editor and press enter.

Go to apps → panel → objects and select the menu_bar. On the right of the window, check the box that says use_custom_icon. Then, right click the entry that says custom_icon. Select Edit Key and enter the path to your preferred icon.


Read on


wiipresent is a tool by Dag Wieers to use a Nintendo Wii Remote as input device to switch forwards and backwards in your presentation when you give a talk.

Here is how you install it on Ubuntu 9.10:

sudo aptitude install bluez bluez-compat
sudo aptitude install libcwiimote-0.4 libcwiimote-dev libxtst-dev asciidoc
cd ~/Downloads/

Read on

Compiz Plugin: Grid - adjust windows automatically / Tiling Window Manager

The plugin:

More resources:



Read on

Test Speed Of Partitions (and therefore also Hard Disk Drives)


The command sudo hdparm -t /dev/sda on my Samsung SpinPoint F1 HD103UJ returns:

 Timing buffered disk reads:  210 MB in  3.02 seconds =  69.63 MB/sec


Compile seeker (multithreaded) from seeker_baryluk.c using:

gcc -o seeker -O2 -march=native seeker_baryluk.c -pthread

And execute it like this (where the...

Read on

Set Up HRZ Printers (Hochschulrechenzentrum Universität Frankfurt - Studentendruck)

cd ~/Downloads/
sudo cp Ricoh-Aficio_MP_C3500_PS.ppd /etc/cups/ppd
sudo cp Ricoh-Aficio_MP_3350_PS.ppd /etc/cups/ppd
sudo lpadmin -p schwarzweiss_hrz -v smb://${GEHEIM} -P /etc/cups/ppd/Ricoh-Aficio_MP_3350_PS.ppd -E
lpq -P schwarzweiss_hrz
sudo lpadmin -p farbe_hrz -v smb://${GEHEIM} -P /etc/cups/ppd/Ricoh-Aficio_MP_C3500_PS.ppd -E
lpq -P farbe_hrz

Read on

Monitor Your Room Temperature – With An AVR-NET-IO

I was using an AVR-NET-IO with the Ethersex firmware to log temperatures. I used an NTC and measured the the voltage drop across to get the temperature. The logging was done with (a previous version of) this script.

Real Time Plotting

This can be done with

Analysis Using R


Read on

Upgrade to grub2 on Ubuntu karmic

After your system was upgraded from Ubuntu jaunty 9.04 to karmic 9.10 you still have grub1.5 on your HDD. To replace it with grub2 do

sudo apt-get install grub2
sudo upgrade-from-grub-legacy

Read on

Testing the Data Rate of a Hard Disk using dd – Here the Samsung SP2504C 250GB

If you want to see the read-speed diagram right away, click here.

When I replaced my Samsung SP2504C (250GB) by a larger (and faster one) I copied the full content of the old Samsung hard disk to the new hard disk. I used this opportunity to measure the read speed...

Read on

Choosing the Default Java Distribution on Ubuntu

Get the requirements:

sudo aptitude install java-common
sudo aptitude install sun-java6-jre

Just installing new Java flavours does not change the default Java pointed to by /usr/bin/java. You must explicitly set this:

To see the current configuration and other available choices run:

sudo update-java-alternatives -l

To set the XXX java version as default:


Read on

Texas Instruments TI-89 Titanium Calculator

Original TI-89 packaging in French (see the full image here ):

Programming SDK for Windows

PedroM - An Alternative Operating System

There is a free OS: PedroM.


Project Site | on SourceForge

sudo aptitude install tiemu-skinedit tiemu

OS rom file download: TI-89 Titanium...

Read on

Mathematica 7.0.0 and 7.0.1 - High CPU Usage

Mathematica 7.0.0 and 7.0.1 had a high cpu usage on my computer even when it should be idle.

Besids from upgrading to 7.0.2 the following files might help:


Read on

How I Install LaTeX on Ubuntu Linux

To make it simple, all I do is:

sudo aptitude install texlive-full

Read on