Summary: | Cannot change kde languages because of locale | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | lehoangan02school |
Component: | kcm_regionandlang | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | deho.riccardo, eli.weism, graeme.w.murray, hanyoung, muso.am, nate, nicotolvanen, ricardo.funke, shadowclaw765, yanexbug |
Priority: | NOR | Keywords: | usability |
Version: | 5.27.10 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/7d433a5df0b9e8a2da099030d06556f162161df9 | Version Fixed In: | 6.1.5 |
Sentry Crash Report: | |||
Attachments: | screenshot of output |
Description
lehoangan02school
2023-12-31 07:18:41 UTC
I can also confirm this issue even with kde 6.0.3 in fedora 40. However I can't change the locale in settings at all. I have the same problem, Fedora 40 kde 6.0.4 Same problem, Fedora 40 KDE 6.0.4 Confirmed, localectl executable is not installed by default on fedora 40, despite the doc still mentions it: https://docs.fedoraproject.org/en-US/fedora/latest/system-administrators-guide/basic-system-configuration/System_Locale_and_Keyboard_Configuration/#System_Locale_and_Keyboard_Configuration.adoc#tab-locale_options Maybe an upstream bug? Because it does present in older versions of fedora. *** Bug 487810 has been marked as a duplicate of this bug. *** (In reply to hanyoung from comment #4) > Confirmed, localectl executable is not installed by default on fedora 40, > despite the doc still mentions it: > https://docs.fedoraproject.org/en-US/fedora/latest/system-administrators- > guide/basic-system-configuration/System_Locale_and_Keyboard_Configuration/ > #System_Locale_and_Keyboard_Configuration.adoc#tab-locale_options > > Maybe an upstream bug? Because it does present in older versions of fedora. That's not true, /usr/bin/localectl is installed by default and is part of systemd package which is in base install. I have fedora 40 kde spin installed and I can confirm I can run localectl and still have the same error message when trying to change language in KDE's configuration UI. It seems like fedora doesn't build plasma-workspace with GLIBC_LOCALE_PREGENERATED enabled, I've filed a bug in fedora. https://bugzilla.redhat.com/show_bug.cgi?id=2300192 *** Bug 491189 has been marked as a duplicate of this bug. *** Git commit 7f34085103d81de11c71a33f8ec4ffffb24b3ff0 by Han Young. Committed on 08/08/2024 at 14:12. Pushed by hanyoung into branch 'master'. kcm_regionandlang: always run localectl Always try to run localectl, so even if locale pre-generated distro forget to enable GLIBC_LOCALE_PREGENERATED we can still contruct glibc locale map M +2 -4 kcms/region_language/kcmregionandlang.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/7f34085103d81de11c71a33f8ec4ffffb24b3ff0 *** Bug 491468 has been marked as a duplicate of this bug. *** Git commit 7d433a5df0b9e8a2da099030d06556f162161df9 by Yifan Zhu. Committed on 09/08/2024 at 15:54. Pushed by fanzhuyifan into branch 'Plasma/6.1'. kcm_regionandlang: always run localectl Always try to run localectl, so even if locale pre-generated distro forget to enable GLIBC_LOCALE_PREGENERATED we can still contruct glibc locale map (cherry picked from commit 7f34085103d81de11c71a33f8ec4ffffb24b3ff0) 7f340851 kcm_regionandlang: always run localectl Co-authored-by: Han Young <hanyoung@protonmail.com> M +2 -4 kcms/region_language/kcmregionandlang.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/7d433a5df0b9e8a2da099030d06556f162161df9 |