Home > GNOME, God Damnit Linux, Tyler B > Change the default sort order in Nautilus

Change the default sort order in Nautilus

The default sort order in Nautilus has been changed to sorting alphabetically by name and the option to change this seems to be broken. For example I prefer my files to be sorted by type so I ran


and browsed to org/gnome/nautilus/preferences. From there you should be able to change the value by using the drop down:


Seems easy enough

Seems easy enough

Unfortunately the only option available is modification time. Once you change it to that you can’t even go back to name. This also appears to be a problem when trying to set the value using the command line interface like this:

dconf write /org/gnome/nautilus/preferences/default-sort-order type

I received an “error: 0-4:unknown keyword” message when I tried to run that.

Thanks to the folks over on the Ask Ubuntu forum I was finally able to get it to change by issuing this command instead:

gsettings set org.gnome.nautilus.preferences default-sort-order type

where type could be swapped out for whatever you prefer it to be ordered by.

Great Success!

Great Success!

  1. Tim
    June 13th, 2014 at 17:15 | #1

    Too complicated for the average user. I’m sure this is on the back burner, but I miss have the short-cut to the preferences menu in the Nautilus window itself. They do it in most other editors so I don’t see why adding this short-cut to the “gear” in the upper right corner would be that hard. Perhaps it is because they are using a unified editor on an environment instead making Nautilus standalone?

    This setting is still an issue in Gnome 3.10, thank you for posting this fix as I was tired of changing between list view and icon view.

  1. February 9th, 2014 at 11:17 | #1
  2. June 8th, 2014 at 09:50 | #2