如何关闭Spotlight

丌官晔
2023-12-01

转载自:http://drawsimin.blog.163.com/blog/static/1451336820090296572522/

OS X上关闭spotlight的确可以节省很多资源 
OS X 10.5 上关闭spotlight, 用到
launchctl cd /System/Library/LaunchAgents
launchctl unload -w com.apple.Spotlight.plist

sudo launchctl unload -w com.apple.Spotlight.plist


cd /System/Library/LaunchDaemons
sudo launchctl unload -w com.apple.metadata.mds.plist

OS X 10.4 不用这个方法, 
编辑 /etc/hostconfig 将spotlight的服务关闭, 重启就可以了

 

MAC OS X Leopard 索引停用(spotlight)方法!!!
 Mac OS X 10.5带的搜索Spotlight虽然很不错,但是我不怎么使用搜索功能,而且硬 盘老是吱吱的叫,挺烦人的!也占硬盘空间,所以就把Spotlight关闭了,以下是操作说明:

1、打开“终端”工具,执行以下命令,以停止和停用Spotlight程序本身:

cd /System/Library/LaunchAgents
launchctl unload com.apple.Spotlight.plist
sudo launchctl unload -w com.apple.Spotlight.plist

注意:执行以上名利时可能会出现错误提示,不用管它,因为sudo的时候是停止root帐号的Spotlight,而root根本没有登录,所以才会有错误提示。

2、停止和停用Spotlight 后台服务器:

cd /System/LibraryLaunchDaemons
sudo launchctl unload -w com.apple.metadata.mds.plist

3 重新开启方法:

cd /System/Library/LaunchAgents
launchctl load com.apple.Spotlight.plist
sudo launchctl load -w com.apple.Spotlight.plist

2、重新启用Spotlight 后台服务器:
cd /System/LibraryLaunchDaemons
sudo launchctl load -w com.apple.metadata.mds.plist

 类似资料: