marko-hpenvyx360convertible13ar0xxx marko]# ~/.config/plasma-localerc
bash: /root/.config/plasma-localerc: No such file or directory
That would be in your user home directory - not in /root
.
Am I doing something wrong ?
[ marko@marko-hpenvyx360convertible13ar0xxx ~]$ ~/.config/plasma-localerc
bash: /home/marko/.config/plasma-localerc: Permission denied
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=hr_HR.UTF-8
LC_CTYPE="hr_HR.UTF-8"
LC_NUMERIC="hr_HR.UTF-8"
LC_TIME="hr_HR.UTF-8"
LC_COLLATE="hr_HR.UTF-8"
LC_MONETARY="hr_HR.UTF-8"
LC_MESSAGES="hr_HR.UTF-8"
LC_PAPER="hr_HR.UTF-8"
LC_NAME="hr_HR.UTF-8"
LC_ADDRESS="hr_HR.UTF-8"
LC_TELEPHONE="hr_HR.UTF-8"
LC_MEASUREMENT="hr_HR.UTF-8"
LC_IDENTIFICATION="hr_HR.UTF-8"
LC_ALL=
Everywhere in settings I set ENG as default. Only keyboard is CRO (HR). It seems that reboot switch everything back to HR…weird
Got some new thing while taking info for other bug
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ inxi --full --verbosity=7 --filter --no-host
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LANG = "hr_HR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I tried to follow steps, but after editing everything, same error I got
You have checked that the language is enabled in /etc/locale.gen?
what is the output of the commands mentioned in the linked guide?
Before none, after my editing enabled is :
en_US.UTF-8 UTF-8
en_US ISO-8859-1
Also I have in etc/locale/locale.gen.pacnew and locale.gen (which I can not open, file type is Genesys ROM)
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: croat
X11 Layout: hr
X11 Model: pc101
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US.utf8
[marko@marko-hpenvyx360convertible13ar0xxx ~]$
The solution is exactly as described in the linked guide.
You need to enable hr_HR.UTF-8 in /etc/locale.gen
Locate the lines reading
#hne_IN UTF-8
#hr_HR.UTF-8 UTF-8
#hr_HR ISO-8859-2
#hsb_DE ISO-8859-2
Edit the file to read
#hne_IN UTF-8
hr_HR.UTF-8 UTF-8
#hr_HR ISO-8859-2
#hsb_DE ISO-8859-2
Save the file and run
sudo locale-gen
Yes, I did that…Steps which you said.
I got the same result for locale -a and localectl …
damn, I dont know why
Still have mixed ENG and CRO (HR) lang
LANG=hr_HR.UTF-8
LC_CTYPE="hr_HR.UTF-8"
LC_NUMERIC="hr_HR.UTF-8"
LC_TIME="hr_HR.UTF-8"
LC_COLLATE="hr_HR.UTF-8"
LC_MONETARY="hr_HR.UTF-8"
LC_MESSAGES="hr_HR.UTF-8"
LC_PAPER="hr_HR.UTF-8"
LC_NAME="hr_HR.UTF-8"
LC_ADDRESS="hr_HR.UTF-8"
LC_TELEPHONE="hr_HR.UTF-8"
LC_MEASUREMENT="hr_HR.UTF-8"
LC_IDENTIFICATION="hr_HR.UTF-8"
LC_ALL=
Look again - you are missing hr_HU …
There is something wrong - the locale.gen file is
$ file /etc/locale.gen
/etc/locale.gen: ASCII text
I can not find hr_HU (it is for Hungary, different language)
for hr I have only those two :
hr_HR.UTF-8 UTF-8
#hr_HR ISO-8859-2
That is the one - save the file and run
sudo locale-gen
Ok, I have that enabled.
What about those two : en_US.UTF-8 UTF-8
en_US ISO-8859-1
I need eng system and only hr keyboard
The recommended settings is UTF-8 - socomment the ISO line
Ok, I really don’t know what I am doing wrong.
I did every step as you suggested .
Enabled :
en_US.UTF-8 UTF-8
hr_HR.UTF-8 UTF-8
,generated new file and still got this :
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ sudo locale-gen
[sudo] password for marko:
Generating locales...
en_US.UTF-8... done
Generation complete.
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: croat
X11 Layout: hr
X11 Model: pc101
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US.utf8
[marko@marko-hpenvyx360convertible13ar0xxx ~]$
The locale is not generated - you need to check the file
cat /etc/locale.gen | grep 'hr_HR'
[marko@marko-hpenvyx360convertible13ar0xxx ~]$ cat /etc/locale.gen | grep 'hr_HR'
#hr_HR.UTF-8 UTF-8
#hr_HR ISO-8859-2
#hr_HR.UTF-8 UTF-8
Edit the file - line in file must read
hr_HR.UTF-8 UTF-8
Remember to save the file