Archive for the 'Mac' Category

Missing “sync with google” on mac os 10.5.8 address book

Thursday, February 4th, 2010

If you want to sync your address book to google, you can do it directly from your address book.
some Leopard macs will not show this options and the following will fix it.

Open terminal
Copy and paste the following:

echo "\"{ Devices = { red-herring = { 'Family ID' = 10001; }; }; }\"" >>
~/Library/Preferences/com.apple.iPod.plist

quit/start your address book

Clean up your mac caches

Thursday, February 4th, 2010

This is an aggressive fix, but one I had to take after numerous ( thousands ) or syslog errors :

2/3/10 6:08:50 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist) Throttling respawn: Will start in 10 seconds
2/3/10 6:08:59 PM [0x0-0x12012].com.adiumX.adiumX[452] (process:452): Json-CRITICAL **: json_node_get_int: assertion `node != NULL' failed
2/3/10 6:09:00 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist[6584]) Bug: launchd_core_logic.c:4103 (23932):13
2/3/10 6:09:00 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist[6584]) posix_spawn("/Applications/Akamai/loader.pl", ...): No such file or directory
2/3/10 6:09:00 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist[6584]) Exited with exit code: 1

I followed this process ( found in mac forums ):

WARNING: “rm -rf” IS A DANGEROUS COMMAND, MAKE SURE YOU KNOW WHAT YOU ARE ERASING !!!

boot to single user : (CMD+Option+S) and run the following commands :

fsck -fy
rm -rf /Library/Caches
rm -rf /Users/YOURUSERNAME/Library/Caches
rm -rf /.Spotlight-V100

reboot

MAC – Reset office 2008 serial

Tuesday, December 29th, 2009

I use a time machine backup to build MAC’s for our employees, saves me time on install and configurations, however our MAC users use office 2008 and require a unique key from our licensed copy. to re enter the office serial I just run the following two commands in terminal :

rm "/Applications/Microsoft Office 2008/Office/OfficePID.plist"
rm "~/Library/Preferences/Microsoft/Office 2008/Microsoft Office 2008 Settings.plist"

and re launch office.

MAC – Change default umask in Snow Leopard

Tuesday, December 22nd, 2009

echo "umask 002" >> /etc/launchd-user.conf.

reboot

Read more about it here: apple kb

Leopard keeps warning : is an application which was downloaded from the internet. Are you sure you want to open it?

Monday, April 27th, 2009

Full thread I found is here , below is the short version on how to remove the extended attributes and possible ACL’s. Leopard adds an ACL called com.apple.quarantine to your download apps :

1. Open the Terminal
2. List the attributes of the app you are having issue with ( in this example , skype )

mac: moti$ xattr -l /Applications/Skype.app
com.apple.quarantine: 0000;49d521d9;Firefox;|org.mozilla.firefox

Remove the “com.apple.quatantine” attribute if it is defined

sudo xattr -d com.apple.quarantine /Applications/Skype.app

3. Check the attributes again

mac: moti$ xattr -l /Applications/Skype.app
mac: moti$

com.apple.quarantine should not be listed.