Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
rm .DS_Store in Terminal command didn't work for me. So, right click on desktop and check "Sort by: NONE" which worked. The annoying config is "snap to grid".
 
If you want to sort this out using Terminal then do this:

Once Terminal is open type:

Code:
$ cd Desktop
(without the $ obviously)

then

Code:
$ ls -a -F

If your desktop files show up then you're in the right place. This is also a good time to check that the .DS_Store file is there also.

Then

Code:
$ rm -i .DS_Store

When you're prompted hit 'y'

Close Terminal, logout then log back in. OS X will rebuild the .DS_Store file and hopefully if that is the issue then the icons should stop moving about.

Hi :) I have a question. I followed your instructions, I am not promted? to hit y. I am asked if I want to delete .DS_Store? I press y but nothing happening. Whats wrong? Thanks :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.