How to Make Ubuntu Files Always Open Folders in List View by Default

Switching a folder in Ubuntu’s Files app (Nautilus) to neat compact List View so you can scan file sizes and modified dates cleanly — only to click into another folder and see giant thumbnail grids jump right back — is a classic minor desktop frustration. Ubuntu tracks a global default view alongside per-folder layout overrides, so changing both once ensures every directory opens consistently the way you expect.

1. Toggle List View Directly Inside Ubuntu Files

In Ubuntu 22.04 and 24.04 (GNOME Files), clicking the view switcher inside the toolbar normally updates the global default view preference straight away for folders you have not manually customised yet:

  1. Open the Files app from the Ubuntu Dock.
  2. Look at the top toolbar directly right of the folder path bar for the View toggle icon (either four tiny squares for Icon Grid or horizontal lines for List View).
  3. Click the icon so it displays horizontal lines (List View), or press Ctrl + 1 on your keyboard at any time (Ctrl + 2 switches back to Icon Grid).

While in Files, open the three-line Menu icon (top toolbar) > Preferences to also turn on helpful global details like keeping folders grouped at the top above files and showing item counts or file details.

2. Lock List View Globally Using One Terminal Command

If certain folders stubbornly snap back to big icon grids despite toggling the toolbar button, set Nautilus’s master configuration key explicitly in Terminal so Ubuntu uses List View everywhere:

  1. Open Terminal (press Ctrl + Alt + T).
  2. Set the global default folder viewer to List View:
    gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
  3. Verify the setting stuck:
    gsettings get org.gnome.nautilus.preferences default-folder-viewer
    (It should reply 'list-view'.)

3. Clear Remembered Grid Views on Folders You Opened Previously

Even after changing the global setting, GNOME Files remembers individual folders where you previously clicked Icon Grid (such as Downloads or Pictures) using hidden GVFS file metadata. To wipe those old per-folder exceptions so every existing folder obeys your new List View default immediately, run:

nautilus -q && gio set ~/Downloads metadata::nautilus-view-as ''

Or replace ~/Downloads with any folder name still popping back to icons (such as ~/Pictures or ~/Documents). Reopen Files afterwards and every folder opens crisply in compact List View.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.