As seen here.
In Ubuntu I mostly use the Terminal but sometimes I want to use the file user interface aka Nautilus.
The default folder view is set to Icon View and I always switch it to list view.
Ubuntu can sometimes be a pain when you want to customize things.
If you are used to the Terminal (you should!)…
$ man gsettings
It says that
gsettings is a configuration tool.
If you type:
You will also get a help page.
$ gsettings list-schemas
This will give you a list of all available configurations.
To get the settings for the folder view:
$ gsettings get org.gnome.nautilus.preferences default-folder-viewer
The result was:
To change to list view do:
$ gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'