Ubuntu – Files on Desktop keep rearranging after logging out, logging in, or after reboot/shutdown (16.04.1)

16.04iconsunity

I'm currently facing a very strange issue on Ubuntu 16.04.1. It seems that, every time I log off, log back in, shut down, or restart, the icons on my desktop rearrange by alphabetical order. Even after I move the folders, icons, and files to the places I want them to be at, and then log off, they just get arranged by alphabetical order when I log back in again.

I've tried reinstalling Unity and the Ubuntu Desktop to no avail. Either option seems to keep my Unity settings intact (like my launcher–I have it set to the bottom position). I'm not sure where to proceed from here.

The issue persists regardless of my graphics card–I switched to my Nvidia card and checked if the desktop would save its position (the way I set it to be), but it doesn't. What can I do to make Ubuntu remember my positioning of files on the Desktop?

Thank you for your hard work, everyone.

Best Answer

I fixed changing ownership (to my user) and permissions (755) to the file

.local/share/gvfs-metadata/home

The file was owned by root, probably for some bad operation like

sudo compiz --replace

That should be run without sudo permissions since compiz is a user owned process. Same issue may occur with an improper use of "gksu".

Related Question