Forcing power manager to use slock instead of light-locker

Bjoern Franke bjo at
Mon Mar 23 11:21:20 CET 2020


> I use slock instead of light-locker. The power manager settings offer an option to lock the system when system is going for sleep.
> In my system it doesn't happen - the system wakes up to an logged in session. I suspect that it is because of the absence of light-locker.
> Is there any way I can tell power manager to uses slock for this purpose?

you can set the lock command via xfconf, e.g.
xfconf-query -c xfce4-session -p /general/LockCommand -s "slock"


More information about the Xfce mailing list