You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
plasma-workspace/sddm-wayland-session-Disabl...

30 lines
1.1 KiB

From 7e4159e46f816dc65ac62eae37b15c882f0c8064 Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa@kde.org>
Date: Mon, 20 Feb 2023 10:28:05 -0500
Subject: [PATCH] sddm-wayland-session: Disable global shortcuts
By default, KWin starts up with global shortcuts enabled.
This is very dangerous for the login screen, since it becomes
possible to bypass the login prompt using default key bindings.
This change closes that hole and ensures this does not work.
Reference: https://bugzilla.redhat.com/2171332
---
sddm-wayland-session/plasma-wayland.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sddm-wayland-session/plasma-wayland.conf b/sddm-wayland-session/plasma-wayland.conf
index c1f21a5ae..6781ac46c 100644
--- a/sddm-wayland-session/plasma-wayland.conf
+++ b/sddm-wayland-session/plasma-wayland.conf
@@ -4,4 +4,4 @@ GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
InputMethod=
[Wayland]
-CompositorCommand=kwin_wayland --no-lockscreen --inputmethod maliit-keyboard --locale1
+CompositorCommand=kwin_wayland --no-global-shortcuts --no-lockscreen --inputmethod maliit-keyboard --locale1
--
2.39.2