16

I am using Mountain Lion.

The only advantage (for me) over the gesture is that Option + clicking the button enables/disables showing alerts and banners (toggles the switch in the notifications center).

Is there a way to hide the button in the status bar that opens notification center?

Pro Backup
  • 3,916
penguinrob
  • 3,342
  • See also: http://apple.stackexchange.com/questions/57377/spotlight-in-upper-right-screen-corner-in-mountain-lion – Daniel Jul 25 '12 at 20:50
  • I hope an answer to your question will solve my problem also, but I'm not hopeful it's out there. To clarify, you want to disable the button without disabling Notification Center entirely, correct? – Daniel Jul 25 '12 at 20:51
  • @DanielLawson correct, the button seems rather superfluous with such a nice gesture to open it. – penguinrob Jul 25 '12 at 22:13
  • What do I do with the bounty? There's no answer that actually answers this... but for some reason there's some upvoted above the 2 votes limit, so they'll get the bounty even though it doesn't answer the question. – houbysoft Aug 03 '12 at 04:47
  • @houbysoft I'm not sure; there isn't a way to extend a bounty, is there?If someone were to figure out how bartender hides the icon, and out that into a simple little script, that would be ideal. – penguinrob Aug 03 '12 at 21:09
  • you could just make the icon invisible by removing the image file. mv /System/Library/CoreServices/NotificationCenter.app/Contents/Resources/menuitemNormal.tiff /System/Library/CoreServices/NotificationCenter.app/Contents/Resources/menuitemNormal.tiff.back – william malo Jan 13 '13 at 22:30

3 Answers3

6

I had the same problem yesterday, and found this tool called Bartender. It is paid software.

On my Mac, running Mountain Lion, the icon is gone but the other notification functionality remains.

grg
  • 201,078
Jan
  • 69
  • 1
  • 1
    Just tried this myself, and I could only get it to hide all system menubar items except the Notification Center icon (Spotlight, Clock, WiFi, etc). – rickster Jul 26 '12 at 23:11
  • @rickster I only see the icon for a second when I reboot. as soon as macbartender runs its gone. Go through the config again and maybe post some info of your setup. – Jan Jul 27 '12 at 10:29
  • I couldn't get it to remove Notification Center either. I definitely couldn't get it to leave Spotlight and hide Notification Center, which is what I wanted. – Daniel Jul 29 '12 at 12:46
  • 1
    To update this, Bartender has reached v1.x status and is no longer beta. It's $15 and works with all the system icons as advertised. I just now — well, 5 minutes ago — installed it and used it to hide my Notification Center, Bluetooth, and WiFi system icons. (Notification Center hidden completely, and BT/WiFi moved into the "Bartender Bar".) – Bryson Oct 25 '12 at 21:57
  • 1
    I can confirm the trial of Bartender is working, but I'm not willing to pay that much just to remove one icon :) still looking for a free / better solution. – FLY Nov 08 '12 at 12:22
3

Sadly we can't remove the icon yet without disabling Notification Center entirely.

Should you want to proceed, this procedure requires a short disclaimer.

Warning:
This involves hacking your System folder; make appropriate backups and proceed with caution!

Go to /System/Library/CoreServices and select Notification Center.app. Press I to Get Info. Click the Lock icon at the bottom of the screen to unlock the settings (you will be prompted for your password). In the Sharing and Permissions portion of the pane, click the plus sign. Add your account as a special user, then set the Privilege column to Read & Write for yourself. Then, in the Name and Extension field, add the letter x to the beginning of the file name, dismissing any warnings the system throws your way.

Reboot the system.

If you don't want to reboot you can use Terminal.app, which can be found under /Applications/Utilities/Terminal.app. Type killall NotificationCenter and press enter. This terminates the NotificationCenter process.

Note that this eliminates the icon, but also all Notification Center functionality.

bmike
  • 235,889
Daniel
  • 34,803
  • 2
    I'd still like notification center, just without the button, but thanks for your research into this! – penguinrob Jul 25 '12 at 22:14
  • Following your instructions, you will get an error that you can't trash an open program file. Did you perhaps reboot and then trash the file? – bmike Jul 26 '12 at 15:29
  • @bmike: did you try my solution??? – Matt Jul 26 '12 at 15:31
  • @matt - You can't drag the icon out of the bar and no-one has described a full way to even delete the running app. I'm sure there is a launchctl command to unload the Notification Center job so that it can be deleted, but again that kills the service - not simply the UI icon. – bmike Jul 26 '12 at 15:35
  • I had no problem renaming a running app. I got a warning, but it allowed me to do it. – Daniel Jul 26 '12 at 15:35
  • It's not the renaming - it's the trashing that you can't do while it runs. I presume renaming or moving it and then rebooting would then let you trash it (if you wanted to really delete it and simply not let launchd find it to launch on the reboot) – bmike Jul 26 '12 at 15:43
  • @bmike: also, to delete the running app, all you have to do is type killall Notifcation\ Center ; rm -d /System/Library/Core\ Services/Notification\ Center.app in Terminal. – Matt Jul 26 '12 at 16:10
  • 1
    @matt - it's always better to edit a close answer - but have at a new answer if you have something short, tested and that works ;-) (And by works - doesn't actually disable the function). Perhaps we have answers for a different question - how to delete all notifications and most of this should move there... – bmike Jul 26 '12 at 16:15
  • @bmike: Would you be able to test it for me? My ML computer is about 4000 miles away at the moment :P – Matt Jul 26 '12 at 16:17
  • Thanks for looking into this but downvoting because it answers quite a different question entirely. I too would like to get rid of the icon but not the process. – kLy Jul 27 '12 at 16:27
-5

Holding the Command key then click and drag-off-the-menu-bar totally worked! This is so great. (I wanted to remove my User Login Name from displaying up there. I know who I am, and I never ever switch users...wasted space.) I can also confirm that this idea works for all those system icons up there.

bmike
  • 235,889
Karen
  • 1
  • 4
    Are you sure? I cannot remove the Notification Center menu-bar icon. – gentmatt Jul 26 '12 at 14:47
  • 3
    This does not work. Neither the Spotlight icon nor the Notifications center icon can be removed with the mouse and any combination of modifier keys. Perhaps @karen misunderstood the icon name? – bmike Jul 26 '12 at 15:16