How to sort files order by "type" for all directories?

I'm asking about sorting my files ordered by "type" for all directories ?

I could sort it for one directory but I couldn't find any solutions for my req (if possible) .

2

1 Answer

You could change Nautilus preferences: Nautilus menu > Preferences > View (tab) and set Arrange items: By Type.

enter image description here


Or you can use dconf-editor. First install it:

sudo apt install dconf-editor

Then launch the application dconf-editor and go to org > gnome > nautilus > preferences and change the Default sort order.

enter image description here


Another way is to use gsettings to set this value:

gsettings set org.gnome.nautilus.preferences default-sort-order 'type'

References:

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

You Might Also Like