You are not logged in.
Hello, I have a problem. Whenever I save an image, it gets sorted out of order in Dolphin for some reason. It's not doing this behavior on my other two machines so that tells me that something must be different on my main machine. Needless to say, it's driving me crazy because if there is one thing I cannot stand, it's an image that isn't listed in the correct numerical pattern.
So I end up making images in this order: 1, 2, 3, 4, 5, 6, 7, 8, 9 10
But they get listed like this instead: 1, 10, 2, 3, 4, 5, 6, etc
Is that not enraging??
How can I fix this and why is my PC different here than the other one's?
Last edited by scatherinch (2023-08-23 20:59:44)
Offline
Start by quantifying the problem - what are examples of expected and perceived order?
Are only images affected or all files (w/ such filename patterns)
Does "ls" order files wrong?
localectl
localeOffline
Okay, it isn't just images. It's everything.
Expected: Files should be listed in a way that it makes human sense (Ex: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 and so on)
I'm seeing files get listed as 1, 10, 3, 4, 5, 6, 7, 8, 9 in dolphin
ls lists files like: 10, 1, 2, 3, 4, 5, 6, 7, 8, 9
localectl System Locale: (unset)
VC Keymap: (unset)
X11 Layout: (unset)locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=Last edited by scatherinch (2023-08-23 20:39:03)
Offline
I could be wrong, but I believe this is like a database sorting problem I have had. Things that are type text would be sorted in that order because it is the correct order for text. You want the filenames absent the file extension to be sorted as if they were numerical. I'm not entirely sure if that's possible but if it is somebody here surely knows how.
Edit: It's a pain but you might try 01 instead of just 1. That would do it.
Last edited by tdtooke (2023-08-23 20:40:32)
Offline
@tdtooke My problem is that its not like this on my other computers though and I'm trying to figure out what's different. Yes, it works to list them like that, but why isn't it like this in the other machines...?
Offline
Fix your system locale, but this isn't a LC_COLLATE issue, you're looking for a dolphin setting "preferences > general > Natural sorting"
Offline
Oh...you're right. I mispelled LANG in my system locale config.
Fixed it
Offline