Forcing power manager to use slock instead of light-locker

Bjoern Franke bjo at schafweide.org
Mon Mar 23 15:49:29 CET 2020


Am 23.03.20 um 15:41 schrieb Justin Mathew:
> Thanks for the reply,
> 
> I tried that but this is what I get.
> 

xflock contains:
for lock_cmd in \
    "$LOCK_CMD" \
    "xfce4-screensaver-command --lock" \
    "xscreensaver-command -lock" \
    "light-locker-command --lock" \
    "gnome-screensaver-command --lock" \
    "mate-screensaver-command --lock"
do
    if [ ! -z "$lock_cmd" ]; then
        $lock_cmd >/dev/null 2>&1 && exit
    fi
done

# else run another access locking utility, if installed
for lock_cmd in \
  "xlock -mode blank" \
  "slock"

So, if you remove light-locker and all other above possible lockers if
installed, slock should be used automatically.

Kind Regards
Bjoern


More information about the Xfce mailing list