To disable the Spotlight icon in the toolbar in 10.5, simply run:sudo chmod 0 /System/Library/CoreServices/Spotlight.appTo re-enable it later, do this:sudo chmod 755 /System/Library/CoreServices/Spotlight.appNote that this only disables the icon, not the indexing. To disable that, edit /etc/hostconfig in Terminal (with sudo), and change the line that reads SPOTLIGHT=-YES- to SPOTLIGHT=-NO-. (FYI, in Tiger the Spotlight.app was called Search.bundle.)