julienXX / terminal-notifier

Send User Notifications on macOS from the command-line.
Other
6.39k stars 330 forks source link

Notifications not appearing in macOS Sonoma 14.2.1 #307

Open seanbetts opened 9 months ago

seanbetts commented 9 months ago

Please check everything that applies to your issue:

To help us debug your issue please include:

I have installed terminal-notifier using Homebrew and can't get it to display a notification in macOS Sonoma. I am running a simple test in Terminal using the following: terminal-notifier -title ProjectX -subtitle "new tag detected" -message "Finished"

However, no notification appears but the label of the terminal window updates briefly with the message.

I have checked all the right notifications are enabled in settings and also tried enabling all the Accessibility & Screen Recording settings in the privacy settings.

mattpackwood commented 9 months ago

@seanbetts I ran this on my machine and no issues.

Sonoma 14.3.1 Terminal Notifier: 2.0.0 Homebrew

This is what I see.

Screenshot 2024-02-24 at 10 12 12 AM
Rid commented 9 months ago

I'm also having the same issue with the same setup.

kupietools commented 9 months ago

I'm having the same issue in Catalina, with the binary download. Terminal notifier was working up until about a half hour ago. All of a sudden, it does nothing. Full permissions granted, used xattr to check that it's not quarantined, all proper notifications are turned on, and running /Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier -title '💰' -message 'Check your Apple stock!' does absolutely nothing except briefly change the terminal window title.

This all was working fine 30 minutes ago. I haven't changed anything, I just noticed I was suddenly no longer getting expected notifications.

EDIT: Found it. Notification center had crashed. killall NotificationCenter in Terminal fixed it. Good to know the operating system itself is silently failing and interfering with me getting important information that I need.

tebby24 commented 6 months ago

I'm having the same issue. killall NotificationCenter did not work unfortunately.

I checked logs in Console.app and didn't see anything from terminal-notifier. Everything was working fine yesterday >.<

It seems to be an issue with OBS screen capture. When I remove the screen capture device from my OBS scene the notifications come back...

diminutivesloop commented 5 months ago

I just migrated from another Mac which may have left it in a weird state. I was able to fix the issue by reinstalling which forced it to re-request notification permissions.

hardyoyo commented 1 month ago

Same issue here, with both Homebrew and the Ruby gem installed, Sonoma 14.6.1 (23G93). Possibly a notification permissions issue, will check. Yep, that was it. Something must have reset them.

lgarron commented 1 month ago

EDIT: Found it. Notification center had crashed. killall NotificationCenter in Terminal fixed it. Good to know the operating system itself is silently failing and interfering with me getting important information that I need.

Thank you for this, I just installed terminal-notifier and was scratching my head about why it worked the first time but not afterwards. killall NotificationCenter immediately restored it to working order! 🤩