Mac OS X 下有些向启动项中添加项目的软件删除之后还是会在 Console 里烦人,Lucifr 之前为 Safari 装的一个 Glims 就是其中之一,删除之后 Console 里还是可以见到:
10/16/11 3:32:16.920 PM com.apple.launchd.peruser.501: (com.machangout.glims.agent[4910]) posix_spawn("/Library/Application Support/Glims/Agent/Glims Agent.app/Contents/MacOS/Glims Agent", ...): No such file or directory
这样以 com.apple.launchd.peruser.501 为开头的报错,非常烦人。
解决起来并不困难,在终端(Terminal)里输入 launchctl list 就可以查看完整的启动服务列表,也可以用 launchctl list | grep [关键词] 来只显示相应的项目,然后只要用 launchctl remove [服务名称] 就可以删除了。
举例说明一下:
$ launchctl list | grep glims
PID Status Label
- 1 com.machangout.glims.agent
$ launchctl remove com.machangout.glims.agent