From a11e1581eb6de406d05324267db62782fd67fafe Mon Sep 17 00:00:00 2001 From: Seungmin Kim <8457324+ehfd@users.noreply.github.com> Date: Tue, 5 Sep 2023 22:21:09 +0900 Subject: [PATCH] KDE disable screen lock, other customization --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Dockerfile b/Dockerfile index b3cf701..e8319b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -364,6 +364,16 @@ Pin-Priority: -1" > /etc/apt/preferences.d/firefox-nosnap && \ rm -f /usr/lib/x86_64-linux-gnu/libexec/kf5/start_kdeinit && \ cp -r /tmp/start_kdeinit /usr/lib/x86_64-linux-gnu/libexec/kf5/start_kdeinit && \ rm -f /tmp/start_kdeinit && \ + # KDE disable screen lock, double-click to open instead of single-click + echo "[Daemon]\n\ +Autolock=false\n\ +LockOnResume=false" > /etc/xdg/kscreenlockerrc && \ + echo "[KDE]\n\ +SingleClick=false\n\ +\n\ +[KDE Action Restrictions]\n\ +action/lock_screen=false\n\ +logout=false" > /etc/xdg/kdeglobals && \ # Ensure Firefox is the default web browser update-alternatives --set x-www-browser /usr/bin/firefox