[plasma/plasma-login-manager/Plasma/6.7] src/frontend/kcm: Also sync plasma-localerc
Nate Graham <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit e132e62d5300646eff380b60de468547a332f08f by Nate Graham.
Committed on 05/08/2026 at 16:20.
Pushed by ngraham into branch 'Plasma/6.7'.
Also sync plasma-localerc
Without this, the user has no GUI to override the language shown on the
login screen if it's set incorrectly in /etc/locale.conf or
/var/lib/plasmalogin/.config/plasma-localerc.
ENHANCEMENT: 516964
FIXED-IN: 6.8.0
(cherry picked from commit 3379fb65097a210f17fc2c984d7c6e95b1d6c013)
M +2 -0 src/frontend/kcm/auth/plasmaloginauthhelper.cpp
M +2 -0 src/frontend/kcm/kcm.cpp
https://invent.kde.org/plasma/plasma-login-manager/-/commit/e132e62d5300646eff380b60de468547a332f08f
diff --git a/src/frontend/kcm/auth/plasmaloginauthhelper.cpp b/src/frontend/kcm/auth/plasmaloginauthhelper.cpp
index bead556b..34fdd029 100644
--- a/src/frontend/kcm/auth/plasmaloginauthhelper.cpp
+++ b/src/frontend/kcm/auth/plasmaloginauthhelper.cpp
@@ -227,6 +227,8 @@ ActionReply PlasmaLoginAuthHelper::sync(const QVariantMap &args)
createConfigFile(QStringLiteral("plasmarc"));
+ createConfigFile(QStringLiteral("plasma-localerc"));
+
createConfigFile(QStringLiteral("kcminputrc"));
createConfigFile(QStringLiteral("kwinoutputconfig.json"));
diff --git a/src/frontend/kcm/kcm.cpp b/src/frontend/kcm/kcm.cpp
index 41296a12..c566363f 100644
--- a/src/frontend/kcm/kcm.cpp
+++ b/src/frontend/kcm/kcm.cpp
@@ -234,6 +234,8 @@ void PlasmaLoginKcm::synchronizeSettings()
addConfigFile(QStandardPaths::locate(QStandardPaths::GenericConfigLocation, QStringLiteral("plasmarc")), QStringLiteral("plasmarc"));
+ addConfigFile(QStandardPaths::locate(QStandardPaths::GenericConfigLocation, QStringLiteral("plasma-localerc")), QStringLiteral("plasma-localerc"));
+
addConfigFile(QStandardPaths::locate(QStandardPaths::GenericConfigLocation, QStringLiteral("kcminputrc")), QStringLiteral("kcminputrc"));
addConfigFile(QStandardPaths::locate(QStandardPaths::GenericConfigLocation, QStringLiteral("kwinoutputconfig.json")),