3

I disabled and removed spotlight from my menubar to save performance and space. Now except for saving some space, I have a gap in my menu-bar I'd like to get rid of:

Screenshot of the gap

Anyone an idea how to get it away?

3
  • Have you tried restarting? Commented May 7, 2011 at 18:14
  • Log off and log back in. Commented May 7, 2011 at 18:19
  • Restarting does not help. Therefore logging off and back in does not work either.
    – nocksock
    Commented May 7, 2011 at 18:43

2 Answers 2

6

First, revert whatever you did to remove it. Then, run the following commands in Terminal.app:

$ sudo chmod 000 /System/Library/CoreServices/Search.bundle/
$ killall SystemUIServer

(The $ only represents the prompt and should not be typed.)

What I get:
Spotlight removed

To get Spotlight back, enter the following commands:

$ sudo chmod 755 /System/Library/CoreServices/Search.bundle/
$ killall SystemUIServer
1
  • You're welcome. I forgot one thing: If you "repair permissions", it'll also revert this hack.
    – Graham
    Commented May 8, 2011 at 14:34
1

Logging out and back in (or restarting your computer) will fix the problem, but you might be able to fix it simply by Cmd-dragging one of the icons next to it. Holding Cmd will let you move some of the icons around, and I've found that sometimes, moving one will re-arrange the others to fill any gaps that may have appeared.

This will also help you put them in an order that you like best.

2
  • Does not help :(
    – nocksock
    Commented May 7, 2011 at 18:44
  • @Nils What method did you use to remove the icon? If you used a "hack-y" method, you may just have removed the icon resource and not told OS X to release the space that it reserves for it.
    – Austin
    Commented May 7, 2011 at 19:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .