Created
January 5, 2014 17:20
-
-
Save sverweij/8270995 to your computer and use it in GitHub Desktop.
Permanently kill MacOSX notification center
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# this one actually works great | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist | |
killall NotificationCenter | |
# An alternative method, requiring root permission: | |
# http://www.maclife.com/article/howtos/how_disable_notification_center_mountain_lion | |
# requiring root permission: | |
# | |
# sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool false | |
# killall NotificationCenter | |
# switching it on again is the reverse, of course ... | |
# sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment