18

I would like to remove the Notification Center icon like I could in Yosemite.

I'd like to not see it in the menu bar (to the right of the spotlight icon).

bmike
  • 235,889
jen nemo
  • 209
  • 6
    How did you do it in Yosemite? What happens when you try that method now? It might be helpful if you post some screen shots and elaborate more. – Caleb Kleveter Oct 23 '15 at 15:19
  • 1
    Seems pretty obvious the OP wants to modify the icons in their Mac menu bar, no? @CalebKleveter – bmike Oct 23 '15 at 17:09
  • 1
    @bmike, it wasn't obvious until I read your comment. Thanks for the explanation. – Caleb Kleveter Oct 23 '15 at 17:18
  • 1
    In yosemite the command: launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist removed the icon. In El Capitan the above command simply disables the icon from working but leave it in the menu. @CalebKleveter – jen nemo Oct 24 '15 at 19:33

2 Answers2

5

So you can easily disable it with

launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist; killall NotificationCenter

You can remove the icon with

sudo rm /System/Library/CoreServices/SystemUIServer.app/Contents/Resources/menuitemNormal.pdf 

but the blank space will remain. There is an app called Bartender I've seen a few people promoting to fix this issue.

klanomath
  • 66,391
  • 9
  • 130
  • 201
walshie4
  • 151
4

To follow on @walshie4's answer above: The second command will not execute with El Capitan due to System Integrity Protection.

You must first boot into recovery mode, start a terminal and execute the following:

csrutil disable; reboot

Also note that after deleting the menuItemNormal.pdf file, the area is still a blank clickable space.