5

With Kubuntu 14.04, I have got some trouble with the locales. "Something" in KDE override my settings (I say in KDE because if I use gnome, I got no problems).

Here are my settings

$ cat /etc/default/locale 
LANG="en_US.UTF-8"
LANGUAGE="en"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"


$ cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

But I got (the problem are the "en_FR.UTF-8"):

$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_FR.UTF-8
LC_TIME=en_FR.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_FR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_FR.UTF-8
LC_NAME=en_FR.UTF-8
LC_ADDRESS=en_FR.UTF-8
LC_TELEPHONE=en_FR.UTF-8
LC_MEASUREMENT=en_FR.UTF-8
LC_IDENTIFICATION=en_FR.UTF-8
LC_ALL=

What do you think of that?

Thanks!

janou195
  • 243

2 Answers2

3

Ok I erased the content of ~/.kde/env/setlocale.sh, and it works!

Tkanks!!

janou195
  • 243
1

Maybe better workaround for this is clearing setlocale.sh and setting it as read only file with:

cd ~/.kde/env/setlocale.sh
> setlocale.sh
chmod 444 setlocale.sh

now you would be ignoring completely settings in GUI and will have working settings from:

/etc/default/locale
Lazureus
  • 111