path: lxsession_0.5.6-3/lxlock/lxlock if pidof light-locker >/dev/null; then light-locker-command -l >/dev/null 2>&1 elif pidof xscreensaver >/dev/null; then xscreensaver-command -lock >/dev/null 2>&1 elif pidof gnome-screensaver >/dev/null; then path: lxsession_0.5.6-3/lxlock/lxlock elif pidof xscreensaver >/dev/null; then xscreensaver-command -lock >/dev/null 2>&1 elif pidof gnome-screensaver >/dev/null; then gnome-screensaver-command --lock elif which slock >/dev/null 2>&1; then path: lxsession_0.5.6-3/lxlock/lxlock # Try to lock the screen with these applications (in this order): if pidof light-locker >/dev/null; then light-locker-command -l >/dev/null 2>&1 elif pidof xscreensaver >/dev/null; then