Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: Disable Spotlight LaunchAgent, too' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Disable Spotlight LaunchAgent, too
Authored by: jobu10000 on Nov 14, '07 08:05:10AM

Spotlight uses a LaunchAgent to try to continually relaunch itself when it terminates. While it's not really that big of a deal, you can also set the permissions of the launchagent to 0 to keep it from being readable... which will keep launchd from trying to restart spotlight every 10 seconds. After changing the permissions of the, if you look in the console log, you'll probably see a bunch of entries saying that it tried to relaunch and then failed.

To disable the spotlight launch agent:

sudo chmod 0 /System/Library/LaunchAgents/

To put things back the way they were:

sudo chmod 644 /System/Library/LaunchAgents/

Why there's no system preference for disabling the spotlight menu, I'll never understand. Way to go apple, thanks for telling me how to use my computer.

[ Reply to This | # ]
10.5: Disable Spotlight LaunchAgent, too
Authored by: aqsalter on Mar 01, '08 04:09:30PM

I used Lingon for this...
Instead of chmoding the file I just disabled the agent (, under System Agents).
Seems more reasonable and less error prone.
Note: this also has the effect of removing the icon, so actually disabling the agent is all you need to do.

[ Reply to This | # ]