You are not logged in.
Pages: 1
Hi,
How do I set i3lock as the screen-lock app?.
My setup currently uses light-locker.
Thanks.
Offline
I'll revise the question: how do I set which screen lock app xfce uses?.
Offline
If you are using xflock4 (via xfce4-power-manager & xfce4-session), then you can set LockCommand. From "more /usr/bin/xflock4":
# First test for the command set in the session's xfconf channel
LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
for lock_cmd in \
"$LOCK_CMD" \
"xfce4-screensaver-command --lock" \
"xscreensaver-command -lock" \
"gnome-screensaver-command --lock"
do
if [ ! -z "$lock_cmd" ]; then
$lock_cmd >/dev/null 2>&1 && exit
fi
done
To set LockCommand, you would:
xfconf-query -c xfce4-session -p /general/LockCommand -t string -s i3lock --create
If you are using the whiskermenu or a keyboard shortcut, make sure they point to i3lock.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks.
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 520.23 KiB (Peak: 521.07 KiB) ]