You are not logged in.

#1 2024-09-15 07:14:24

saleem
Member
Registered: 2011-09-21
Posts: 168

[SOLVED] Error? Warning message on terminal

Every time I open terminator I get two warning/error lines on top

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

As far as I know I have set locale of my system properly then why these two lines on terminal output ?

Last edited by saleem (2024-09-15 09:23:02)

Offline

#2 2024-09-15 08:18:44

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] Error? Warning message on terminal

localectl
locale -a
locale

The global/session locale might be bogus and only fixed by the shell rc later on.
There's KDE specific https://wiki.archlinux.org/title/KDE#Pl … e_settings

Offline

#3 2024-09-15 08:56:45

saleem
Member
Registered: 2011-09-21
Posts: 168

Re: [SOLVED] Error? Warning message on terminal

seth wrote:
localectl
locale -a
locale

The global/session locale might be bogus and only fixed by the shell rc later on.
There's KDE specific https://wiki.archlinux.org/title/KDE#Pl … e_settings

Thank you @seth , I am posting out put of all three commands , and I do see a weird thing , which I did not set myself at least

$ localectl
System Locale: LANG=en_US.UTF-8
    VC Keymap: us
   X11 Layout: us
    X11 Model: pc105+inet
  X11 Options: terminate:ctrl_alt_bksp
 $ locale -a
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
C.utf8
POSIX
en_US.utf8
$ locale
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=en_IN
LC_CTYPE=C.UTF-8
LC_NUMERIC="en_IN"
LC_TIME="en_IN"
LC_COLLATE="en_IN"
LC_MONETARY="en_IN"
LC_MESSAGES="en_IN"
LC_PAPER="en_IN"
LC_NAME="en_IN"
LC_ADDRESS="en_IN"
LC_TELEPHONE="en_IN"
LC_MEASUREMENT="en_IN"
LC_IDENTIFICATION="en_IN"
LC_ALL=

I don`t know why the last comment shows LANG=en_IN because I did not set it to Indian English but rather US

Offline

#4 2024-09-15 09:22:29

saleem
Member
Registered: 2011-09-21
Posts: 168

Re: [SOLVED] Error? Warning message on terminal

Ah! so the culprit is plasma, I just checked and found that ~/.config/plasma-localerc file has

[Formats]
LANG=en_IN

set in it , changing it to

[Formats]
LANG=en_US.UTF-8

[Translations]
LANGUAGE=en_US

as per wiki page you mentioned . Thanks for helping me to identify the issue.

Last edited by saleem (2024-09-15 09:25:46)

Offline

Board footer

Powered by FluxBB