Macos – Remove Spotlight icon from the menu bar

macmacososx-snow-leopard

How do I remove the Spotlight icon from the Mac OS X menubar?

Spotlight icon

Note, I don't want to disable Spotlight (I use it). I just want to remove the icon.

Best Answer

OK just tested this in SL and it worked, icon was removed but spotlight was still working in Finder:

$ cd /System/Library/CoreServices/
$ sudo mv Search.bundle/ Search2.bundle/

Now restart SystemUIServer, the icon is gone, Spotlight still works. To get Spotlight icon back:

$ sudo mv Search2.bundle/ Search.bundle/

And restart SystemUIServer again...