Recently in Howto Category
It seems that under some unknown circumstances you will hose your iLife 8 installation so that Garageband, iPhoto, etc and other applications which depend on iLife like Mail.app, iChat.app, Google Notifier, Pages, etc will not lauch.
Mine probably stopped working after I installed Garageband from my Macbook's bundled software DVD, which I had not initially installed.
Symptoms: The app will bounce few times in the dock, close and you will get the following crash report (Example Crash Report for iPhoto, it's the same for all other apps):
Process: iPhoto [413] Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier: com.apple.iPhoto Version: Build Info: iPhotoProject-3640000~10 Code Type: X86 (Native) Parent Process: launchd [177] Date/Time: 2008-05-04 16:14:58.097 +0800 OS Version: Mac OS X 10.5.2 (9C7010) Report Version: 6 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Crashed Thread: 0 Dyld Error Message: Library not loaded: /System/Library/PrivateFrameworks/GraphicsAppSupport.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/ImageKit Referenced from: /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeMediaBrowser Reason: image not found
Checkig the directory will possibly confirm, that the A directory in /System/Library/PrivateFrameworks/GraphicsAppSupport.framework/Versions/A/Frameworks/ImageKit.framework/Versions/ is not there:
$ ls -l /System/Library/PrivateFrameworks/GraphicsAppSupport.framework/Versions/A/Frameworks/ImageKit.framework/Versions/ total 8 lrwxr-xr-x 1 root wheel 1 Apr 30 22:11 Current -> A
Howto fix this:
- Cry like a baby.
- Don't panic!
- You need the "A" folder from a different Leopard installation with same level of updates as your machine or the proper
ImageKit_tiger.pkgfrom somewhere. At the time of writing, the required folder has the following md5 on 10.5.2 with all security updates:
$ md5 /System/Library/PrivateFrameworks/GraphicsAppSupport.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/ImageKit 1786a69b42c828414dbd4b191dce1d47
The version according to Resources/version.plist seems to be 1.0.1 and I have NO idea where to get it from if not from a second machine. The iLife 8.2 update on Apple's website has ImageKit with version 1.0! The 10.5.2 Combo Update does not have the required ImageKit at all. My guess would be that it came recently with one of the Standalone Updates, if you have no access to a second machine, try your luck with one of these. You will need Pacifist for browsing the packages. Should you succeed, please leave a comment here.
In any case, after copying the A folder back to it's place it is advisable to repair disk permissions with Disk Utility.
Possible other ways to fix this:
- Check your Time Machine backup, if you are doing full backups, it may be there!
- Reinstall everything and hate Apple forever
I finally found some time to watch the You Suck At Photoshop tutorials, and they are hilarious. (Attention: Photoshop CS3 needed...)
There was always one feature from Gnome that i missed in Mac OS X, the ability to quickly lock your Mac with a shortcut and go for lunch. Sure, there's that option to lock your mac every time your screensaver goes on, but the problem with that is that I do not want to enter my password every time. At home for example, there is no need to lock my Macbook. Besides this function has a lot of issues when waking up from sleep; Sometimes I would have to wait for a minute until i get a login box. After a long hunt on macosxhints.com, I found a command to show the fast user switching login box without actually having to enable fast user switching:/System/Library/CoreServices/"Menu Extras"/User.menu/Contents/Resources/CGSession -suspendThere are several convenient ways to execute it:
- Create an Automator action which executes a shell script (slow to execute)
- Create an AppleScript Application and put it in your Dock:
do shell script "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" - Run the shell script/ AppleScript from Quicksilver
- Run the AppleScript in Launchbar:
Put the AppleScript (.scpt) from above in~/Library/Scriptsand enable Home Library scripts in the Launchbar Configuration (I found this to be the fastest option)
I have been looking for a way to mirror my home folder on my Macbook with a linux server (nslu2 with Unslung Linux in this case), this article describes how to do that with tools already available in Leopard.

I assume you have a valid SSH login on the server, I simply enabled my account on the NSLU2 and assigned the proper home and shell values to it. I also assume both computers have an working installation of rsync (run rsync --version to check)
For automatic, password-less logins, first we need to generate keys for SSH, if you have them already, skip this section. Run this command on your local computer:
$ ssh-keygen -d
Now copy your public key into ~/.ssh/authorized_keys2 on the server. If this file already exists on the server, you will have to edit it, if it does not (e.g. your account is fresh) first create the ~/.ssh directory on your server (mkdir ~/.ssh), then execute this command on your local computer:
$ scp ~/.ssh/id_dsa.pub yourname@yourserver:.ssh/authorized_keys2
Before we can start mirroring your home folder, we have to create a list of files we don't want to synchronize, this are the contents of my ~/.rsync/exclude file:
- .DS_Store - Virtual Machines.localized - Library/Mail Downloads - Library/Caches - Downloads/ - Applications/ - Books - anthill_cache - .Trash - .localized
That's it, now all you need to do is to adapt this command to your environment, run it and wait...
$ rsync -avzP --exclude-from=/Users/me/.rsync/exclude -4 --delete -e 'ssh -ax' ~/ you@yourserver:~/Backups/mymacbook/
you can also create a shell script so you don't need to remember the command everytime:
$ echo "rsync -avzP --exclude-from=/Users/me/.rsync/exclude -4 --delete -e 'ssh -ax' ~/ you@yourserver:~/Backups/mymacbook/" > ~/remotebackup; chmod +x ~/remotebackup
You can start the backup by executing ~/remotebackup
Enabling IPv6 on your PC is not as difficult as you think. This is a quick Teredo/Miredo Howto for the most popular operating systems allowing you to penetrate most NATs and Firewalls and most likely allowing you bypass any blocking, censorship happening at your place. As a free bonus, the last link will allow you accessing tons of Usenet posts, including the all time favorite binaries. It does work from China, so you can use it to read your favourite, blocked, sites.
Windows XP
Whatever you do, make sure you have the Windows firewall up, if you use 3rd party, ensure it supports IPv6. Enabling IPv6 will put you on the net, losing any protection you had behind your router's NAT.
Install
Open the Terminal with Start -> Run -> cmd
netsh interface ipv6 install
netsh interface ipv6 set teredo client
Wait for few moments.
Uninstall
netsh interface ipv6 uninstallWindows Vista
Install
IPV6 is enabled per default. You can get into the settings by going into the preferences for an network interface. "Obtain an IPv6 address automatically" should do the trick. However, Teredo will disable itself if you have "edge traversal" or outgoing udp packets blocked in your firewall or if your router is a symmetric-nat router (e.g. Speedtouch 780). In that case you have to use a tunnel broker, see comments below. If nothing goes, the first place to look would be your Windows firewall... see if there's anything disabled or anything you can enable...
Please leave a comment if you have more info about Teredo on Vista. Everybody I know dumped Vista and installed XP instead.
Uninstall
Add this registry value ("DWORD") set to 0xFF (long line, double-click, and copy):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents
Or save the two lines in a .reg file and double-click it:You can also go to the interface properties of an network interface and deselect the IPv6 protocol for that interface.[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"DisabledComponents"=dword:000000ff
Debian, Ubuntu
Install
On Ubuntu IPv6 is enabled per default, but not configured.
sudo apt-get install miredoBecause the default server did not work for me, I had to change it to another one:
sudo vi /etc/miredo.conf
ServerAddress teredo.ipv6.microsoft.com
sudo /etc/init.d/miredo restart
Uninstall
sudo apt-get remove miredoFedora, Redhat
Install
About the same as on Ubuntu. On Fedora Core 6 & 7 IPv6 is enabled per default, but not configured. You need to get miredo rpm from the Dries RPM repository.
sudo rpm -Uvh miredo-*.rpm
Uninstallsudo rpm -e miredoMac OS X
Install
Get the Miredo installer from Miredo-Osx, and install it. If you are lucky, that's it. if not, try changing the server, see Debian howto above.
Uninstall
If you want to uninstall, execute the uninstall-miredo.command script, located in the /Applications/Utilities folder.
Checking if everything is working
On the terminal type:
ping6 www.sixxs.net
Getting details about your IPv6 connection
Accessing blocked, censored Websites or just for fun:
http://en.wikipedia.org.sixxs.org/
http://slashdot.org.sixxs.org/
(You can access any Website over ipv6 by appending
.sixxs.org to the domain)
"Cool stuff" to do with IPv6 I like the part about Usenet over IPv6


