You are not logged in.
Pages: 1
السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ
"May the peace, mercy, and blessings of Allah be upon you".
Here is what terminal yield:
manpath: can't set the locale; make sure $LC_* and $LANG are correctI am sure that I already do `locale-gen` and try reopen terminal, and see does the warning goes away or not.
/etc/locale.conf
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_COLLATE=en_US.UTF-8/etc/locale.gen
en_US.UTF-8 UTF-8
ja_JP.UTF-8 UTF-8
C.UTF-8 UTF-8localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: (unset)
X11 Layout: (unset) locale -a
C
C.utf8
en_US.utf8
ja_JP.utf8
POSIXlocale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en-US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en-US.UTF-8"
LC_TIME="en-US.UTF-8"
LC_COLLATE=en_US.UTF-8
LC_MONETARY="en-US.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="en-US.UTF-8"
LC_NAME="en-US.UTF-8"
LC_ADDRESS="en-US.UTF-8"
LC_TELEPHONE="en-US.UTF-8"
LC_MEASUREMENT="en-US.UTF-8"
LC_IDENTIFICATION="en-US.UTF-8"
LC_ALL=The additional info
`grep -r 'C.UTF-8' /etc/`
/etc/profile.d/locale.sh:# define default LANG to C.UTF-8 if not already defined
/etc/profile.d/locale.sh:LANG=${LANG:-C.UTF-8}
/etc/locale.gen.pacnew:#en_SC.UTF-8 UTF-8
/etc/locale.gen.pacnew:#es_EC.UTF-8 UTF-8
/etc/locale.gen:C.UTF-8 UTF-8side question, what is LC_CTYPE, when it used?
Last edited by rebornKidz (2026-04-06 18:16:47)
Stay true, dont forget to smile.
Offline
"en_US.UTF-8", not "en-US.UTF-8", but it's correct in your /etc/locale.conf
https://wiki.archlinux.org/title/KDE#Pl … e_settings ?
Otherwise your shell rc or ~/.profile?
https://wiki.archlinux.org/title/Environment_variables
Online
Do you mean i should use ` . I do `localectl set-locale LANG=en_US.UTF-8`, but `locale` still yield en-US.UTF-8. (no terminal reset).
مَاشَآءَاللّهُ تَبَارَكَ اللهُ, your judgement is correct sire, `env LANG=en_US.UTF-8 kitty` cleanse the error. Nonetheless, i cannot form the remedy.
While trying to inspect ~/.config/plasma-localerc, do launch `systemsettings`. I got:
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information. (I think it might be useful to note, no intent to over complicate the problem).
Here is the .config/plasma-localerc
[Formats]
LANG=en-US.UTF-8I already changed to en_US.UTF-8, respawn the terminal, but still same.
My .bashrc just contain hook to aliases and init-nvm, and I dont have any ~/.profile
Another side question, if you don't mind sire. In a good, robust and maintained arch system, should LC_ALL be configured? or the other way, that's the pandora box.
Last edited by rebornKidz (2026-04-06 14:37:56)
Stay true, dont forget to smile.
Offline
Here is the .config/plasma-localerc
Yeah, that's where the bogus locale is coming from.
Fix or remove it.
Online
I do small edit, then you replied
.
Already removed sire, as you and our cook book said.
Closing this soon when it goes away when I do re-login the user.
Thank you very much.
Stay true, dont forget to smile.
Offline
Pages: 1