summaryrefslogtreecommitdiff
path: root/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-24 19:58:07 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-24 19:58:07 +0000
commit99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (patch)
treeda76713365257a445f3ae3b95470917f59d46728 /kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch
parent4935506e9a5cbfabd37c64093eac5f36c2ff0017 (diff)
gentoo resync : 24.02.2018
Diffstat (limited to 'kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch')
-rw-r--r--kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch b/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch
new file mode 100644
index 000000000000..b0e4011d2b88
--- /dev/null
+++ b/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch
@@ -0,0 +1,13 @@
+--- a/abstractlocker.cpp
++++ b/abstractlocker.cpp
+@@ -52,9 +52,8 @@ void BackgroundWindow::paintEvent(QPaintEvent* )
+ auto text = ki18n("The screen locker is broken and unlocking is not possible anymore.\n"
+ "In order to unlock switch to a virtual terminal (e.g. Ctrl+Alt+F2),\n"
+ "log in and execute the command:\n\n"
+- "loginctl unlock-session %1\n\n"
++ "ck-unlock-session\n\n"
+ "Afterwards switch back to the running session (Ctrl+Alt+F%2).");
+- text = text.subs(QString::fromLocal8Bit(qgetenv("XDG_SESSION_ID")));
+ text = text.subs(QString::fromLocal8Bit(qgetenv("XDG_VTNR")));
+ p.setPen(Qt::white);
+ QFont f = p.font();