Re: Wrong sorting order in file managers of Fedora 20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27 October 2014 13:48, M. Fioretti <mfioretti@xxxxxxxxxxx> wrote:
> On 2014-10-27 07:41, Suvayu Ali wrote:
>
>> I have a workaround that should let you finish your task for now, and
>> let you handle the issue with dolphin later.  I would suggest install
>> one of the light weight filemanagers where the sorting is like ls; my
>> recommendation: Thunar (from XFCE), or pcmanfm (from LXDE).
>>
>> Hope this helps,
>
>
> it helps as a temporary workaround, yes. I'd really, really prefer to use
> Dolphin/
> Konqueror/Gwenview for this (Konqueror would be best, actually, as I can
> split it
> in as many sub-windows as I want, and see images "inline", that is in full
> sub-window instead of opening yet one more window). But in the meantime,
> pcmanfm it is, is an improvement anyway for this part of the work.
>
> Still looking for a real patch to konqueror/dolphin, of course. Making them
> work as needed through some COLLATE/LOCALE env variables would be perfect,
> but it seems thouroughly undocumented (even the mere fact that it could
> work, or not)
>

Try this (on a copy of the files!):

for F in * ; do mv $F $(echo $F|sed -r -es'/^([0-9]{6})([0-9])/\1-\2/'
-es'/^([0-9]{4})([0-9])/\1-\2/') ; done

It'll rename 19350530-aunt-jane.jpg to 1935-05-30-aunt-jane.jpg and
194104-elvis.jpg to 1941-04-elvis.jpg, which will give them the right
sort order both in ls and sorts that compare numbers. Don't have a
Fedora to hand, but on RHEL I can't persuade nautilus to obey
LC_COLLATE despite setting the environment and trying various files
under /etc.

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux