https://bugs.kde.org/show_bug.cgi?id=462127
Bug ID: 462127 Summary: Cannot locate locale-gen Classification: Applications Product: systemsettings Version: 5.26.3 Platform: Debian testing OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_regionandlang Assignee: plasma-b...@kde.org Reporter: zimt...@gmail.com CC: hanyo...@protonmail.com Target Milestone: --- SUMMARY When setting the plasma language to a locale which has not been generated, it throws an error saying it cannot locate the locale-gen executable. The `/etc/locale.gen` has been modified by the KCM. But you have to manually run locale-gen. An inferred cause is that "/usr/sbin/locale-gen" is not in PATH. In the source: https://invent.kde.org/plasma/plasma-workspace/-/blob/v5.26.3/kcms/region_language/localegenhelper/localegenhelper.cpp#L131 It doesn't specify the PATH and QT will use the default. See https://doc.qt.io/qt-6/qstandardpaths.html#findExecutable STEPS TO REPRODUCE 1. Make sure locale-gen is not in your PATH as a regular user. 2. Run "locale -a" to check what locales have already been generated. 3. Pick up any locale which is NOT listed in the result of Step 2. 4. Set the language to the locale picked in Step 3. 5. Apply. OBSERVED RESULT Cannot locate locale-gen. EXPECTED RESULT Success SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian Testing (available in About System) KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.98.0 -- You are receiving this mail because: You are watching all bug changes.