Created attachment 5124 Screenshot showing incorrect case-sensitive sorting In previous versions of Thunar, I was able to set MiscCaseSensitive = True in ~/.config/Thunar/thunarrc. In a recent version, case sensitive filenames stopped functioning. I have also tried using xfconf-query as described here: http://docs.xfce.org/xfce/thunar/hidden-settings $ xfconf-query -c thunar -p /misc-case-sensitive -r $ xfconf-query -c thunar -p /misc-case-sensitive Property "/misc-case-sensitive" does not exist on channel "thunar". $ xfconf-query -c thunar -p /misc-case-sensitive -n -t bool -s true $ xfconf-query -c thunar -p /misc-case-sensitive true
I would like to confirm this problem on an ASUS laptop running Xubuntu 13.10, Xfce 4.10 and using Thunar 1.6.3. I have tried modifying LC_COLLATE="C" in /etc/defaults/locale and set MiscCaseSensitive=TRUE in ~/.config/Thunar/thunarrc with no positive results. I am still getting: bin Desktop Documents lib when what I want is ASCII order: Desktop Documents bin lib as you would see in a normal UNIX listing under the "C" locale. Here is the output relating to Thunar: $ xfconf-query -l -c thunar /default-view /last-compact-view-zoom-level /last-details-view-column-order /last-details-view-column-widths /last-details-view-fixed-columns /last-details-view-visible-columns /last-details-view-zoom-level /last-icon-view-zoom-level /last-location-bar /last-separator-position /last-show-hidden /last-side-pane /last-sort-column /last-sort-order /last-statusbar-visible /last-view /last-window-height /last-window-maximized /last-window-width /misc-case-sensitive /misc-date-style /misc-folders-first /misc-horizontal-wheel-navigates /misc-recursive-permissions /misc-remember-geometry /misc-show-about-templates /misc-single-click /misc-single-click-timeout /misc-text-beside-icons /misc-volume-management /shortcuts-icon-emblems /shortcuts-icon-size /tree-icon-emblems /tree-icon-size It would be greatly appreciated if this bug could be addressed in some manner to allow the desired display order. Thanks.
This bug is maybe connected to "Bug 7110 - Sorting by name sometimes doesn't work correctly in the folder where some included folders have Cyrillic filenames"
LC_COLLATE="C" forces case insensitive sort, so Thunar's /misc-case-sensitive option has no effect. Since that comes from glibc I assume it is their intended behavior. A workaround is to use different locale settings (LC_COLLATE).
(In reply to Andrzej from comment #3) > > A workaround is to use different locale settings (LC_COLLATE). I have just checked that all *.UTF-8 locales also perform case insensitive sort. The solution is to use ISO-8859-1 or en_US (but not en_US.UTF-8).
Closing as "WORKSFORME".
(In reply to Harald Judt from comment #5) > Closing as "WORKSFORME". Did you change anything? Because I'm now on Thunar 1.6.7 and misc-case-sensitive still fails for me. (In reply to Andrzej from comment #4) > (In reply to Andrzej from comment #3) > > > > A workaround is to use different locale settings (LC_COLLATE). > > I have just checked that all *.UTF-8 locales also perform case insensitive > sort. The solution is to use ISO-8859-1 or en_US (but not en_US.UTF-8). Changing LC_COLLATE to a non-UTF-8 locale will confuse cross-encoding characters, including most (if not all) letters with accents, and non-Latin-1 characters. There's clearly a bug in the unicode sorting algorithm. Is that provided by XFCE libraries or a support library?
Right, doesn't work here either.
Sorry, there is nothing we can do about it unless we fork the whole I18C sorting support in glibc. Most locales in glibc enforce case-insensitive sorting (perform case folding internally) so Thunar's misc-case-sensitive option has no effect. This option is a left-over from when Thunar used to implement sorting on its own and did not support locales. I have not removed this option because it still works with some locales (e.g. en_US), which may be useful for people who liked the old behavior (no locale support + case sensitivity option).