On 4/15/25 18:24, Marco Möller wrote:
To unset LC_ALL use the following command:
$ sudo update-locale LC_ALL=
Dolphin now shows the wished display format for the columns showing times.
There might be apps complaining about this value not being set, though.
Those apps could always be started by explicitly setting for them a
LC_ALL value in front of the app starting command, then.
Unfortunately, this cannot be the solution.
Too many apps used at the CLI complain about the missing LC_ALL
definition. Some even crashed at startup ("skanpage" started from the
CLI, for instance).
What to do? If LC_ALL is set, so that the CLI can be used in a
reasonable way, then no specific locale settings can be applied, for
instance for setting the time format to a locale format.
My wish is for my system (CLI and KDE, both!) to use everywhere English
language, but region (time zone, time format including start of week) to
be set to German, and Address and Telephone Number formats set to Spanish.
In Principle KDE allows to set all of these, but only as long as LC_ALL
is not defined. As said, then unfortunately the CLI cannot be used
reasonable anymore because of warning messages cluttering the screen too
often or commands even refusing to execute correctly.
What I currently have set up:
$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_DE.UTF-8
LC_NAME=es_ES.UTF-8
LC_ADDRESS=es_ES.UTF-8
LC_TELEPHONE=es_ES.UTF-8
LC_MEASUREMENT=en_DE.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Even more confusing, even in Debian package "locales-all" there does not
exist "en_DE.UTF-8", just checked it for Trixie. But KDE System Settings
defined it, obviously. How can this be?
Any hint or help to get an international, a globe spanning environment
working is appreciated!