On 2023-11-05 02:47, Carlos E. R. wrote:
On 2023-11-04 21:43, Carlos E. R. wrote:
Hi,
I get this today when starting mc in konsole or xterm, after a restart of the session:
https://susepaste.org/258b880e91ad https://paste.opensuse.org/258b880e91ad
This is unusable. It might be related to my locale or to the font used. I haven't done any change to fonts.
...
I'm confused :-(
I found a method that works, more or less: cer@Laicolasse:~> cat .i18n LANG="es_ES.utf8" LC_MESSAGES="en_US.utf8" #Warning: do not export LC_TIME in KDE, breaks KDE. if [ "a$XDG_CURRENT_DESKTOP" = aKDE ]; then #unset LC_TIME echo . else LC_TIME="en_DK.utf8" fi cer@Laicolasse:~> cat .bashrc ... if [ "a$XDG_CURRENT_DESKTOP" = aKDE ]; then . ~/.i18n echo "changing the locale to .i18n" # Some variables don't get exported. Only these work: # cer@Laicolasse:~> env | grep -E 'LANG|LC_' # LC_MEASUREMENT=es_ES.utf8 # LC_MONETARY=es_ES.Utf8 # LC_NUMERIC=es_ES.UTF-8 # LC_TELEPHONE=es_ES.utf8 # LC_TIME=en_DK.UTF-8 # cer@Laicolasse:~> # <https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/KWXIW4SCJRI2WCC22QEJ26IM5ARGZFL5/> export LANG export LC_CTYPE export LC_NUMERIC export LC_TIME export LC_COLLATE export LC_MONETARY export LC_MESSAGES export LC_PAPER export LC_NAME export LC_ADDRESS export LC_TELEPHONE export LC_MEASUREMENT export LC_IDENTIFICATION export LC_ALL fi This results in this locale: cer@Laicolasse:~> locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=es_ES.utf8 LC_CTYPE="es_ES.utf8" LC_NUMERIC=es_ES.UTF-8 LC_TIME=en_SE.UTF-8 LC_COLLATE="es_ES.utf8" LC_MONETARY=es_ES.UTF-8 LC_MESSAGES=en_US.utf8 LC_PAPER="es_ES.utf8" LC_NAME="es_ES.utf8" LC_ADDRESS="es_ES.utf8" LC_TELEPHONE="es_ES.utf8" LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION="es_ES.utf8" LC_ALL= cer@Laicolasse:~> Notice that this one does not exist: LC_TIME=en_SE.UTF-8 so it is problematic. Yet KDE regional settings allows setting it. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))