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 : info at microlinux.fr T?l. : 04 66 63 10 32
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
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 : info at microlinux.fr T?l. : 04 66 63 10 32
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 : info at microlinux.fr T?l. : 04 66 63 10 32