-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small terminal icon in title when using -appIcon option #131
Comments
It's the intended behavior. |
Is there a way to suppress or change that little icon? It only seems to show up if I pass in -appIcon |
@julienXX Can it be suppressed? |
Unfortunately I didn't found a way to suppress it so far. You still can make yourself a custom build with a transparent icon I guess. |
Also if you make a custom build with a new icon, you have to run: |
I've replaced both Terminal.icns with transparent icon versions in both /Library/Ruby/Gems/2.0.0/gems/terminal-notifier-1.6.3/vendor/terminal-notifier/ and /Library/Ruby/Gems/2.0.0/gems/terminal-notifier-1.6.3/vendor/terminal-notifier/terminal-notifier.app/Contents/Resources/. I even changed the app icon via the Finder info-window to a pasted blank one. I then ran the command above that correctly clears the Dock's icon cache and restarted, but yet the pesky little Terminal-Icon remains in the Title field - What have I missed? |
@Max-108 you have to download the source code update and re-compile it with your new icon. |
Hope @julienXX doesn’t mind me referencing it (since I’m the author), but I’ve been using a custom-built script for this for quite a long time, with much success. You simply run it with Keep in mind, though, the icon will be set permanently on that specific binary, but if you’re changing it to embed terminal-notifer in other apps, it’s often enough. If you’re distributing it, though, don’t forget to include terminal-notifier’s license. Also, in that case there may be (sometimes it happens, others it doesn’t) a one-time warning about the binary having been changed (only the icon is changed). |
Thanks @vitorgalvao! Do you mind if I reference your script in the README? |
Don’t mind at all. Go for it. |
Thank you for the PnP solution @vitorgalvao. (I'm new, so if thanks are considered extraneous here, sorry, and feel free to delete) |
@Max-108 thanks are always welcomed :) |
FYI, I figured out a way without recompiling
|
@reubano Excellent, thanks! |
julienXX, Would it be possible to add a default notification when the binary is executed via vitorgalvao's |
For a bit more context on @mikemcduffie’s comment, see vitorgalvao/tiny-scripts#24. To be clear, @mikemcduffie, Issue is you’re not just supposed to open |
Yes, I understand that. The issue I'm trying to work around is an uninformed user opening the helper app and being confused. I know it's the regular behavior of the CLI binary. I moved the discussion here since it would require |
I think I see why @vitorgalvao and I are talking past each other. I had forgotten that Homebrew buries the app bundle so deep, it's not an issue for uninformed users. I had wanted to distribute the customized app with an Automator service in order to get a unique icon with the I still believe that user notification on app bundle launch is still desirable given the customized versions and request @julienXX consider it as an enhancement. Any way, thanks again to both of you for your efforts. |
@mikemcduffie I see your point. Perhaps the default message could be a note to the user they shouldn’t be double-clicking on it, since it should be required by other apps. |
Change the icon using customise-terminal-notifier. executed command: `customise-terminal-notifier -i ./app/images/redmine_icon_color_64.png -b com.emsk.redmine-notifier` mikaelbr/node-notifier#71 julienXX/terminal-notifier#131 https://github.com/vitorgalvao/tiny-scripts/blob/master/customise-terminal-notifier
This solved my problem : run this command in terminal after downloading :customise-terminal-notifier ** path/customise-terminal-notifier-master/customise-terminal-notifier -i path/Terminal.icns -b com.bundle.identifier |
https://www.dropbox.com/s/v3syj6a0t3631f9/Screenshot%202015-05-04%2018.32.58.png?dl=0
Not sure if it's a bug or an OS X intended behaviour
The text was updated successfully, but these errors were encountered: