Hot answers tagged

181

With Mavericks and later, you can do this using AppleScript's 'display notification': display notification "Lorem ipsum dolor sit amet" with title "Title"                            That's it—literally that simple! No 3rd-party libraries or apps required and is completely portable for use on other systems. 10.9 notification on the top, 10.10 DP in the ...


54

terminal-notifier From the README: terminal-notifier is a command-line tool to send Mac OS X User Notifications, which are available in Mac OS X 10.8. It is currently packaged as an application bundle, because NSUserNotification does not work from a ‘Foundation tool’. radar://11956694 This tool will be used by Kicker to show the status ...


39

Unfortunately, you can't change the location where Notification Center Alerts and Banners appear. This is a huge gripe of mine as well, and I highly encourage you to complain about this issue to Apple here: http://www.apple.com/feedback/macosx.html Hopefully they will one day change this. I also have not been able to find or formulate any hacks. I, too, am ...


25

You can now simply go to System Preferences > App Store, and turn off "Automatically check for updates." No messing with firewalls, and just works with App Store. So just remember to check every now and then manually to find out when you have updates!


20

I have a solution that I was able to reverse engineer. I've tested it on my machine, running Yosemite 10.10.4 (14E46). If you can find the bundle ID (in the Info.plist file for the app bundle), you can use this script to force the app to appear in the notifications preferences pane. # "Usernoted" seems to be the "user notifications daemon", so get it's PID. ...


19

Go System Preferences > Security & Privacy > Privacy [tab] Uncheck and recheck 'Weather' and it's back to normal See below img


16

I just discovered the missing solution here: http://osxdaily.com/2012/11/15/stop-software-update-mac-os-x/ You can selectively disable notifications about specific software updates you don't care about (like useless App updates) by control-clicking the update inside the App Store to reveal a hidden "Hide Update" option. This is best for those who want to ...


16

To turn off notifications: sudo defaults write com.apple.usbd NoiPadNotifications -bool YES sudo killall usbd To turn them back on: sudo defaults delete com.apple.usbd NoiPadNotifications Via Craig Hockenberry


15

You can now do this with Growl2 (available from the App Store). Install Growl and enable "OS X Notifications" (screenshot) Additionally, you'll need to install GrowlNotify for a command-line tool to send Growl notifications. You can download this tool for free on the Download page. You can now generate Growl notifications from the command line, which ...


13

You might wonder why a two finger gesture on the trackpad from the right edge to the left edge doesn't always allow you to quickly access the brand new Notification Center in Mountain Lion. Apple's instructions state: Swipe to the left from the right edge of the trackpad to visit Notification Center anywhere in OS X. Even from a full-screen app. What ...


12

Swipe with two fingers on the banner pop up and it will remove it. Not the best answer but convenient for when I need to access a control or tab. Source: http://www.cultofmac.com/189192/


11

You can create Automator service to run this Applescript and give it a keyboard shortcut in the System Preferences Keyboard shortcuts This will close Alert and banners Notification In Automator choose a new service Add a Run Applescript Action and replace it's code with: my closeNotif() on closeNotif() tell application "System Events" ...


11

The Facebook integration wasn't available when this question was asked - it was added in OS X 10.8.2 in September 2012. To activate Twitter and Facebook sharing, you must first configure at least one Twitter and / or Facebook account via System Preferences -> Mail, Contacts & Calendars -> Add Account -> Twitter (or Facebook). Once you've ...


10

There is an "include" and a "do not include" section in Notification Center. Tap "edit" at top right corner of the Notification Center. This allows you to drag apps around in the Notification Center. Hold the app you want to stop push notifications from, by the lines on the right hand side to its name, and drag it into "do not include" section. It will ...


10

You can use Terminal Notifier. Once installed run a command like this: long-running-command && terminal-notifier -message "Done" -title "Done" When long-running-command finishes you will get a notification.


9

The best solution I've found for this so far has been to ⌥+'click' the notifications menu icon in the top right and disable notifications. This resets every day though.


9

There is a configurable keyboard shortcut to open Notification Center: Other than that, there seems to be no way to configure any keyboard shortcuts. The closest I could get is discovering that you can set Notification Center as the action for a hot corner. If you wanted to do this when a key is pressed, you can try combining this with AppleScript (like ...


9

To return to the top of a long web page, just tap the Status Bar (at the top that also display the current time and battery status) instead of swiping. It works in many other apps too.


9

I have just disabled checking for updates automatically from System Preferences: I install updates manually from App Store or with sudo softwareupdate -ia. I tried adding this command to the root's crontab (and not restarting after updates): 0 14 * * * /usr/sbin/softwareupdate -ia I didn't have any issues at first, but after the 10.8.3 update, ...


9

The proper answer to this question is "No." But that's not a very satisfying answer. So if you're determined to have keyboard shortcuts for Click to Tweet in Notification Center, this is what you can do: Warning: this is a complete and utter hack, but it seems you can (for now; this might break easily) trigger the Tweet button through a very delicate use of ...


9

I can only say that this is true. Mail.app has to be open to get notifications. A workaround: Open Mail, and close it with the red dot (or command+w). So the blue point under the icon in the Dock is still there. So you have no window open but mail is still getting emails. There is no app or anything there yet to fix this "problem".


8

Apps can hook into the sharing options with the new NSSharingService API. It sounds like custom LaunchBar actions can be made with any UNIX executable file, so you could probably write a small command line tool (or you may need to build an actual app — you'll have to test it out) which activates this API (using NSSharingServiceNamePostOnTwitter), and that ...


8

The simplest way at the moment would be to install one of the github growl notifiers, either githubnotifier or gitifier, which forwards github notifications to growl and then use hiss (a separate app) to forward growl messages to the Notification Centre.


8

I found that the preferences for the notification center are located in a sqlite database in ~/Library/Application Support/NotificationCenter/ The file is named with a GUID so I'm not sure if it's the same for every account, but it was the only file in the directory and has a .db extension. I used the following sql command update app_info set flags = 134 ...


8

This is an old question, but just in case someone stumbles on it and is specifically worried about the privacy implications of Notification Center, the answer is YES, OS X does keep a log of notifications on disk. The format is an sqlite database, and it can be found inside this folder: ~/Library/Application Support/NotificationCenter Inside you'll find ...


8

There is an option to "show preview" that can be ticked off in the settings of the Messages app: Go to Settings> Notification> Messaging. Stated another way: 1) Go to Settings = Click on the GEAR icon (System Preferences) 2) The top-most section of System Preferences on My Mac is labeled "Personal" at the far right is "Notifications" (a black square with ...


8

Press the i icon in the top right of the screenshot you provided. There you can change the location for weather. Edit Did a quick search and it seems to be a bug in yosemite. Found a french website with a solution, link . it seems that the location for you weather is stored in ~/Library/Containers/com.apple.ncplugin.weather. I don't know if this is a ...


7

Open Safari › Preferences › Notifications There you can remove objects permanently.


7

I recently discovered that you can dismiss individual notifications by clicking on the app store update notification, and swiping/dragging to the right. I do it about 20x a day because I don't have the time to restart my iMac every day for software updates.



Only top voted, non community-wiki answers of a minimum length are eligible