I've seen this question:
How to set visible columns default for the 'Files' file manager?
and would like to ask how to do it now in Ubuntu 21.10 (Files 40.2) because the Preferences dialog no longer has the tabs that previous versions had; i.e. now that the set of columns to use as default is no longer shown as a tab in Preferences, how can we set the default?
The option to set the default view unfortunately is not anymore exposed in the user interface starting with Files 40. It can however be set directly in the dconf database via the GSettings configuration tool on a terminal.
To get the currently configured default list view columns, run
The set of all available column names can be retrieved from another setting:
Knowing available column names, you can then define your custom default list view columns. To set them to
['name', 'size', 'date_modified']
for example, run:Custom settings are remembered per folder using the gvfs-metadata system. You therefore eventually need to manually adjust any folder that you have set differently from the defaults. However, there is a way to reset gvfs-metadata:
This stops nautilus, the gvfs-metadata service, and then selected metadata that gets updated when you change the column view is deleted.
When you restart nautilus, the service will also be restarted. Now, any of the folders on your file system should adopt the default settings you defined before.
The answers here didn't work for me on Ubuntu 20.10:
However, if I added quotation marks around the options, it works:
You can set the defaults using the command line:
Check the current values, then change them using