It’s not possible to completely get rid of .DS_Store on your Mac’s desktop if you still want to be able to view hidden files in the Finder, but here’s a way to make .DS_Store a little less annoying.
First, right-click in the middle of the square below. A menu will appear. Then, choose ‘Copy Image’. (This will copy a transparent PNG file to your clipboard.)







This tutorial was adapted from superuser.com.
Sweet! Thank you! This has been bothering ever since enabling hidden files. Wish I could hide it entirely just on the Desktop, but this works!
Thanks for this. 🙂 After making the icon transparent, you can drag it to the bottom of your screen so that the text is just off screen too!
thank you for making this so easy. it’s been bugging me forever.
oh and the instructions didn’t work exactly, but I just clicked on the icon itself in the preferences menu and pasted over that.
Get rid of the label as well by changing “Name & Extension” to a single space
the .DS_Store icon will just reappear if you do this :/
Thanks for the tip! Fortunately there’s a way of “completely hiding” the file from the desktop. Once you set the icon as a transparent img just drag the file to the edge of the desktop – this will hide the “DS_Store” text to the side…
I got one even better! I don’t know about other OS, but in Yosemite, you can choose the label position (between bottom and right). After using this invisible icon, choose right side label, and drag icon to right edge somewhere. VOILA! Invisible. (^_^)
Very useful thank you very much for your help!