I've just upgraded from Ubuntu 18.04 to its newest LTS version - 20.04. While it comes with some interesting changes, the Desktop icon system was messed up in my opinion. When you hover the mouse cursor over the icons, you see a huge space marked around them that cannot be violated (as you can see in the image below) so that they need to be placed very far apart from each other.
18.04 allowed you to place icons much closer to each other and didn't have that marked space around them. This new way leaves much less space on the Desktop to organize large amounts of icons - including folders, files and shortcuts. Is there a way I can significantly reduce the size of icons and their "spaces" or go back to the old system of organizing files? On "Settings", there is a tool to change the size of Dock icons, but not of Desktop icons.
Also, every time I move or delete something, the Desktop "flashes" and the icons seem to rearrange themselves automatically, nothing of which happened in 18.04. I also can't move anything directly to the Desktop; I need to move to the Desktop folder on Nautilus. This makes me start to think about downgrading Ubuntu back to 18.04.
Since some previous versions of Ubuntu..
Desktop Icons are handled by
desktop-icons
gnome-shell extension.you can achieve the sizes and spacing you mentioned in Question by editing the extensions
prefs.js
file. Take backup of the file before editing.the extensions directory is
/usr/share/gnome-shell/extensions/desktop-icons@csoriano
Original Content:
Edited Content:
I Have Configured the sizes for 'small', you can achieve with other sizes 'standard' and 'large' also.
Above method requires root privileges.. If you need to make changes locally..
Disable the system extension
desktop-icons
.create the local extensions directory.
Copy the system extension
desktop-icons
to local extensions directory and rename it asdesktop-icons@csoriano-local
Edit the metadata.json file of the local extension like below contents. Observe that "local" is the main change
{ we need to edit the
metadata.json
file because extensions directory name and the UUID field in themetadata.json
file must match }Already Edited Content:
Enable the local extension with below command
Refresh the gnome-shell with Alt+F2 'r' Enter method.
Make sure you never turn on both the extensions
desktop-icons@csoriano
(System Extension) anddesktop-icons@csoriano-local
(Local Extension)For Ubuntu 21.04 you can change the size of the desktop icons by simply adjusting it via the desktop settings again.
Right click on the desktop->choose settings You can adjust the Icon size in the Dialog