[CentOS] LC_COLLATE variable?

2015-02-14 Thread Niki Kovacs

Hi,

I'm running my CentOS 7 desktop in french. LANG is set to fr_FR.UTF-8.

In GNOME 3, the menu entries are listed in alphabetical order. 
Unfortunately, entries beginning with an accented character (like 
"Éditeur de texte") appear at the bottom of the list.


I know that in order to correct this, I have to set the LC_COLLATE 
variable to fr_FR.UTF-8. What would be a sensible place to do this 
system-wide under CentOS 7?


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LC_COLLATE variable?

2015-02-15 Thread Michael Volz
Hi,

to my knowledge

echo "LC_COLLATE=fr_FR.UTF-8" >> /etc/locale.conf

is the right way to do that.

Regards,
Michael


Am 15.02.2015 um 08:43 schrieb Niki Kovacs:
> Hi,
> 
> I'm running my CentOS 7 desktop in french. LANG is set to fr_FR.UTF-8.
> 
> In GNOME 3, the menu entries are listed in alphabetical order.
> Unfortunately, entries beginning with an accented character (like
> "Éditeur de texte") appear at the bottom of the list.
> 
> I know that in order to correct this, I have to set the LC_COLLATE
> variable to fr_FR.UTF-8. What would be a sensible place to do this
> system-wide under CentOS 7?
> 
> Cheers,
> 
> Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LC_COLLATE variable?

2015-02-15 Thread Niki Kovacs

Le 15/02/2015 16:38, Michael Volz a écrit :

Hi,

to my knowledge

echo "LC_COLLATE=fr_FR.UTF-8" >> /etc/locale.conf

is the right way to do that.


Thanks! If I remember correctly, CentOS 5.x and 6.x had an 
/etc/sysconfig/i18n file for that.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LC_COLLATE variable?

2015-02-15 Thread Niki Kovacs

Le 15/02/2015 16:38, Michael Volz a écrit :

Hi,

to my knowledge

echo "LC_COLLATE=fr_FR.UTF-8" >> /etc/locale.conf

is the right way to do that.


Unfortunately that didn't work. Putting  LC_COLLATE in /etc/locale.conf 
does nothing.


Now what?

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LC_COLLATE variable?

2015-02-16 Thread Mehdi Maache

Le 16/02/2015 07:18, Niki Kovacs a écrit :

Le 15/02/2015 16:38, Michael Volz a écrit :

Hi,

to my knowledge

echo "LC_COLLATE=fr_FR.UTF-8" >> /etc/locale.conf

is the right way to do that.


Unfortunately that didn't work. Putting  LC_COLLATE in 
/etc/locale.conf does nothing.


Now what?


Hi,

I think in Centos 7, it's now localectl (systemd) is the way to do that.

Here is a link : 
http://www.freedesktop.org/software/systemd/man/localectl.html


regards,

MAACHE Mehdi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LC_COLLATE variable?

2015-02-16 Thread Michael Volz
Hi together,

Centos 7 uses localectl to manage the locales. But they are stored in
/etc/locale.conf. You can either set them manually in that file or use

localectl set-locale LANG=fr_FR.UTF-8 LC_COLLATE=fr_FR

to do that. Using localectl immediatly applies the change without the
need to restart the system. It seems that fr_FR.UTF-8 is not a valid
locale for LC_COLLATE, as indeed it is not accepted by localectl, fr_FR
is however.

Regards
Michael


Am 16.02.2015 um 11:22 schrieb Mehdi Maache:
> Le 16/02/2015 07:18, Niki Kovacs a écrit :
>> Le 15/02/2015 16:38, Michael Volz a écrit :
>>> Hi,
>>>
>>> to my knowledge
>>>
>>> echo "LC_COLLATE=fr_FR.UTF-8" >> /etc/locale.conf
>>>
>>> is the right way to do that.
>>
>> Unfortunately that didn't work. Putting  LC_COLLATE in
>> /etc/locale.conf does nothing.
>>
>> Now what?
>>
> Hi,
> 
> I think in Centos 7, it's now localectl (systemd) is the way to do that.
> 
> Here is a link :
> http://www.freedesktop.org/software/systemd/man/localectl.html
> 
> regards,
> 
> MAACHE Mehdi
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos