I’m using Arch and recently updated to GNOME 3.12 and immediately noticed an annoying visual issue whereby the GNOME Files application (aka Nautilus) would display files interwoven with folders whereas I strongly prefer showing folders first then files. The Files app does have a preference called “Sort Folders before Files” available but it doesn’t work, enabling it doesn’t do anything and checking the preference dialog a second time shows it back to being unchecked.
To work around the issue, I ended up using the dconf-editor application to change it manually. Navigate to the org.gnome.nautilus.preferences key and set the option sort-directories-first to true.
To achieve the same effect for the Open and Save file dialogs, navigate to the key org.gtk.Settings.FileChooser and set the option sort-directories-first to true.
I had the same issue with the ‘staging’ GNOME 3.12 on Ubuntu, that fixes it thanks.
On Ubuntu 14.10 the Nautlius setting works, but File Chooser doesn’t offer this option.
Thanks a bunch!
look under org/gtk/settings/file-chooser
i can change the option there. (fedora 27, cinnamon spin if that matters)
Thx a lot for the hint, issue fixed
Worked for me too – thanks!
hi, I had exactly this problem. fixed. Thanks a lot.
Thanks, I’m going to see if this has been reported yet or not and try and get it fixed officially.
this worked for me:
Click the “Files” title on the panel, next to “Activities” then select “Preferences”.
On the first tab there is an option – “Sort folders before files”
Check the box.
[taken from here: http://ubuntuforums.org/showthread.php?t=2074040%5D
That only works for Nautilus I believe, not for file selection dialogs in other applications (for opening/saving/exporting)
For file selection dialogs set true: org.gtk.Settings.FileChooser.sort-directories-first
@zippp Thank you!
Thanks.
Thank you for the tip! You saved my day 😀
Great, thank you! So I got rid of nautilus.
Hey, thanks for this. The gtk file chooser was all jumbled on my newly adopted Manjaro and this post showed me how to fix it. 😀
Thank you
thank you for this, this was annoying me for quite some time now.
any idea on how to do the same for the “copy to” or “move to” functionality?
i have the same problem.
fixed. thank you.
Yeah that’s so good, thx a lot !
Working on debian too
Command-line:
dconf write /org/gnome/nautilus/preferences/sort-directories-first true
Thanks, works for me on MATE
Thanks! for me (F22 gnome 3.12 ) this worked ,
{code}
gsettings set org.gnome.nautilus.preferences sort-directories-first true
{code}
Excellent trick, the dconf option it is. Works like a charm
I’m on Fedora 26 w/ GNOME, no keys to “org.gnome.nautilus.preferences sort-directories-first”.
What worked for me was “org.gtk.Settings.FileChooser sort-directories-first”.