Forcing power manager to use slock instead of light-locker

Justin Mathew mjustin at protonmail.com
Mon Mar 23 16:06:44 CET 2020


Yes, I had seen some solutions and troubleshooting using xflock4 while doing my research on this.

As far as I know, it's a bash script, but I can't find it in my system. I am running a BunsenLabs Helium system which is based on Debian 9.

Can I just create one and place it where?

--
Justin Mathew

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, March 23, 2020 8:19 PM, Bjoern Franke <bjo at schafweide.org> wrote:

> 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
>
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org




More information about the Xfce mailing list