OSX Tips – Turn off Notification Center

Notification-Center

Does OSX’s Notification Center ever get on your nerves? You can disable it temporarily by holding down the option key and clicking on the Notification Center icon in the top right of your screen.

Or, you can turn it off using the command line:

sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool false
killall NotificationCenter

The killall NotificationCenter command saves you having to reboot.

You can turn it back on again with the following commands:

sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool true
killall NotificationCenter

If the icon does not reappear on your screen you can either launch the NotificationCenter.app application from within:

/System/Library/CoreServices/

or you can launch it from the command line:

/System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter
Share Button

OSX Tips – Disable Spotlight from the Command Line

Spotlight

If you want to disable OSX’s Spotlight in order to free up resources you can do so from the command line by disabling the daemon:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

And to turn it back on again:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Share Button