コマンド
無効にするlaunchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist有効にする
launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plistthx to How to Completely Disable Notification Center in Mac OS X
めんどいのでエイリアスを作っておき、好きなときにON/OFFを切り替えれるようにする
エイリアスの作成echo >> ~/.profile && echo >> ~/.profile && echo '# Disable/enable notification center' >> ~/.profile && echo 'alias disableNotificationCenter="launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist && killall NotificationCenter"' >> ~/.profile && echo 'alias enableNotificationCenter="launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist && open /System/Library/CoreServices/NotificationCenter.app/"' >> ~/.profile && source ~/.profile使い方
無効にする:
disableNotificationCenter有効にする:
enableNotificationCenterthx to Disable/Enable Notification Center (MacOS X)