Desktop icons keep rearranging whenever I refresh the desktop or boot the system.
When I arrange the icons by moving them with the mouse and refresh it, it'd be undone and rearranged by name. What's the solution?
I use Ubuntu 16.04.
I think this is a bug. How should I report it?

- 237
2 Answers
For users who would prefer a GUI (graphical) way of dealing with the OP, this may be useful to you.
Procedure: open Nautilus (Files) as root then change the file called ‘ home ‘ to be USER Read/Writable
Launch Terminal => sudo nautilus
Nautilus ( Files ) > Home > /.local > /share > /gvfs-metadata
Right click on file called " home " select “ Properties “ and change “ Permissions “
Note that the file called " home " likely was set to " root " privilege (it probably had a small lock symbol on the icon) which means that the user (you) could not alter it.
Rationale:
The problem is difficult to reproduce but it seems that Ubuntu 16.04 will lose the ability to ‘remember’ desktop icon placement locations when folders that are located on the desktop have their permissions altered. This seems to happen when the application ' Nautilus ( icon name is “Files” ) ' is simultaneously open in multiple permission states. When Nautilus (Files) is launched using the Unity launcher, the control level is that of a “ user “. When Nautilus (Files) is started from the terminal (CLI) using sudo, it is opened with all the permissions of “ root “. In addition to changing the permission of a folder located on the desktop, Ubuntu will also change the permission of the file that retains the desktop configuration information. Unfortunately this does not happen on a regular basis so it is difficult to confirm this theory.

- 71
-
1I think generally root is both the owner and group of /home. Mine, for example shows
drwxr-xr-x 7 root root 4096 Dec 15 13:52 home
. Perhaps you meant the users directory, which on my system looks likedrwxrwxr-x 65 chick chick 4096 Feb 9 16:19 /home/chick
– Charles Green Feb 10 '19 at 02:05
sudo apt-get install --reinstall ubuntu-desktop
and see if it behaves better after that? – pHeLiOn Jun 01 '16 at 04:31