Skip to content
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

Says "ApplePersistence=NO" for all use #267

Open
1 task done
forthrin opened this issue May 14, 2019 · 2 comments
Open
1 task done

Says "ApplePersistence=NO" for all use #267

forthrin opened this issue May 14, 2019 · 2 comments
Labels

Comments

@forthrin
Copy link

forthrin commented May 14, 2019

  • I looked in closed issues and it has not already been answered
  • macOS: 10.12.6
  • terminal-notifier: 2.0.0
  • installation: homebrew

Since recently, I'm getting an ApplePersistence=NO messages for ALL use, even just for a plain terminal-notifier -title foo -message bar from the command line.

I've used the same terminal-notifier and macOS version for a long time.

This may be very well be caused by running defaults write -g ApplePersistence -bool NO recently. But why does terminal-notifier need to complain about this? How can I get rid of the complaint?

@DougThwaites
Copy link

Hi @forthrin

I have had the same thing for same reason by disabling auto-save. To get things back to normal I ran:

defaults delete -g ApplePersistence

I assume this will undo any auto-save changes we have made but i'd rather that then having to fork and patch terminal notifier or find a replacement and even then I think it's more MacOS than terminal-notifier.

All credit goes to:

Mentalist on the Apple Stack Exchange.

@forthrin
Copy link
Author

Yep. It happens for other apps too. A (generic) workaround would be nice though, ie. a program that makes macOS not give this unnecessary complaint to the terminal. I don't know if this is so embedded to the core of macOS that it can't be patched even with a low-level C program?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants