Posts from 2010-08

Context Menu

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

...

Read on

IP address calculators

python-ipcalc

http://packages.ubuntu.com/lucid/python-ipcalc
/usr/share/doc/python-ipcalc/README.Debian

sudo aptitude install python-ipcalc

the needed module is /usr/share/pyshared/ipcalc.py

sipcalc

http://www.routemeister.net/projects/sipcalc/
http://packages.ubuntu.com/lucid/sipcalc
http://manpages.ubuntu.com/manpages/lucid/man1/sipcalc.1.html

sudo aptitude install sipcalc

example usage: http://www.cyberciti.biz/faq/linux-subnet-calculator-cidr/

ipcalc

sudo aptitude install ipcalc

usage:

ipcalc 192.168.1.7/24

gip - IP calculator for gnome

sudo aptitude install gip
...

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 uams_dhx2.so (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
sudo...

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 Preview.app 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

Install The compiz Plugin: Screen Saver

http://tombuntu.com/index.php/2008/07/31/install-three-experimental-compiz-plugins/
http://wiki.compiz.org/Plugins/Screensaver

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://anongit.compiz-fusion.org/users/pafy/screensaver
cd screensaver
make
make install

log out and back in

...

Read on

c't TriggerBackup

http://www.heise.de/ct/Software-Archiv-5462.html

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

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"

resources

...

Read on

NX Server

FreeNX

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: https://help.ubuntu.com/community/FreeNX?action=AttachFile&do=view&target=nxsetup.tar.gz

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