Skip to content

Commit 53ffa70

Browse files
authored
add kde power/user settings
1 parent 4999a74 commit 53ffa70

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

oscfg/opensuse.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,20 @@ idle-delay=uint32 0
166166
EOF
167167
run /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
168168
elif [ "$DESKTOP" == "kde" ]; then
169-
true # nothing to be done yet
169+
mkdir -p "$WORK/etc/skel/.config"
170+
cat >> "$WORK/etc/skel/.config/kdeglobals" <<EOF
171+
[KDE Action Restrictions]
172+
action/lock_screen=false
173+
logout=false
174+
action/start_new_session=false
175+
action/switch_user=false
176+
EOF
177+
178+
cat >"$WORK/etc/skel/.config/kscreenlockerrc" <<EOF
179+
[Daemon]
180+
Autolock=false
181+
EOF
182+
170183
fi
171184

172185
# add firstrun

0 commit comments

Comments
 (0)