You are not logged in.

#1 2018-07-27 12:01:05

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

[SOLVED!] gtk file chooser sorting method

Hi, i don't really like how gtk file dialogs sorts files by name.
It presents me the (example) following:
AUPPERCASE
BUPPERCASE
alowercase
blowercase
.hidden file

Is there a way to make like the following?
AUPPERCASE
alowercase
BUPPERCASE
blowercase
.hiddenfile

I was only able to find how to make directories to show first.

Thanks.

Last edited by kokoko3k (2018-07-27 12:36:07)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2018-07-27 12:10:43

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [SOLVED!] gtk file chooser sorting method

Could be this https://wiki.archlinux.org/index.php/Lo … _collation
But I have no clue to what it should be set to achieve what you want to achieve

Offline

#3 2018-07-27 12:35:52

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: [SOLVED!] gtk file chooser sorting method

Great setting LC_COLLATE="it_IT.UTF-8" did the trick at least for an case insensitive sort.
Thanks!

-EDIT-
For a reason i can't remember i explicitely had LC_COLLATE=C in my /etc/environment

Last edited by kokoko3k (2018-07-27 12:39:16)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2018-07-27 13:06:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,843

Re: [SOLVED!] gtk file chooser sorting method

https://wiki.archlinux.org/index.php/Lo … _collation
https://superuser.com/questions/448291/ … rst#448294

There're other unexpected effects with UTF-8 collation (notably in bash scripts etc)

Offline

Board footer

Powered by FluxBB