I hope I do not have to disable the hidden file visibility in order to disable .DS_Store from appearing on the desktop.

.DS_Store constantly gets in the way in the desktop but not in any other folder.

I have a specific strategy in mind to remove .DS_Store on the desktop only. I would like to run an automator app that scans the desktop as a watcher. As it watches changes on the desktop, I would like it to detect the addition of a .DS_Store file and once it detects it, it would automatically move it to the trash (or a folder aside from the desktop.)

I am running El Capitan (osX 10.11) on a Macbook Pro.

  • If you keep throwing away the .DS_Store file, your files/folders won't remember their arrangement. Personally, I use this method which, though manual, actually accidentally doesn't show desktop invisibles, only those in folders - apple.stackexchange.com/a/177138/85275 – Tetsujin Oct 9 '15 at 17:27
  • @Tetsujin, you may have found the answer for me there. I will test this weekend. – Greg Kerstine Oct 9 '15 at 20:24
  • @Tetsujin the link you provided works! But I modified the script to quit finder and reopen it. – Greg Kerstine Oct 15 '15 at 20:59

I use XtraFinder, and it has the option to show all hidden items except for the desktop.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .