How do I set the default sort order in open file dialog to "Name"?

Somehow the default sort order in open dialogues has changed to be sorted by Modified. It's changed in all programs, not just a specific one.

This forces me to reach for the mouse and click the Name column every time I open a file (maybe I'm nitpicking but this gets annoying...).

How can I set the default sort order back to Name? Nautilus sorts by name by default when I browse into folders.


Solution 1:

Run dconf-editor (I assume that you've already installed dconf-tools package),
then navigate to org->gtk->settings->file-chooser and set value of key sort-column to name
or simple click on "Set to Default" button

dconf-editor

Solution 2:

If the above dconf-editor answer doesn't work for you, try the method described in this answer. Edit ~/.config/gtk-2.0/gtkfilechooser.ini. Look for the section beginning with [Filechooser Settings] and change SortColumn=modified to SortColumn=name.