[plasma/plasma-login-manager] src/frontend/kcm: Also sync plasma-localerc
Nate Graham <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 3379fb65097a210f17fc2c984d7c6e95b1d6c013 by Nate Graham.
Committed on 04/08/2026 at 23:46.
Pushed by olib into branch 'master'.
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
M +2 -0 src/frontend/kcm/auth/plasmaloginauthhelper.cpp
M +2 -0 src/frontend/kcm/kcm.cpp
M +1 -1 src/frontend/kcm/ui/main.qml
https://invent.kde.org/plasma/plasma-login-manager/-/commit/3379fb65097a210f17fc2c984d7c6e95b1d6c013
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")),
diff --git a/src/frontend/kcm/ui/main.qml b/src/frontend/kcm/ui/main.qml
index 6f8b0c42..daae3d40 100644
--- a/src/frontend/kcm/ui/main.qml
+++ b/src/frontend/kcm/ui/main.qml
@@ -63,7 +63,7 @@ KCM.SimpleKCM {
title: i18nc("@title:window", "Apply Plasma Settings")
subtitle: i18n("This will make the Plasma login screen reflect your customizations to the following Plasma settings:") +
- xi18nc("@info", "<para><list><item>Color scheme</item><item>Cursor theme and size</item><item>Font and font rendering</item><item>NumLock preference</item><item>Plasma theme</item><item>Scaling DPI</item><item>Screen configuration</item><item>Keyboard layouts</item></list></para>") +
+ xi18nc("@info", "<para><list><item>Language and locale settings</item><item>Color scheme</item><item>Cursor theme and size</item><item>Font and font rendering</item><item>NumLock preference</item><item>Plasma theme</item><item>Scaling DPI</item><item>Screen configuration</item><item>Keyboard layouts</item></list></para>") +
i18n("Please note that theme files must be installed globally to be reflected on the Plasma login screen.")
customFooterActions: [