Jul 302010
 

Apple Calendar Server

http://mark.mckillen.com/article.php?story=20090220074155616
http://www.deanspot.org/content/installing-apples-calendarserver-ubuntu
https://wiki.edubuntu.org/CalendarServer

DAViCal

The project homepage
DAViCal on Ubuntu Users (German)

I got DAViCal to work with Ubuntu but its not the most stable piece of software that I have seen yet.

sudo aptitude install davical davical-doc

Allow network connections on port 11371:

sudo ufw allow 11371

Create /etc/davical/<IP_address or canonical_name>-conf.php and /etc/apache2/conf.d/davical.conf

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Jul 242010
 

Burning an ISO Image from Terminal

hdiutil burn image.iso

Creating an ISO Image from a Folder

hdiutil makehybrid -o ~/Desktop/[outfile] ~/Desktop/[source]

[source] can be a folder or a disk image.

Creating an ISO Image from a CD

Determine the device that is you CD/DVD drive:

drutil status

Umount the disk:

diskutil unmountDisk /dev/disk1

Create the ISO file with the dd utility (may take some time):

# In the case of a CD:
dd if=/dev/disk1s0 of=file.iso bs=2048
# In the case of a DVD:
dd if=/dev/disk1 of=file.iso bs=2048

Test the ISO image by mounting the new file (or open with Finder):

Jul 242010
 

To install EtherPad you first have to edit the package repositories:

sudo gedit /etc/apt/sources.list

and add the following two lines (of which you might already have the first activated and where lucid could also be maverick or natty depending on your Ubuntu version):

deb http://archive.canonical.com/ubuntu lucid partner
deb http://etherpad.org/apt all .

Then update the repository information and install etherpad:

sudo aptitude update
sudo aptitude install etherpad

During the installation you have to set up some mysql database data and an admin password.

Now you should have a look at the configuration file:

Jul 202010
 

Terminal helpers (command line tools):

  • mdfind : Search Spotlight metadata indices.
  • mdimport : Force Spotlight to import metadata for a specific directory.
  • mdls : List the metadata attributes of a specific file.
  • mdutil : A utility for managing Spotlight indices.

To erase and rebuild the index on the root partition / do:

sudo mdutil -E /

Substitute -s for -E to show if indexing is enabled on the volume, and -i on or -i off to enable or disable indexing.

You can also use mdimport to index a subset of files:

Jul 192010
 

If you want to mount an HFS+ volume on an Ubuntu computer, all you have to do is to disable the Journaling for the partition. Connect the HDD to a Mac (Firewire didn’t work!), boot into Mac OS X and execute the following command on the terminal:

sudo diskutil disableJournal "VOLUMENAME"

When you’re done transfering data to / from the disk on Ubuntu you should reenable journaling of the volume on Mac OS X as this increases the assurance of your data integrity.

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Jul 162010
 

Temporarily disable Spotlight indexing is especially useful when connecting a large external HDD for the first time to copy/move/access some files as the Sportlight scanning slows down the drive access a lot.

sudo mdutil -a -i off

to turn it back on:

sudo mdutil -a -i on

resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Jul 122010
 

If you want to control iTunes by bumping on your MacBook then follow this advice:

Get amstracker and bumptunes.py and unpack them somewhere. Open a Terminal in that directory and run:

./amstracker -u 0.1 -s | python bumptunes.py

resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Jul 082010
 

To change the login screen wallpaper on Mac OS X you can use the some commands on the terminal. They work on Leopard 10.5 and Snow Leopard 10.6:

cd /System/Library/CoreServices
sudo mv DefaultDesktop.jpg DefaultDesktop_org.jpg
sudo cp /path/of/image.jpg DefaultDesktop.jpg
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Jul 032010
 

Installation on Ubuntu:

sudo aptitude install ipwatchd-gnotify

if configured correctly (true by default) it will show you graphical warnings for IP conflicts as well as create log entries in /var/log/syslog (check for log messages containing ipwatchd).

Advanced configuration options are described and have to be set in the file/etc/ipwatchd.conf. This could be running a custom script as soon as an IP conflict is being detected for example.

When you detect an IP conflict, it might be an illegitimate attempt to take over your IP. So you want to tell the network who’s the real owner of that IP: this is done using arping and described in my blog post React to IP Takeover.