Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

xineun

macrumors newbie
Original poster
Aug 4, 2011
4
0
When I was using snow leopard, I disabled spotlight by using method below:

sudo mdutil -a -i off
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

After upgraded to lion, I did following steps:

sudo mdutil -a -i on
sudo chmod 777 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

I can search stuff in finder now, but the spotlight icon does not show in the menu bar, and the keyboard shortcut for spotlight does not work. How can I solve this problem?

Thanks!
 

DewGuy1999

macrumors 68040
Jan 25, 2009
3,194
6
When I was using snow leopard, I disabled spotlight by using method below:

sudo mdutil -a -i off
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

After upgraded to lion, I did following steps:

sudo mdutil -a -i on
sudo chmod 777 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

I can search stuff in finder now, but the spotlight icon does not show in the menu bar, and the keyboard shortcut for spotlight does not work. How can I solve this problem?

Thanks!

I've never done this so it might not work, but from this discussion it looks like you might need to run the
Code:
killall SystemUIServer
command to restart the menu.
 

mrapplegate

macrumors 68030
Feb 26, 2011
2,818
8
Cincinnati, OH
When I was using snow leopard, I disabled spotlight by using method below:

sudo mdutil -a -i off
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

After upgraded to lion, I did following steps:

sudo mdutil -a -i on
sudo chmod 777 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

I can search stuff in finder now, but the spotlight icon does not show in the menu bar, and the keyboard shortcut for spotlight does not work. How can I solve this problem?

Thanks!

The only command you should need to turn off spotlight on all volumes is

Code:
sudo mdutil -a -i off

Like DewGuy1999 said restart the SystemUIServer
 

xineun

macrumors newbie
Original poster
Aug 4, 2011
4
0
Yes, I did too many things... I tried to restart the systemuiserver, but it does not work.

The only command you should need to turn off spotlight on all volumes is

Code:
sudo mdutil -a -i off

Like DewGuy1999 said restart the SystemUIServer
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.