Any way to remove Notifications Icon?

Discussion in 'OS X Mountain Lion (10.8)' started by atMac, Mar 22, 2012.

  1. macrumors 6502

    Joined:
    Jun 20, 2011
    #1
    I dont use it so it just takes up space.

    ----------

    I figured out a way. ^.^ never mind.
     
  2. r0k
    macrumors 68040

    r0k

    Joined:
    Mar 3, 2008
    Location:
    Detroit
    #2
    What did you do?
     
  3. thread starter macrumors 6502

    Joined:
    Jun 20, 2011
    #3
    sudo chmod 600 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter

    Then reboot.



    Though running a permissions fix reverts it back.
     
  4. Takuro, Mar 22, 2012
    Last edited: Mar 22, 2012

    macrumors 6502

    Takuro

    Joined:
    Jun 15, 2009
    #4
    Here's a way to bypass the need to reboot:

    killall Notificationcenter
    killall Dock

    Apple Script to disable Notification Center:
    Code:
    tell application "Terminal"
    do script "sudo chmod 600 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter;killall NotificationCenter; killall Dock"
    end tell
    
    Apple Script to restore Notification Center:
    Code:
    tell application "Terminal"
    do script "sudo chmod 777 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter; killall Dock"
    end tell
    
    EDIT:

    I've made a precompiled version of the Apple Script. You might have to enter your root password to allow the "sudo" command to take. Download below:

    http://cl.ly/FG6C
     
  5. macrumors G3

    Joined:
    Jul 23, 2002
    Location:
    Sol III - Terra
    #5
    File a bug report with Apple saying there should be a way to disable or hide the notification icon for people who are not using it.

    Your workaround is not the best method as repair permissions kills your workaround.
     
  6. SenseiSimple, May 1, 2012
    Last edited: May 13, 2012

    macrumors newbie

    Joined:
    May 1, 2012
    #6
    My first post here!

    To permanently remove the notification center,
    In terminal
    Code:
    sudo launchctl remove com.apple.notificationcenterui.agent
    launchctl remove com.apple.notificationcenterui.agent
    This will prevent it from launching in the first place - since setting the permission to make it unavailable pollutes the syslog as the launchd process attempts to load the notification center continuously. One of these may say "No such process." this is normal. First the notification center agent may run as a system daemon, or it may run as a user service.

    To get it back
    Code:
    launchctl submit -l com.apple.notificationcenterui.agent -p /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter
    no fuss no muss, no permissions to reset.
     
  7. thread starter macrumors 6502

    Joined:
    Jun 20, 2011
    #7
    I get told there is no suck process.
     

Share This Page