In this material we have collected a few tricks, thanks to which working with the Mac Notification Center (macOS) will be more convenient and productive. Perhaps even after reading this material you will use it more often.
How to enable the function «Do not disturb»?
Surely many iPhone and iPad owners use the feature «Do not disturb» in manual or automatic mode. Did you know, that the same function is present in macOS?
For, to activate it, just hold the key ⌥Option (Alt) and click on the Notification Center icon, located in the upper right corner of the menu bar. The icon will immediately fade, and opening the Notification Center, you will see an activated toggle mode «Do not disturb», which will automatically turn off the next day. No more notifications will disturb you.
How to enable the night mode feature «Night Shift»?
Toggle switch «Night Shift» (available in macOS Sierra 10.12.4 and newer) located next to the switch «Do not disturb» (in detail).
Tweaking Notification Center
To go to the deep settings of the Notification Center, just open the System Settings… → Notifications.
Here you can work with the function «Do not disturb» and configure the order and format of interaction between the Notification Center and Mac applications installed on Mac.
How to quickly open the Notification Center
If you are used to using keyboard shortcuts to enable certain functions and you are not a happy owner of a MacBook (The notification center opens with a special gesture on the trackpad) or magic trackpad, then we will tell you how to run the Notification Center using shortcuts.
Open System Preferences… → Mission Control and click on the button «Active angles». Next, select a comfortable angle, hold down any key combination on the keyboard (eg, ⇧ + ⌘) and add a menu item to it «Notification Center».
From now on, just hold down the key combination ⇧ + ⌘ and move the cursor to the selected angle, how the Notification Center will immediately open.
In most cases, the Notification Center does not open for the sake of the notifications themselves, and for widgets, which can be added there. To view the list of available widgets, just open the Notification Center and at the bottom click «Edit» (at the bottom).
All installed widgets will be displayed on the right, a button will appear below «App Store», clicking on which a virtual store window will appear with small helpers.
Search for notifications by date
Opening the tab «Notifications» in the notification center, You will be able to see the entire list of incoming events. In order not to look for this or that event for a long time, date specific, just use the numbers on the keyboard.
For example, pressing the number 2, you highlight all notifications, who came two days ago.
We delay pop-up notifications
If you have configured to display some notifications in the format of banners, then surely more than once caught themselves thinking, that they are already hiding very quickly. You can change the banner display time, using the services of the Terminal.
To make banner display time, eg, 15 seconds, enter the following command:
defaults write com.apple.notificationcenterui bannerTime 15
In the same way, you can individually change the number of seconds.
To restore the default settings, enter the following commands:
defaults delete com.apple.notificationcenterui bannerTime
Create your own notifications
Pop-up banners of the Notification Center are pumped cool with the help of a special utility, loaded into the macOS system by the following command activated in the Terminal:
sudo gem install terminal-notifier
After its installation, you will be available a whole list of commands for programming, list of which can be viewed on the project page.