Windows-like LC_COLLATE?

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












One of the most infuriating things that causes me much frustration when I am using Linux is the completely assinine way that files get sorted when sorting by name. This is compounded by the output of ls -l producing a different sort order than, say, Nautilus.



Is there a simple way to get Windows-like collation in Linux so I can stop beating my head against the wall?



Symbols > Numbers > Letters (modified letters such as o-umlaut just count as o)



This has been an open issue on the GNOME bug tracker for about 12 years or so now and I assume this will never be fixed properly, so perhaps there is a work around I can do?










share|improve this question

















  • 2




    Sounds like you want the C locale rather then a language/country specific one.
    – roaima
    Sep 7 at 22:40










  • I've looked into that but from what I've read, both C and POSIX locales aren't quite right. Perhaps I misread?
    – Karai17
    Sep 7 at 23:07










  • Oh ok. Out of interest which is "wrong": Nautilus or ls?
    – roaima
    Sep 7 at 23:09







  • 1




    After doing some more digging, I found that WINE has implemented this sort order for their purposes here: github.com/aidfarh/wine/blob/master/dlls/shlwapi/…
    – Karai17
    Sep 8 at 2:56






  • 1




    Also here is microsoft's definition of their own function: docs.microsoft.com/en-gb/windows/desktop/api/shlwapi/…
    – Karai17
    Sep 8 at 2:59














up vote
0
down vote

favorite
1












One of the most infuriating things that causes me much frustration when I am using Linux is the completely assinine way that files get sorted when sorting by name. This is compounded by the output of ls -l producing a different sort order than, say, Nautilus.



Is there a simple way to get Windows-like collation in Linux so I can stop beating my head against the wall?



Symbols > Numbers > Letters (modified letters such as o-umlaut just count as o)



This has been an open issue on the GNOME bug tracker for about 12 years or so now and I assume this will never be fixed properly, so perhaps there is a work around I can do?










share|improve this question

















  • 2




    Sounds like you want the C locale rather then a language/country specific one.
    – roaima
    Sep 7 at 22:40










  • I've looked into that but from what I've read, both C and POSIX locales aren't quite right. Perhaps I misread?
    – Karai17
    Sep 7 at 23:07










  • Oh ok. Out of interest which is "wrong": Nautilus or ls?
    – roaima
    Sep 7 at 23:09







  • 1




    After doing some more digging, I found that WINE has implemented this sort order for their purposes here: github.com/aidfarh/wine/blob/master/dlls/shlwapi/…
    – Karai17
    Sep 8 at 2:56






  • 1




    Also here is microsoft's definition of their own function: docs.microsoft.com/en-gb/windows/desktop/api/shlwapi/…
    – Karai17
    Sep 8 at 2:59












up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





One of the most infuriating things that causes me much frustration when I am using Linux is the completely assinine way that files get sorted when sorting by name. This is compounded by the output of ls -l producing a different sort order than, say, Nautilus.



Is there a simple way to get Windows-like collation in Linux so I can stop beating my head against the wall?



Symbols > Numbers > Letters (modified letters such as o-umlaut just count as o)



This has been an open issue on the GNOME bug tracker for about 12 years or so now and I assume this will never be fixed properly, so perhaps there is a work around I can do?










share|improve this question













One of the most infuriating things that causes me much frustration when I am using Linux is the completely assinine way that files get sorted when sorting by name. This is compounded by the output of ls -l producing a different sort order than, say, Nautilus.



Is there a simple way to get Windows-like collation in Linux so I can stop beating my head against the wall?



Symbols > Numbers > Letters (modified letters such as o-umlaut just count as o)



This has been an open issue on the GNOME bug tracker for about 12 years or so now and I assume this will never be fixed properly, so perhaps there is a work around I can do?







bash gnome windows locale






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 7 at 22:39









Karai17

1072




1072







  • 2




    Sounds like you want the C locale rather then a language/country specific one.
    – roaima
    Sep 7 at 22:40










  • I've looked into that but from what I've read, both C and POSIX locales aren't quite right. Perhaps I misread?
    – Karai17
    Sep 7 at 23:07










  • Oh ok. Out of interest which is "wrong": Nautilus or ls?
    – roaima
    Sep 7 at 23:09







  • 1




    After doing some more digging, I found that WINE has implemented this sort order for their purposes here: github.com/aidfarh/wine/blob/master/dlls/shlwapi/…
    – Karai17
    Sep 8 at 2:56






  • 1




    Also here is microsoft's definition of their own function: docs.microsoft.com/en-gb/windows/desktop/api/shlwapi/…
    – Karai17
    Sep 8 at 2:59












  • 2




    Sounds like you want the C locale rather then a language/country specific one.
    – roaima
    Sep 7 at 22:40










  • I've looked into that but from what I've read, both C and POSIX locales aren't quite right. Perhaps I misread?
    – Karai17
    Sep 7 at 23:07










  • Oh ok. Out of interest which is "wrong": Nautilus or ls?
    – roaima
    Sep 7 at 23:09







  • 1




    After doing some more digging, I found that WINE has implemented this sort order for their purposes here: github.com/aidfarh/wine/blob/master/dlls/shlwapi/…
    – Karai17
    Sep 8 at 2:56






  • 1




    Also here is microsoft's definition of their own function: docs.microsoft.com/en-gb/windows/desktop/api/shlwapi/…
    – Karai17
    Sep 8 at 2:59







2




2




Sounds like you want the C locale rather then a language/country specific one.
– roaima
Sep 7 at 22:40




Sounds like you want the C locale rather then a language/country specific one.
– roaima
Sep 7 at 22:40












I've looked into that but from what I've read, both C and POSIX locales aren't quite right. Perhaps I misread?
– Karai17
Sep 7 at 23:07




I've looked into that but from what I've read, both C and POSIX locales aren't quite right. Perhaps I misread?
– Karai17
Sep 7 at 23:07












Oh ok. Out of interest which is "wrong": Nautilus or ls?
– roaima
Sep 7 at 23:09





Oh ok. Out of interest which is "wrong": Nautilus or ls?
– roaima
Sep 7 at 23:09





1




1




After doing some more digging, I found that WINE has implemented this sort order for their purposes here: github.com/aidfarh/wine/blob/master/dlls/shlwapi/…
– Karai17
Sep 8 at 2:56




After doing some more digging, I found that WINE has implemented this sort order for their purposes here: github.com/aidfarh/wine/blob/master/dlls/shlwapi/…
– Karai17
Sep 8 at 2:56




1




1




Also here is microsoft's definition of their own function: docs.microsoft.com/en-gb/windows/desktop/api/shlwapi/…
– Karai17
Sep 8 at 2:59




Also here is microsoft's definition of their own function: docs.microsoft.com/en-gb/windows/desktop/api/shlwapi/…
– Karai17
Sep 8 at 2:59















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f467638%2fwindows-like-lc-collate%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f467638%2fwindows-like-lc-collate%23new-answer', 'question_page');

);

Post as a guest













































































Vlu69AJQ5JNhw UfjDk8u2U,4J 33,o5yXv ivuy3PqhdxLzvh05FfGnWlE53U26R7LTSntIN4NoQjUB 6LVna1,cc5UXB 3jmo,F9iI4
BQZ,SwXsH

Popular posts from this blog

How to check contact read email or not when send email to Individual?

How many registers does an x86_64 CPU actually have?

Displaying single band from multi-band raster using QGIS