gtk 3.14 file chooser: folders first

7

3

I just upgraded from fedora20 to fedora21 and now the gtk file picker sorts files and folders together. I much prefer the usual and previous behaviour of displaying folders first (and I enabled that behaviour in nautilus thanks to the option there).

Is it possible to achieve that sorting also in the gtk 3.14 file chooser? If yes, how?

Emmanuel Touzery

Posted 2014-11-22T13:40:55.530

Reputation: 377

Answers

12

Ok, I found it... I had to install and run the program dconf-editor. Then go to org->gtk->settings->file-chooser, then activate the option sort-directories-first.

Emmanuel Touzery

Posted 2014-11-22T13:40:55.530

Reputation: 377

5

As of version 3.15.1 this is accessible via the context menu.

– user1686 – 2014-11-22T14:07:07.477

This answer is still current as of gnome 3.24, while the nautilus-specific preference from the other answer has been removed. – eddygeek – 2017-07-17T13:54:15.530

0

I've been looking for this option for GNOME 3.14 on debian (nautilus) and couldn't find anything, and now I've stumbled upon it while digging through dconf. So, for nautilus it's gsettings set org.gnome.nautilus.preferences sort-directories-first true or go to dconf under org -> gnome -> nautilus -> preferences and check sort-directories-first if you prefer the GUI ;)

mtosic

Posted 2014-11-22T13:40:55.530

Reputation: 1

I don't know how things were in 3.14, but nowadays, this is literally the first option in the Preferences GUI, no need for gsettings or dconf-editor. – underscore_d – 2016-10-22T00:03:00.770