6

I like Notification Center, but banners linger a bit too long before auto-dismissing.

I'm aware of the popular two-finger swipe trick to immediately dismiss a banner, but I'm looking for an automated approach. Growl, for example, let you customize how long notifications stayed on the screen, but I don't see a similar option in the Notifications preference pane.

Is it possible to adjust this, like perhaps through a hidden preference?

9

Although I never usually have any luck finding them, I used MacWorld's guide, "How to find hidden preference settings", and I was able to find the hidden preference:

defaults write com.apple.notificationcenterui bannerTime <SECONDS>

Type the above into Terminal, replacing <seconds> with the number of seconds you want the banner to last for, and press return. Then, log out and log back in to reload Notification Center.

  • What is the default value? I think there is also a command to erase this setting as well? – cwd Sep 13 '13 at 3:46
  • @cwd The default is 5 seconds. – prodigitalson Apr 6 '15 at 19:49

You must log in to answer this question.