My Desktop icons keep toggling between these two types of arrangement (image attached):
I can't really tell what triggers the toggle. It seems like the first type occurs after logging in, and then it switches to the second type when specific actions are done. I tested it by creating a new directory in the Desktop. This sometimes triggers the change, but sometimes not. Sometimes moving the newly created directory to trash seems to trigger it.
Turning on/off the Desktop icons extension does not seem to do anything.
How do I fix this?
Just to note, I am using Nemo as my default file manager.
UPDATE: This was helpful. By removing the Desktop icons extension (apparently by deleting the actual directory of the extension) and making Nemo handle the desktop icons seems to be working fine.
As already mentioned in the update to the question, the solution is to disable the Gnome Shell "desktop-icons" extension, and use the Nemo desktop instead.
Here are detailed instructions to do that:
The last
sed
line is to comment out the lineOnlyShowIn=X-Cinnamon;
in the .desktop file. Otherwise, it would only run with Cinnamon.Note that you don't need to delete the original Gnome "dektop-icons" extension, as many answers to similar questions suggest. The
gnome-extensions
command can be used instead.To review the state of all installed Gnome extensions, I also find this command useful:
Note: According to a comment here, it seems that in some cases you may need to reboot after the change for it to take effect (logging out and back in may not be enough).
I have read all the posts trying to solve this on Ubuntu 20.00. None of them apply. Right-clicking on the desktop shows a completely different menu with the desired option not there or in settings either. Nothing matched.
THEN, I tried reducing the resolution by one level. I didn't want to as I have a large screen and wanted as much on it as possible... But I did. (from 1920x1080 to 1680x1050).
Guess what... It worked! My desktop icons remain where I put them! Even when they vanish after editing a document (that is another issue) when I restart or start anew, they are back where I want them.