PDA

View Full Version : Any way to remove Notifications Icon?




atMac
Mar 22, 2012, 09:53 PM
I dont use it so it just takes up space.

----------

I figured out a way. ^.^ never mind.



r0k
Mar 22, 2012, 10:31 PM
I dont use it so it just takes up space.

----------

I figured out a way. ^.^ never mind.

What did you do?

atMac
Mar 22, 2012, 10:35 PM
sudo chmod 600 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter

Then reboot.



Though running a permissions fix reverts it back.

Takuro
Mar 22, 2012, 11:31 PM
Here's a way to bypass the need to reboot:

killall Notificationcenter
killall Dock

Apple Script to disable Notification Center:

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:

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

Bear
Mar 23, 2012, 12:44 PM
I dont use it so it just takes up space.

----------

I figured out a way. ^.^ never mind.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.

SenseiSimple
May 1, 2012, 06:54 AM
To permanently remove the notification center,
In terminal

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

launchctl submit -l com.apple.notificationcenterui.agent -p /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter

no fuss no muss, no permissions to reset.

atMac
May 1, 2012, 08:56 PM
To permanently remove the notification center,
In terminal
sudo 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.

To get it back
sudo launchctl submit -l com.apple.notificationcenterui.agent -p /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter

no fuss no muss, no permissions to reset.

I get told there is no suck process.