https://bugs.kde.org/show_bug.cgi?id=513805
Bug ID: 513805
Summary: Regional Settings writes incorrect locale names (UTF-8
vs utf8) causing locale errors
Classification: Plasma
Product: plasmashell
Version First 6.5.4
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Steps to Reproduce:
Install KDE Plasma on Fedora (or any glibc-based distribution)
Check available locales: locale -a | grep UTF Result: Shows lowercase utf8
(e.g., en_US.utf8, de_AT.utf8)
Open System Settings → Regional Settings → Formats
Change any format setting (e.g., currency or time format)
Check ~/.config/plasma-localerc Result: Contains UTF-8 (uppercase with
hyphen)
Check /etc/locale.conf (gets overwritten via systemd-localed) Result: Also
contains UTF-8 variants
Run locale in terminal
Observed Result:
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_NUMERIC=de_AT.UTF-8
...
Locales fail to load because glibc only provides utf8 (lowercase, no hyphen)
but KDE writes UTF-8 (uppercase, hyphen).
Expected Result: KDE should detect available locale names from locale -a and
write the exact strings that the system provides, OR normalize to the system's
naming convention.
Additional Information:
Fedora 43, Plasma 6.5.4
glibc generates locales as en_US.utf8 (lowercase, no hyphen)
KDE writes en_US.UTF-8 to plasma-localerc
When KDE triggers systemd-localed, it overwrites /etc/locale.conf with
invalid names
This affects all glibc-based distributions (Fedora, Arch, etc.)
Debian works around this with symlinks in glibc
Proposed Solution: Query available locales with locale -a and only write locale
names that actually exist on the system.
--
You are receiving this mail because:
You are watching all bug changes.