Problem with Locale Settings in Manjaro Settings Manager

I’m having trouble with Locale Settings in the Manjaro Settings Manager. That is: I see it completely empty:



However the system seems properly configured. This is the output of localectl:

System Locale: LANG=en_US.UTF-8
              LC_NUMERIC=it_IT.UTF-8
              LC_TIME=it_IT.UTF-8
              LC_MONETARY=it_IT.UTF-8
              LC_PAPER=it_IT.UTF-8
              LC_NAME=it_IT.UTF-8
              LC_ADDRESS=it_IT.UTF-8
              LC_TELEPHONE=it_IT.UTF-8
              LC_MEASUREMENT=it_IT.UTF-8
              LC_IDENTIFICATION=it_IT.UTF-8
   VC Keymap: it2
  X11 Layout: it
   X11 Model: pc105

This is the output of locale -a:

C
en_US.utf8
fr_FR.utf8
it_IT.utf8
POSIX
ru_RU.utf8

Any ideas?

Have you tried doing a:

sudo locale-gen

already?

  • If yes, please provide the contents of /etc/locale.conf
  • Si no, che cosa stai aspettando? Fallo! Please try that first!

:joy:

Done:

Generating locales...
  en_US.UTF-8... done
  fr_FR.UTF-8... done
  it_IT.UTF-8... done
  ru_RU.UTF-8... done
Generation complete.

Content of /etc/locale.conf:

LANG=en_US.UTF-8
LC_ADDRESS=it_IT.UTF-8
LC_IDENTIFICATION=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
LC_MONETARY=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
LC_NUMERIC=it_IT.UTF-8
LC_PAPER=it_IT.UTF-8
LC_TELEPHONE=it_IT.UTF-8
LC_TIME=it_IT.UTF-8

Same as before: empty options.

maybe reboot and check again :thinking:

:sob:

If also empty, what are your regional settings?

Rebooted. Nothing changed.

Same thing. KDE locale settings are also empty.

Regional settings:





Can you do me a favour and add an additional language in KDE’s language section? (:it: or :uk: will do)

(not promising anything, just trying to have KDE regenerate its own settings as manjaro-settings just takes its info from the DE).

:scream:

Done that. As you can see it even switches language correctly, however locale settings are empty as before.

1 Like

I think I discovered something. I searched the log and found these messages.
This is what happens when I try to open the Locale Settings in Manjaro Settings Manager:

05.10.2020 14:35:28:613	manjaro-settings-manager	error: failed to open '/etc/locale.gen'

This is what happens when I try to open the locale settings in KDE:

05.10.2020 14:39:35:373	systemsettings5	error: failed to open '/etc/locale.gen'

These are the permission of /etc/locale.gen/:

-rw------- 1 root root 10047 28 ago 14.05 /etc/locale.gen

It’s inaccessible to anyone except root. I think that’s the cause of the problems I’m having. Could you provide the correct permission settings?

Apparently sudo chmod 644 /etc/locale.gen solved the problem… It makes me wonder which other files got screwed up (maybe by a botched update?).

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.