Hide All Desktop Icons in Mac OS X

Sep 23, 2009 - 34 Comments

Desktop icon clutter really gets to me, but it’s hard to avoid since a lot of apps download things to the Desktop by default. It’s easy to hide the Mac hard drive icons, but what about all the other stuff that gets dumped to your desktop? Well that’s easy to hide too actually, following these instructions:

Clean up the Desktop by Hiding Desktop Icons

Launch Terminal and type the following:
defaults write com.apple.finder CreateDesktop -bool false

After hitting enter, you’ll want to kill the Finder so that it relaunches and the changes take effect:
killall Finder

All of the files will still exist, but they’re now discretely hidden in your home folder’s “Desktop” directory rather than cluttering up your actual desktop.

To show the Desktop icons again, open the Mac Terminal and type the following:
defaults write com.apple.finder CreateDesktop -bool true

Again, kill the Finder and your icons will show on the desktop as usual.

Related articles:

Posted by: Bill Ellis in Customize, How to, Mac OS X, Tips & Tricks

34 Comments

» Comments RSS Feed

  1. Ronnie G. says:

    The other day I installed a new application called Berokyo and now I have no icons in my desktop and everything is organized in a beautiful virtual multi-shelf cabinet. The application is a Staff Pick at apple.com.

    http://www.apple.com/downloads/macosx/productivity_tools/berokyo.html

  2. Gary Hoover says:

    Or use the excellent freeware app Camouflage.

    http://www.briksoftware.com/products/camouflage/

    Works beautifully and you can define a key combination to toggle it on and off.

    • Philippe says:

      Problem is that in Lion, hiding desktop icons also hide wallpaper in spaces to the one in space #1.

      • Pax says:

        I’m still using 10.6, and I have automatic changing wallpapers. Do you know a freeware that could handle the job?

  3. [...] This post was Twitted by AppleTwitts [...]

  4. [...] I was looking into hiding the desktop icons on my Mac, I came across this interesting post at osxdaily.com. Rather than try the solution proposed, I checked out one of the apps recommended [...]

  5. Maybe I’m just an old-school unix guy, but I don’t understand while everybody is mentioning all these memory grabby apps when this command line solution is simple, elegant and most importantly, doesn’t need to be loaded into memory everytime for it to work!! Great Post!!

  6. B says:

    I first ran the false line and then the true to restore the icons; however, the Macintosh HD icon no longer appears in the “Desktop” folder even though the icon for it does appear on the Desktop. I try to drag it directly to the Desktop folder, but it does not appear there, sometimes creating an alias in an adjacent folder. I have gone to Finder>Preferences and checked and unchecked the HD boxes and relaunched Finder to no avail.

    How can I get the Macintosh HD icon to reappear in the Desktop folder in the Finder despite it reappearing on the desktop?

    Any help is appreciated. Thanks.

  7. Chuck Tomasi says:

    Thank you. When I ran the migration assistant from our old Tiger iMac to the new Snow Leopard iMac, my daughter’s desktop was not showing icons. Using the second option (-bool true) worked like a champ.

  8. [...] and dock. Of course if you’re on the other end of the spectrum and you hate icons you can hide all desktop icons in Mac OS X, but that’s not the purpose of this article. You are here for great icons, so if you too are [...]

  9. Jacques Richer says:

    I have a problem that seems to be just the opposite of yours, guys…

    I spent a lot of time organizing icon layout in various folders, over the years…
    only to have OSX destroy these organization for no good reason, once in a while.
    The last time was when I upgraded to Mac OS X 10.6.2.

    I would pay for a way to freeze icons in a given position, chosen by me of course.
    I have tried saving copies of the .DS_Store files for a few important directories; sometimes copying that back onto the .DS_Store files restores the layout. But not
    always. I just don’t understand the .DS_Store laws. Why can’t I decide where I want my icons to be? This is MY computer, not Apple’s! This unrequested shuffling of icons drives me nuts.

  10. [...] you really want to have a clean and bare desktop, you can hide all desktop icons from ever appearing via the Mac OS command [...]

  11. John-Michael says:

    I just finished making a Dashboard App to automate this a bit better for people. If this doesn’t exist yet on the Apple site I might go add it there. Otherwise I’d be willing to supply it to people.

  12. Kendall says:

    I recently got a new macbook pro and after downloading msn for mac i realized it left behind desktop icons that i really would rather not have there. I came across this webpage and maybe im just doing it wrong (?) but its not hiding anything for me and im scared to try anything else because as this is my first mac i am afraid to screw something up royally (im not very familiar with it yet).. if anyone has any ideas help would be much appreciated! Thanks in advance ~ K

    • joakim says:

      Just delete them from the desktop by dragging to Trash, they’re only aliases and not real files. You won’t lose the application, don’t worry.

  13. [...] or you just don’t like the desktop icons and the clutter they can cause, you can always hide all desktop icons in Mac OS X with a simple Terminal [...]

  14. Jerome Lyons says:

    This is the best way to hide your HD & external disks.

    http://www.rockia.com/2009/09/hide-show-your-system-disk-icon-on-snow-leopard

    If you keep your files organized you wont have to worry about hiding them.

  15. [...] not interested in downloading a third party tool that does this for you, you can also manually hide all icons from the Mac desktop by using the command line defaults tool. This will force the desktop to display no icons at all. [...]

  16. shahnawaz says:

    Great Post I easily managed to to hide all my desktop icons in one go

  17. [...] cluttering icons… I have found the following method for disabling the desktop icons from here but of course should you prefer I have also typed up the steps to disable the icons. Oh I should [...]

  18. [...] up the Desktop by Hiding Desktop Icons Launch Terminal and type the following: defaults write com.apple.finder CreateDesktop -bool [...]

  19. Thank you very much! I needed to clean the Desktop to record a screencast. I confirm that the command still works in Snow Leopard 10.6.6.

  20. [...] Again, kill the Finder and your icons will show on the desktop as usual. Clean up the Desktop by Hiding Desktop Icons via OSXDaily [...]

  21. [...]   I did find a way to take care of this problem:How to hide your Mac OS desktop iconsThis is from a post in 2009 but it still worksGo to “Applications” and find the “Utilities” folder, [...]

  22. [...] you don’t want to deal with manually hiding and showing the desktop icons, showing hidden files, accessing the user library directory, and forcibly emptying the Trash, grab [...]

  23. [...] Hide All Mac Desktop Icons Prove how minimalist you are with this little hack from OS X Daily. [...]

  24. Mikey says:

    THANK YOU

  25. Robert Huttinger says:

    [hint]Now if there were an automator service to do this without opening terminal …. [/hint]

  26. [...] so covered in files that you can barely see the wallpaper. Sometimes mine gets so full that I just hide the desktop icons so I can deal with them later, but that’s not necessarily the best [...]

  27. [...]  http://osxdaily.com/2009/09/23/hide-all-desktop-icons-in-mac-os-x/ Share this:TwitterFacebookLinkedInStumbleUponEmailPrintLike this:LikeBe the first to like this [...]

  28. [...] menubar apps are especially useful if you hide the Mac OS X desktop to reduce clutter, because they give you information and functionality that you’d otherwise [...]

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Shared on Facebook

Shop at Amazon

Ad

OSXDaily on Facebook