gpt4 book ai didi

growl 通知 1.3 + growl 1.3.1 狮子 : error

转载 作者:行者123 更新时间:2023-12-04 17:56:04 27 4
gpt4 key购买 nike

我正在使用适用于 Lion 的 Growl 1.3.1 在 Mac OS X 10.7.2 上工作。我安装了
growl 通知 1.3 版并执行 growlnotify -a Emacs.app -m "foo"在终端。我获得:

2011-12-11 11:26:39.349 growlnotify[86152:707] <GrowlGNTPRegistrationAttempt: 0x7fa202017f00> failed because Error Domain=GCDAsyncSocketErrorDomain Code=7 "Socket closed by remote peer" UserInfo=0x7fa202202450 {NSLocalizedDescription=Socket closed by remote peer}
2011-12-11 11:26:39.351 growlnotify[86152:707] Failed to register with (null)

之后, growl 从菜单栏中消失。换句话说:它坠毁了。

有没有人经历过类似的事情?

这很可能不是 emacs 的问题,如果我选择其他应用程序,我也会得到这个。

最佳答案

我知道这个 可能不适用于 OS X 10.7.2 但我来到这个答案是为了寻找最新的 Growel 方法(目前是 Yosemite 10.10.5)并找到了 this other answer这在 Mavericks+ 中有效,正是我正在寻找的:

With Mavericks and later, you can do this using AppleScript's 'display notification':

display notification "Lorem ipsum dolor sit amet" with title "Title"

AppleScript can be run from the shell using /usr/bin/osascript:

osascript -e 'display notification "Lorem ipsum dolor sit amet" with title "Title"'


How can I trigger a Notification Center notification from an AppleScript or shell script?中还有更多详细信息

关于 growl 通知 1.3 + growl 1.3.1 狮子 : error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8463301/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com