Other possible values are icon_view and compact_view
For Ubuntu 12.04 and similar Unity-based UI, edit /usr/share/glib-2.0/schemas/org.gnome.nautilus.gschema.xml file: find the default-folder-viewer key and replace its <default> tag value by 'list-view'
First, reset all previous folder view preferences by deleting
~/.local/share/gvfs-metadata
(source)Next, open Nautilus and select
Edit -> Preferences -> Views (tab) -> View new folders using
, and change toList View
:For everyone who likes to do things by terminal changing the settings for nautilus can be done by
If you need to find out which settings are applied to nautilus you can go
The credits for this post go to: https://scivision.co/ubuntu-setting-nautilus-default-view-to-detailed-list-view/
Other possible way of solving this is through dconf Editor, see
org.gnome.nautilus.preferences
anddefault-folder-viewer
there.This means there would be a simple one-line expression to change this, so you can include it easily to your config/setup scripts. See more on dconf.
For Gnome 2, the following should be enough:
Other possible values are
icon_view
andcompact_view
For Ubuntu 12.04 and similar Unity-based UI, edit
/usr/share/glib-2.0/schemas/org.gnome.nautilus.gschema.xml
file: find thedefault-folder-viewer
key and replace its<default>
tag value by'list-view'