Completely Disable Spotlight in Leopard 10.5

When you don't use Spotlight, it's better to disable it completely.
The MDS process takes up much CPU resources and it isn't also very memory friendly.
This How-To is written for Mac OS Leopard 10.5, and should not be applied to systems running Tiger.
    Start Terminal and enter the following commands:
  1. Stop and disable the spotlight application itself:
    #cd /System/Library/LaunchAgents
    #launchctl unload com.apple.Spotlight.plist (stops the application for the current user)
    sudo launchctl unload -w com.apple.Spotlight.plist (disables for every user)
    Just ignore the errormessage from the last command.
    The reason you get the error is that you are effectively executing the command as root, but the root user hasn't any running instance of Spotlight. On the other hand, only the root user is able to disable the automatic start of Spotlight. Thus the need for the sudo command.
  2. Stop and disable the background server:
    #cd /System/Library/LaunchDaemons
    #sudo launchctl unload -w com.apple.metadata.mds.plist
  3. Remove the .Spotlight-V100 directories
    sudo find / -iname '.Spotlight-V100' -type d -maxdepth 3 -print0
    | xargs -0 -t -n1 sudo rm -rf

    The find part searches for the Spotlight directories and will find the one at the system root as well as on any partitions and attached drives in /Volumes. The -print0 part is there to guard against any spaces and other special characters in filenames when executing the following rm command. The .Spotlight-V100 folders are actually empty. Stopping the mds server does this, so if you aren't bothered by these vestiges of the process, you can ignore this step.

If only some of your accounts need/want to have Spotlight enabled, you can copy the /System/Library/LaunchAgents/com.apple.Spotlight.plist to the users own ~/Library/LaunchAgents folder and enable/start Spotligth:
    cp /System/Library/LaunchAgents/com.apple.Spotlight.plist ~/Library/LaunchAgents/
    launchctl -w ~/Library/LaunchAgents/com.apple.Spotlight.plist
Related Entries:
How to get the Growl Mail plugin working in Leopard
Leopard: Lower the window drag delay between spaces
Comments (0)  Permalink

How to get the Growl Mail plugin working in Leopard

In Leopard, Apple changed some stuff regarding the plugin architecture. Therefore the Growl Mail plugin (which informs you if you got new mail) doesn't work anymore. But with some simple terminal commands, the plugin loads again:

defaults write com.apple.mail EnableBundles -bool YES
defaults write com.apple.mail BundleCompatibilityVersion -int 3


Thats basicly everything..

You can get the Growl Mail plugin here, it's located in the extra's folder.

Related Entries:
Completely Disable Spotlight in Leopard 10.5
Leopard: Lower the window drag delay between spaces
Comments (3)  Permalink

Leopard: Lower the window drag delay between spaces

To lower the delay between moving windows from space to space, enter this line in terminal:
defaults write com.apple.dock workspaces-edge-delay -float 0.1; killall Dock
With "0.1" as the delay variable, which is changable.
Related Entries:
Completely Disable Spotlight in Leopard 10.5
How to get the Growl Mail plugin working in Leopard
Remove Application space limit
Comments (0)  Permalink
1-3/3