julienXX / terminal-notifier

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

Notifications not appearing in macOS Sonoma 14.2.1 #307

Open seanbetts opened 6 months ago

seanbetts commented 6 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 5 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 5 months ago

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

kupietools commented 5 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 3 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 1 month 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.