浏览代码

KDE disable screen lock, other customization

Seungmin Kim 2 年之前
父节点
当前提交
c7eb790ba2
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      Dockerfile

+ 10 - 0
Dockerfile

@@ -343,6 +343,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