There are a few preference settings which control what you see in Caja.


First, be sure to choose your preferred mode for

 * Sort folders before files (remove check if you want them intermingled.

Second, choose default list view

 * By Name will give you what you want (numbers before letters)

Also, people need to watch where they click on a window (avoid column headers) in order to change the "focus".  Otherwise, you could inadvertently change to sort by type, or date, or any other heading other than the one you expect.

One thing to watch (with Caja) is that the numeric sort appears to be "slanted", in that Caja appears to parse out all the leading digits (/and keep in mind that leading zeros are ignored in this equation/), and sort those separately from the remainder of the filename's string which, in my view, is bizarre in the extreme!  As a consequence, you get repeated sequential groupings of 1-digit, 2-digit, 3-digit, etc. leading-numerics sorted numerically from 1-9, followed by another grouping sorted from 1-9, etc.!!!  I never encountered such bizzareness until Caja, and that applies to both Icon and List views.

Also, the "." in the filename string, not counting the "." which is considered part of the suffix, as well as the "-", "_", appear to be placed between "0" and "1" in the digit precedence list, as per this list

    1946010-OCT
    1946-10-OCT
    1946.10-OCT
    1946_10-OCT
    1946110-OCT
    1946210-OCT


Eric


On 2025-06-29 14:41, Nash JC - NCF via linux wrote:

My wife was working on family history photos and complained her files went missing. She was happy working in Double Commander (CD), which had the files showing, but when she tried Caja or Thunar to get icons so she could see thumbnails, they "disappeared".
Actually they were at the bottom of the list.

Notes: 1) Caja won't open my JNJpgCom.py program properly. DC and Thunar do.
       2) DC, we just discovered, has a View/Thumbnails. Good!

I ran a bunch of file managers. Here's the results,

File manager presentation of files by name sorting

yyyymmdd files seem to be at end in many file managers

mc -- CLI -- correct order
Double Commander -- correct
Caja -- wrong order
Thunar -- wrong order
Nautilus -- wrong order
dolphin -- wrong order
konqueror -- wrong order
krusader -- correct
nemo -- wrong order
pcmanfm -- wrong order, did not close properly
nnn -- CLI -- wrong order

Looks like some common code to sort files by name is misbehaving. I'll follow this with the bug report
text which shows the types of filenames giving trouble.

Cheers,

John Nash

Steps to reproduce

Family photos have several hundred jpeg files of which the following are present in directory Fons
19460904PeterFrohnwedding01.jpg
19460904PeterFrohnwedding02.jpg
19460904PeterFrohnwedding03.jpg
19460904PeterFrohnwedding04.jpg
19460926AlphonseFrohnmarriesReneev.Seters01.jpg
19460926AlphonseFrohnmarriesReneev.Seters02.jpg
19460926AlphonseFrohnmarriesReneev.Seters03.jpg
19460926AlphonseFrohnmarriesReneev.Seters.jpg

Open Thunar. NONE of these show up in either icon or list view except AFTER files starting 2021*
(depends on what other files are present I believe)

Searching for 194609* shows all of them.

To unsubscribe send a blank message to [email protected]
To get help send a blank message to [email protected]
To visit the archives: https://lists.linux-ottawa.org

Reply via email to