10

I want to hide spotlight from the menu bar

enter image description here

I never click this button.


So I followed the instructions here and used this code to change the Spotlight file in some way:

sudo perl -pi -e 's|(\x00\x00\x00\x00\x00\x00\x47\x40\x00\x00\x00\x00\x00\x00)\x42\x40(\x00\x00\x80\x3f\x00\x00\x70\x42)|$1\x00\x00$2|sg' Spotlight

It hid the menu-bar icon, but it also disabled the +space keyboard shortcut that I use a lot.

Is there a way to hide the icon in the menubar but allowing the keyboard shortcut to work?


I just saw this other question asking the same thing but for Yosemite.

The accepted answer doesn't work for me on High Sierra, and all the other answers suggest using third-party tools like Bartender which I don't want to do.

8
  • Possible duplicate of Hide notification centre button from menu bar?
    – fsb
    Nov 23, 2017 at 15:34
  • 2
    @fsb lmfao the questions are different so I don't think they're duplicates. Who knows, maybe the answers will be similar. Nov 23, 2017 at 15:41
  • This question could probably be closed and the duplicate updated with your additional requirement.
    – fsb
    Nov 23, 2017 at 15:43
  • 1
    @fsb why would I do that? This is no "additional" requirement, it's a separate question. Nov 23, 2017 at 15:45
  • 1
    Best thing I could find is an app called Bartender
    – bryan
    Feb 25, 2018 at 22:07

1 Answer 1

3

The easiest way I know to do this is with a third party app like Bartender (https://www.macbartender.com). The app is used to hide pretty much any menu bar icon, and has a lot of great features. It's kind of a "must have" for and Mac Power User.

You must log in to answer this question.

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