Nautilus – Make ‘Show Folders Before Files’ Option Persist

nautilus

Running Nautilus 3.10.1 on a DE-less install of Ubuntu 14.04. Running Nautilus as my regular user account, I can't even set the "show folders before files" option in Preferences – as soon as I toggle the checkbox, the checkmark disappears again. Running Nautilus as root, I can toggle the checkbox just fine but it's toggled back off when I switch between list and grid view. What's the deal with that, and how do I make that option stay enabled?

Best Answer

This worked for me on Ubuntu 16.04:

dconf write /org/gnome/nautilus/preferences/sort-directories-first true