Windows-like LC_COLLATE?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
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
 |Â
show 2 more comments
up vote
0
down vote
favorite
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
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 orls
?
â 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
 |Â
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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
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
bash gnome windows locale
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 orls
?
â 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
 |Â
show 2 more comments
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 orls
?
â 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
 |Â
show 2 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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