手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆
浏览模式: 标准 | 列表2013年10月12日的文章

如何禁用消息中心

10.8.x开始就多了一个通知中心,其实我个人感觉用处并不大,而且自从上一篇博客开始,我才发现,原来Dock假死的罪魁祸首就是通知中心。不知道什么时候我的通知中心出问题了,可能就是最新的一个补丁包的问题。

只要一点击通知中心的图标。Dock就假死。于是我要解决这个问题

有两种方法,1不推荐,还是使用2吧

1、将通知中心.app改名。只是恢复的时候, 不能叫通知中心,而是叫:NotificationCenter.app,这个APP在哪里?打开finder,输入cmd+shift+g(其实就是菜单中的跳到指定路径),输入:/System/Library/CoreServices/,你就可以看到了

2、命令:

XML/HTML代码
  1. launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist  

还是第二种安全。

参考:

1.http://www.macx.cn/thread-2058406-1-1.html

2.http://www.macx.cn/thread-2064801-1-1.html

Tags: dock, 消息中心

DOCK假死??

 最近不知道为什么,突然间dock喜欢上了假死这个状态。之前一直不知道怎么处理,因为看了下没有什么cpu占高的动作。cmd+tab也无效了。。

dock也点击不上去,于是我想,难道我杀掉dock就OK了?
于是利用spotlight打开终端(正好我finder窗口都关掉了。所以没有办法打开。而且spotlight速度更快)
输入:killall -KILL Dock
Dock自动重启。所有的不正常状态全部恢复 了。这TMD是怎么回事?因为它连cmd+tab也恢复 了,难道Dock接管了这么多的东西??
 
再看了一下,网上也有类似的问题和回复,比如:http://www.thxbye.de/mac/mac-restarting-the-mac-os-x-dock-finder-spaces-or-menubar.html
它里面也说了一些情况 ,好吧。我menubar没有死。不然我还没办法用spotlight。
XML/HTML代码
  1. Sometimes it just seems to happen, you're getting the spinning beachball on Mac OS X System Applications/Tools, like the Finder when connecting to a messed up network share. Luckily, most of the time it's easy (yet annoying) to fix via starting the Terminal and using following commands (beware, the names of the programs to kill are case sensitive!):  
  2.   
  3. The Finder crashed:  
  4. killall -KILL Finder  
  5. (you can also restart the Finder by option (=alt) + rightclicking the Finder icon in the Dock and selecting Relaunch. It doesn't always work though.)  
  6.   
  7. The Dock crashed:  
  8. killall -KILL Dock  
  9.   
  10. Spaces crashed:  
  11. killall -KILL Dock  
  12.   
  13. The Menubar crashed/refuses to be clickable:  
  14. killall -KILL SystemUIServer  
  15.   
  16. All these services should automatically restart after they have been killed. If for some reason they won't, you're probably better off just rebooting (to be sure, the "Shut Down" option from the Finder/Menu bar will probably not help, just go to the Terminal and type: sudo shutdown -r now - provide your Admin password and your machine should be restarting).  
  17.   
  18. Good luck!  
 
HOHO
 
 

Tags: dock, kill