Posts from 2010-08

IP address calculators


sudo aptitude install python-ipcalc

the needed module is /usr/share/pyshared/


sudo aptitude install sipcalc

example usage:


sudo aptitude install ipcalc



gip - IP calculator for gnome

sudo aptitude install gip

Read on

Context Menu

The context menu actions can be found in the folder ~/Library/Contextual Menu Items


Read on

Set up an AFP Server for Apple Time Machine

If you follow the steps on this site you install netatalk from the Ubuntu binary archives and not from source! So make sure you use (as mentioned below) as auth module in order to encrypt your password.

sudo aptitude install netatalk
# Edit the configuration files:
sudo vim /etc/default/netatalk

Read on

Apple Remote / Advanced Configuration

Update 2011-12-20: As there is no update of iRedLite for OS X 10.7 Lion so far. You can still use it but the bindings for are broken. A workaround is to set the buttons to actions such as Current App → Cursors Movement → Right to go one slide...

Read on

virtualbox - Configuring port forwarding with NAT

To set up incoming NAT connections to an ssh server in the guest, use the following command:

VBoxManage modifyvm "VM name" --natpf1 "guestssh,tcp,,2222,,22"

With the above example, all TCP traffic arriving on port 2222 on any host interface will be forwarded to port 22 in the guest. The protocol name...

Read on

c't TriggerBackup

Mac OS X TimeMachine is a great system to simplify backup and recovery on the desktop. But it failes if you have to backup your data after each change and not just every hour. So what you need sometimes is a triggered backup: have a look at c't TriggerBackup....

Read on

Install The compiz Plugin: Screen Saver

sudo apt-get install compiz-bcop compiz-dev build-essential libtool libglu1-mesa-dev libxss-dev libcairo2-dev git-core x11proto-scrnsaver-dev libxss-dev
mkdir -p ~/Downloads/compiz
cd ~/Downloads/compiz
git clone git://
cd screensaver
make install

log out and back in


Read on

Check Open Ports on Mac OS X Using `lsof` (similar to `netstat` on Linux)

To list all ports where server software listens to on a computer running Mac OS X, run this in the terminal:

sudo lsof -i -P | grep -i "listen"



Read on

NX Server


sudo apt-get install python-software-properties && sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo aptitude install freenx

Now use nxsetup to install necessary files and create the special user "nx"

sudo /usr/lib/nx/nxsetup --install

If you need nxsetup binary for this check out:

shadow sessions on FreeNX - enables concurrent access to...

Read on

Convert FLAC files to ALAC

To convert the file input.flac (saved using the FLAC) to the file output.m4a (ALAC format) you can use this Terminal command:

ffmpeg -i "input.flac" -acodec alac "output.m4a" -map_meta_data input.flac:output.m4a

This needs the ffmpegX distribution for Mac OS X, which seems, however,...

Read on