道喜技术日记 .^. 天天红玉世界

Rails Ruby MacOSX 。。。创新来自于刻苦的实践和勤奋的思考... www.hhtong.com


Mac世界:在Mac上,如何删除自动启动软件或者驱动程序?

Gudao Luo2010-01-20 at 21:20发表的

2010-01-20 2209-delete-driver
  • 问题说明
    • 最近使用了一台打印机Brother 7840W MFC。在Mac上安装了该打印机的驱动程序。后来不再使用了该打印机。

      每次电脑启动就会出现该打印机的驱动程序,明显感到电脑速度慢了下来。该驱动程序就成为了名副其实的垃圾软件。

      这样,就想要把该打印机的驱动程序卸载。“上山容易下山难”。如何从我的Mac上彻底删除该驱动程序?答案请看下面。
第一步
使用上面图,从打印机列表中,删除这个Brother打印机。
或者
在目录/Users/gudao/Library/Printers(gudao是使用者名称)中,
删除这个Brother打印机的相关文件。请小心!
第二步
ps aux | grep Brother
输出结果:
...
... /Library/Printers/Brother/Utilities/Server/NETserver.app/Contents/MacOS/NETserver -psn_0
... /Library/Printers/Brother/Utilities/Server/USBserver.app/Contents/MacOS/USBserver -psn_0
... /Library/Printers/Brother/Utilities/ControlCenter/ControlCenter.app/Contents/MacOS/Contr
...
第三步
$ launchctl list
...
732 - [0x0-0x18018].com.brother.utility.NETserver
726 - [0x0-0x17017].com.brother.utility.USBserver
725 - [0x0-0x16016].ControlCenter
724 - [0x0-0x15015].com.blacktree.Quicksilver
723 - [0x0-0x14014].com.apple.iTunesHelper
722 - [0x0-0x13013].com.techSmith.jing
721 - [0x0-0x12012].com.apple.speech.synthesis.SpeechSynthesisServer
697 - [0x0-0xf00f].com.brother.LOGINserver
第四步
$ launchctl
launchd% remove .ControlCenter
launchctl remove error: No such process
launchd% remove [0x0-0x16016].ControlCenter
launchd% remove [0x0-0x18018].com.brother.utility.NETserver
launchd% remove [0x0-0x17017].com.brother.utility.USBserver
launchd% remove [0x0-0xf00f].com.brother.LOGINserver
launchd% exit
$
第五步
$ ls -al /Library/Preferences/
...
com.apple.loginitems.plist
loginwindow.plist
...
第六步
$ sudo rm /Library/Preferences/com.apple.loginitems.plist
$ sudo rm /Library/Preferences/loginwindow.plist
第七步
重新启动电脑
第八步
$ rm -rf /Library/Printers/Brother

Comments

There are 0 comments on this post. Post yours →

Post a comment

Required fields in bold.