terminal-notifier
terminal-notifier copied to clipboard
[INFO] macOS Big Sur 11.0 beta reports & issues
terminal-notifier: 2.0.0 macOS: Big Sur 11.0 Public Beta 6
(1)
-execute
is working fine, it seems
(2)
-appIcon
is not working, which was to be expected, because "it relies on a private method"; hope you'll get that working again in the next update
(3)
The -title
option doesn't override the bundle name anymore. Before you just added -title="Title"
, and it overrode the "terminal-notifier" title
In Big Sur you have an additional header in the notification float denoting not the process name, but the basename of the app bundle:
Maybe there is also a "private method" to change this, but if you change the basename terminal-notifier.app
for something else, it works:
So this would definitely work for nested copies of terminal-notifier, e.g. in a Platypus or Automator app, which also means that we now have four, not three lines of text to print information to the user.
If you change terminal-app's icon, that will (as before) work too. So for nested instances of terminal-notifier, or dedicated standalone instances of terminal-notifier, you can just change icons + Bundle IDs + app basenames, and you're good to go.
But it would be great to have something like an -appName
argument alongside -appIcon
to implement this for generic copies of terminal-notifier as well.
The -sound
option doesn't seem to work anymore too. It plays the same (old default) sound no matter what sound name I try to pass.
After explicitly allowing the notifications on BigSur (Click on options after each notification), the sounds works!
The
-sound
option doesn't seem to work anymore too.
I met same problem but solved it. It works fine when specified the old sound name.
e.g.
# It does not work
terminal-notifier ... -sound Breeze
# It works!!
terminal-notifier ... -sound Blow
The corresponding sound names here: https://www.youtube.com/watch?v=XqjifWtmQqQ
You can find the names for the OS sounds in /System/Library/Sounds
.
Any update with appIcon? I am on bigSur and I can not seem to get the icon to work
terminal-notifier -title ProjectX -subtitle "new tag detected" -message "Finished" -appIcon http://vjeantet.fr/images/logo.png
There seems no good alternatives icon API for big sur (searched other open source projects as well, same issue), it seems big sur can only use pre-baked assets files as the icon. So I guess -contentImage
might be the only workaround.
I am on macOS Monterey. -appIcon
don't work either.

you can just change icons + Bundle IDs + app basenames, and you're good to go.
Could you please elaborate on this? Thanks!
[EDIT] I tried changing filenames as well as the Terminal.icns file in terminal-notifier.app/Contents/Resources to no sucess; also tried changing the package.json name and run npm install but I don't think that's how you did it! [EDIT x2] Replacing "terminal-notifier" in the "Info.plist" as well as the "notification.js" file did the trick!
same as @F3n67u 😢
I am on macOS Monterey.
-appIcon
don't work either.![]()
same issue
you can just change icons + Bundle IDs + app basenames, and you're good to go.
Could you please elaborate on this? Thanks!
[EDIT] I tried changing filenames as well as the Terminal.icns file in terminal-notifier.app/Contents/Resources to no sucess; also tried changing the package.json name and run npm install but I don't think that's how you did it! [EDIT x2] Replacing "terminal-notifier" in the "Info.plist" as well as the "notification.js" file did the trick!
I installed terminal-notifier via brew so there is no .app folder to modify. Am I supposed to install it differently?
I am getting this result for the icon too (Ventura):

Experiencing the identical issue as @frakman1. I notice that by default I end up with the same icon when using the terminal-notifier. If I use the '-appIcon' argument , it doesn't work. However, I do notice the -contentImage will work with an external URL, but for internal images. I am currently using Monterey v12.5. Otherwise all other features seem to work for me. I also used homebrew to install this application as well.
Here's what I use to fix the broken app icon:
- Verify icon is broken:
echo 'Hello!' | terminal-notifier -sound default
- Open Notifications preference pane
- Remove terminal notifier from app list
- Sign app with ad-hoc signature:
codesign --sign - --force --deep /opt/homebrew/Cellar/terminal-notifier/2.0.0/terminal-notifier.app
- Verify icon is fixed:
echo 'Piped Message Data!' | terminal-notifier -sound default
- Reopen Notifications preference pane
- Allow notifications for terminal notifier
This definitely works on Monterey, but I'm not sure about Ventura.
(Note: when running the code signing command, you may need to tweak the path to your local terminal-notifier
binary.)