Skip to content

Commit

Permalink
KDE disable screen lock, other customization
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd committed Sep 5, 2023
1 parent b2bbc98 commit c7eb790
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c7eb790

Please sign in to comment.