mirror of
https://github.com/linuxserver/docker-kali-linux.git
synced 2026-02-20 04:26:31 +08:00
update to use kde6 bins to disable screen locking
This commit is contained in:
parent
cc15b7fd9c
commit
06e0477136
@ -9,10 +9,10 @@ fi
|
||||
|
||||
# Disable compositing and screen lock
|
||||
if [ ! -f $HOME/.config/kwinrc ]; then
|
||||
kwriteconfig5 --file $HOME/.config/kwinrc --group Compositing --key Enabled false
|
||||
kwriteconfig6 --file $HOME/.config/kwinrc --group Compositing --key Enabled false
|
||||
fi
|
||||
if [ ! -f $HOME/.config/kscreenlockerrc ]; then
|
||||
kwriteconfig5 --file $HOME/.config/kscreenlockerrc --group Daemon --key Autolock false
|
||||
kwriteconfig6 --file $HOME/.config/kscreenlockerrc --group Daemon --key Autolock false
|
||||
fi
|
||||
setterm blank 0
|
||||
setterm powerdown 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user