Can I choose to not sort directories before files on file open dialogs?
Matthew Martinez
I would prefer to not have directories sorted before files within the file open/save dialogs. I would like everything sorted by modification date regardless of file or directory.
I have done a fair amount of googleing with trial and error still without a solution.
specifics
- xubuntu 14.04
- no desktop enviornment, gui started via
startx - thunar version 1.6.3
- gtk2 version 2.24.23
- gtk3 version 3.10.8
2 Answers
I have a solution for GTK applications, and a solution for dolphin. I've never figured out how to fix this for non-GTK applications (e.g., LibreOffice).
For GTK:
- Fire up
dconf-editor. - Navigate to
org/gtk/settings/file-chooser. - De-select the box next to
sort-directories-first. - Close the dialog.
For dolphin:
- Navigate to Control / Sort by >.
- De-select "Folders first" at the bottom of the menu.
Hope this helps.
EDIT: I see someone else asked / addressed this problem here. I mention it because that thread has an easy command-line answer for the GTK+ part:
gsettings set org.gtk.Settings.FileChooser sort-directories-first true 5 In Thunar just set the option in the (edit>)preferences under view.
1