Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Can I choose to not sort directories before files on file open dialogs?

Writer 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:

  1. Fire up dconf-editor.
  2. Navigate to org/gtk/settings/file-chooser.
  3. De-select the box next to sort-directories-first.
  4. Close the dialog.

For dolphin:

  1. Navigate to Control / Sort by >.
  2. 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy