This occurred on around the time I upgrade from Fedora 39 to 40 (within a month of release). I tried numerous possible solutions from linuxmint site. Maybe it’s a Fedora only issue.
How can I make nemo sort by Name (ie the value set in the preferences), rather than by Modifed Date (yuck)?
You could raise a bugzilla ticket aginst the nemo package and see if the maintainer can reproduce the problem.
Or you could check with the nemo maintainers if this should work and where they store your preference. Once you know where the preference should be stored you can check that that file changes when you change your preference.
Some more data:
= Nemo|Edit|Preferences|Views:
View New folders=List View
Inherit view type from parent
Arrange Items=By Name
Reverse sort
Sort folders before files
Setting the above (default-sort-order) changes the dconf datastore: $ dconf dump /org/nemo/preferences/
default-folder-viewer=‘list-view’
default-sort-order=‘name’
detect-content=true
ignore-view-metadata=true
inherit-folder-viewer=false
Checked with dump, and with: dconf watch /org/nemo/
= sorts by data modified:
Files (nemo) link on the cinnamon taskbar.
(from /home/myusername folder)
$ nemo
$ nemo .
$ nemo ~
selecting a sub folder keeps the By Modification Date order.
Also, in the file system renaming: ~/config to ~/config.real
close nemo, start nemo
Is a workaround to fix nemo default sort order of the user home folder (a new ~/config is created with: folders):
This removes all other settings stored in the ~/config path, so not a solution. Deleting the newly created ~/config and reverting the rename of .real path brings back other application settings, but sorting by modification date by default returns.