From b3b61e8d9c84a93b04e0d33e402cba8df897ab5c Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 3 Apr 2020 09:20:53 -0400 Subject: fix #6 xscreensaver invocation is incorrect It is now xscreensaver-command -lock --- src/usr/libexec/logout-manager/lm-helper | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/usr/libexec/logout-manager/lm-helper b/src/usr/libexec/logout-manager/lm-helper index 6372827..700e86f 100755 --- a/src/usr/libexec/logout-manager/lm-helper +++ b/src/usr/libexec/logout-manager/lm-helper @@ -1,7 +1,7 @@ #!/bin/sh # Dependencies: -# Devuan: wmctrl sudo -# el7: wmctrl sudo +# dep-devuan: wmctrl, sudo +# dep-el7: wmctrl, sudo case "${1}" in help) # show this help screen { @@ -18,9 +18,9 @@ case "${1}" in lock) # lock the current screen if test -z "${DRYRUN}" ; then - xscreensaver --locknow + xscreensaver-command -lock else - echo "xscreensaver --locknow" + echo "xscreensaver-command -lock" fi ;; logout) # log out the current user of the graphical session @@ -36,7 +36,7 @@ case "${1}" in fi ;; *) - echo "Gotta say unh! Feature not yet implemented for \"${_wm}\"" 1>&2 + echo "Gotta say unh! Feature not yet implemented for \"${_wm}\". Please report this to bgstack15@gmail.com" 1>&2 exit 1 ;; esac -- cgit