Lately Apple has been revving the version number (and plugin compatibility UUID) of Mail.app with every version of 10.6. This breaks bundles like GrowlMail even when they are still compatible. The easy fix (although not necessarily the best if it turns out an update is required!) is to run a few commands in Terminal to add the new UUIDs1 to the SupportedPluginCompatibilityUUID key in the Info.plist.
Check the current setup
Alaunch Terminal, the first step is to determine which sleep mode your Mac is currently using (in case you wish to go back to it). You can both view and change the sleep mode using the Unix program pmset. To see your current settings, type pmset -g | grep hibernatemode. You should see something like this:
$ pmset -g | grep hibernatemode
My iPhoto ’08 used to start in seconds despite the 30,000+ photos I kept in it. But after I installed iLife ’09 and upgraded my iPhoto library, iPhoto ’09 would hang for several minutes with the dreaded beach ball on startup. Even worse, though was that opening any event would trigger another hang of a minute or more, as would viewing a photo full-screen. (Once these initial hangs were over and done with, the app would work normally.)
Inside the iPhoto Library Package, there are four SQLite databases (face_blob.db, face.db, iPhotoAux.db and iPhotoMain.db). I found that by vacuuming all four of these databases, I restored iPhoto ’09’s performance back to something on par with its predecessor.
Open Terminal and cd into your iPhoto Library (by default, cd “~/Pictures/iPhoto Library”). Once there, execute the following command:
for dbase in *.db; do sqlite3 $dbase "vacuum;"; done
We’re big fans of Spotlight here at OS X Daily, but we realize it’s not everyones cup of tea. If you’re someone who dislikes Spotlight enough to want it disabled completely then this is the guide for you. What you’ll need is some basic knowledge of the command line and a command line text editor (we’ll use nano in this example, perhaps the easiest). Note that some other Mac OS X features and programs are based on Spotlight’s search abilities, therefore some applications could behave abnormally if you disable Spotlight, particularly in search functions.
- Launch Terminal and type the following:
sudo nano /etc/hostconfig
- Navigate using the arrow keys down the following entry:
- Save /etc/hostconfig by hitting Control-O and the return key, next hit Control-X to exit the nano editor
- Next, you’ll want to disable the index by typing the following in the Terminal:
mdutil -i off /
- And to erase the current Spotlight index, type:
mdutil -E /
- That’s pretty much it, on your next reboot, Spotlight will be completely disabled.
- If you want to enable Spotlight again, follow the same steps as above, but change
- and then type
mdutil -i on /in the Terminal
- Reboot, and Spotlight is back as usual
Reference from http://osxdaily.com/2007/03/22/how-to-completely-disable-spotlight/