You are not logged in.
Pages: 1
Using openSUSE Leap 15.5 and XFCE 4.18.
I tried this:
main@localhost:~> sudo localectl set-locale en_UK.UTF-8; localectl
System Locale: LANG=en_UK.UTF-8
VC Keymap: en
X11 Layout: en
X11 Model: microsoftpro
X11 Options: terminate:ctrl_alt_bksp
main@localhost:~>
main@localhost:~> locale
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=
main@localhost:~>
As you can see, even after changing system locale to en_UK, locale command still shows default en_US.
How can I fix this?
Thanks.
Offline
https://wiki.archlinux.org/title/locale … _immediate notes that the change will take effect on new login. To have it take immediate effect, you need to unset LANG and re-source locale.sh for the effect to be immediate. Not sure if the same applies in openSUSE.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Since in SUSE there's no /etc/locale.gen nor /etc/profile.d/locale.sh at all, I'd think SUSE handles it differently...
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 522.59 KiB (Peak: 528.55 KiB) ]