Skip to content

Instantly share code, notes, and snippets.

@ktilcu
Forked from hannestyden/gist:3897757
Created October 30, 2013 23:49
Show Gist options
  • Save ktilcu/7242302 to your computer and use it in GitHub Desktop.
Save ktilcu/7242302 to your computer and use it in GitHub Desktop.
# [Notification Center](http://osxdaily.com/2012/08/06/disable-notification-center-remove-menu-bar-icon-os-x/)
## Disable
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
killall NotificationCenter # optional?
## Enable
launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
# Spotlight
## Disable
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
## Enable
sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
killall SystemUIServer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment