How to completely disable Spotlight
March 22nd, 2007 - How to, Mac OS X, Tips & Tricks
We’re big fans of Spotlight here at OS X Daily, but we realize it’s not everyones cup of tea. If you’re someone who dislikes Spotlight enough to want it disabled completely then this is the guide for you. What you’ll need is some basic knowledge of the command line and a command line text editor (we’ll use nano in this example, perhaps the easiest). Note that some other Mac OS X features and programs are based on Spotlight’s search abilities, therefore some applications could behave abnormally if you disable Spotlight, particularly in search functions.
Disabling Spotlight
- Launch Terminal and type the following:
sudo nano /etc/hostconfig - Navigate using the arrow keys down the following entry:
SPOTLIGHT=-YES- - Change
SPOTLIGHT=-YES-toSPOTLIGHT=-NO- - Save /etc/hostconfig by hitting Control-O and the return key, next hit Control-X to exit the nano editor
- Next, you’ll want to disable the index by typing the following in the Terminal:
mdutil -i off / - And to erase the current Spotlight index, type:
mdutil -E / - That’s pretty much it, on your next reboot, Spotlight will be completely disabled.
Re-Enable Spotlight
- If you want to enable Spotlight again, follow the same steps as above, but change
SPOTLIGHT=-NO-toSPOTLIGHT=-YES- - and then type
mdutil -i on /in the Terminal - Reboot, and Spotlight is back as usual
Repair a Broken Spotlight
Is Spotlight broken and not working for you? Read our fix Spotlight guide here
Mac Deals from the Apple Store:
Comments:
Comments: 21
Comment from hmills
Time: March 22, 2007, 11:27 pm
why would you possibly want to turn off spotlight, the best feature in osx??
Comment from anon
Time: March 23, 2007, 5:52 am
Speaking of spotlight, I cannot wait until mdfind is more powerful.
Pingback from Mac Info » Blog Archive » Jak vypnout/zapnout Spotlight
Time: June 14, 2007, 12:09 pm
[...] Zdroj: OSXDaily [...]
Comment from Ladeda
Time: September 3, 2007, 5:26 am
You might want to turn off spotlight for a couple of reasons.
1. performance, removing spotlight overhead on a low-end system
2. privacy, making it more difficult for a script to harvest personal information
Comment from mike
Time: November 9, 2007, 11:55 am
also, quicksilver is much better
Pingback from OS X Leopard: Enable/Disable Spotlight | Technipages
Time: November 26, 2007, 9:43 pm
[...] For instructions on how to do this in Mac OS X Leopard, see How to completely disable Spotlight. [...]
Comment from Yost
Time: December 21, 2007, 9:20 am
So I’ve gone through with this and for some reason spotlight just won’t go away. I’ve done it for the root drive and also my two external partitions, just modifying the / on the end to a /volumes/etc. It is still in my menu bar and when I accidentally click on it mds kicks in and starts taking up 80-90% of my cpu power. After I kill mds it’s all fine, but it’s bothersome to think that I didn’t actually get rid of it. My /etc/hostconfig reads NO for spotlight upon opening. Any suggestions?
Pingback from Leopard langsam? Spotlight kann schuld sein | macophilia
Time: January 16, 2008, 3:15 pm
[...] Angeblich soll diese Lösung unter Leopard nicht funktionieren, hier wird eine andere Lösung diskutiert. Bei mir hat sie funktioniert. [...]
Comment from indroo
Time: February 5, 2008, 10:01 pm
The easy way to disable spotlight is by setting its preference to prevent from searching on certain folder (or HD or external HD if any) on the Privacy Tab and uncheck all category on Search Result tab. It will stop indexing immediatelly.
Comment from buy phentrimine
Time: November 16, 2008, 3:16 pm
Very good topic! very interesting thanks!
Comment from viagra super active
Time: November 30, 2008, 2:24 pm
Thank you for your site. I have found here much useful information…
Comment from What Haveyou
Time: December 11, 2008, 3:12 am
“why would you possibly want to turn off spotlight, the best feature in osx??”
Because it’s a piece of shit. What is the point of a search function that doesn’t show you WHERE THINGS ARE? I don’t know where Apple gets its designers, but they have to be amongst the biggest morons in professional development. Who else would design a display of search results that doesn’t show a LOCATION with every hit?
Comment from WTF?
Time: December 12, 2008, 5:10 am
>What is the point of a search function that doesn’t show you WHERE THINGS ARE?
Ahem, when you scroll the pointer over an item, it shows you the full path. But yeah, Apple’s designers are idiots and you are the truly brilliant one. Coming from Vista I imagine?
Comment from What Ever
Time: January 14, 2009, 2:04 pm
Right, retard. It makes a lot of sense to have to click on every damned item, one at a time, to see a path. After all, who’d want to quickly scan through a list and skip hits that reside in known irrelevant locations?
Comment from Ludwig
Time: March 6, 2009, 4:53 am
I want to remove it because the shortcuts suck.
Every time I’m in other app and type space command to get to whatever option in the app I use it jumps to stupid spotlight and since I do a lot blind I notice late and have to start over.
Comment from Fourthletter
Time: April 2, 2009, 1:59 pm
Also those of us that keep our houses clean tend to know where files are, after all you save them somewhere, simply label your files correctly and put them in organised folders, in my twenty years of using macs or pcs I have never lost a file or needed to search for it.
Why run with all that overhead for no reason ?
So to get back to the point does adding the main system drive to spotlights privacy list free up as much performance as disabling it in terminal ?
Pingback from tuning -> 关闭spotlight « Alin’s Blog
Time: April 21, 2009, 6:00 pm
[...] How to completely disable Spotlight [...]
Comment from нeвидимкa
Time: May 31, 2009, 2:23 am
Вообще, честно говоря, комментарии тут гораздо прикольнейсамих постов. (Не в обиду автору, конечно :))
Comment from franz
Time: June 1, 2009, 7:31 am
As interface designer i am allowed to agree, Spotlight totally sucks for some people.
Normally we replicate a lot off apple standards, because they are simple and work.
But with spotlight, i really don’t get the idea, its radically boiled down to a simplicity which is for me totally useless.
Comment from Training for a Mini Triathlon
Time: June 20, 2009, 3:43 pm
I don’t really know why in the world you would want to disable Spotlight, but thanks for the tips.
Pingback from hubionmac.com » Spotlight deaktivieren
Time: June 24, 2009, 4:30 pm
[...] Gerade wenn man eine Festplatte anschließt, auf der Daten unabsichtlich gelöscht wurden und man nun versuchen möchte auf diese Platte eine Datenrettung durchzuführen, startet Spotlight beflissen einen Index-Vorgangang und überschreibt vielleicht dadurch gleich einige der gelöschten Daten: Deshalb diese Anleitung, um Spotlight zu deaktivieren (eigentlich von hier): [...]
Social bookmarks:
- | del.icio.us | Digg it | Furl | Netscape | reddit | StumbleUpon | Yahoo MyWeb |
March 22nd, 2007


Write a comment