I'm having a problem with Nautilus, showing an alphabetical list of files and folders. Obviously, an option to list folders first then files, is gone. I noticed listing order change after some upgrade (hard to say now, which one was that):
I was trying the solution proposed here: Nautilus: Make “Show folders before files” option persist?, with no luck. I do not notice the permission problems when starting Nautilus from the bash. Is there any magic configuration setting to change the listing for Folders First?
You can change this from the Nautilus preferences. Open the context Menu from the top-right of a Nautilus Window:
Tick 'Sort folders before files'.
If that doesn't work you can edit the Dconf file directly, the easiest way is using the Dconf Editor: Install Dconf Editor (
sudo apt install dconf-editor
), open it and then navigate to:org → gtk → settings → file-chooser → sort-directories-first and set it to True.
Alternatively, run this command in the terminal:
It is also possible to use the pre-installed
gsettings
command line utility for that:The current setting can be checked like this: