The size of icons on the desktop seems to be be controlled by the sizes of icons in Files.
While I need to occasionally change the Files icon sizes temporarily to view picture thumbnails etc. that action also changes the desktop icons. This is often irritating.
Is there a way to lock the size of desktop icons such that any change in the Files icon size would not affect desktop icon size?
Donāt understand. What do you mean by ādisabling the desktop iconā?
My desktop is always littered with many documents folders and misc items ā all work-in-progress.
All these get bigger or smaller depending on how the icons are inside Files app.
According to OP, if you change the file icon size from 50 to a higher value through the 3 dots menu, it will affect on the desktop as well. If you change the Files > Desktop folder icon size to 50 ( default ) to 100, the icons in desktop will inflate accordingly ( and not in an aesthetic way as well ).
OP is trying to stop this inflation linked to Nautilus/ Folder icon resize.
It is possible to make sure that your desktop ( not Home > Desktop through Nautilus ) has no icons. There is a turn off option in " Tweaks " tool which you use to change themes.
I finally solved it. I can now resize the icon size in the Files without it changing the icon size on the desktop. Here is the solution:
As your normal user run this command:
dconf read /org/gnome/nautilus/icon-view/default-zoom-level
Take note of the output, for me it is:
āsmallā
Use root user for the rest of the steps below:
Ensure that this file:
/etc/dconf/profile/user
contains at least these 2 lines(it may have others after these 2 lines, leave them there):
user-db:user
system-db:local
Create this file:
/etc/dconf/db/local.d/01-icon-view
with these contents:
[org/gnome/nautilus/icon-view]
# After the = sign use the output from the cmd in step 1 for me it was 'small'
default-zoom-level='small'
Create this file:
/etc/dconf/db/local.d/locks/00-default-zoom-level
with this content:
/org/gnome/nautilus/icon-view/default-zoom-level
Run this command:
dconf update
Log your normal user off GNOME.
Log back in again as normal user.
Use Files and change the icon size by clicking the hamburger icon and then clicking the - and + next to the percentage. The icon sizes will now change in Files but stay a fixed size on the Desktop.