Hi guys,
I'm running Arch linux, and using pm-utils to suspend. I have GNOME and XFCE installed, and under the XFCE cannot get the screen to lock when I suspend. I've tried putting scripts in /etc/pm/sleep.d, and they look like this:
Code:
#!/bin/bash
case "$1" in
hibernate|suspend)
xflock4
sleep 5
;;
*) exit $NA
;;
esac
But the screen won't lock! I've tried putting commands like /sbin/shutdown -h 0 into the file, and that successfully shuts down the computer if it tries to sleep, so the script is running, but it just won't lock my screen! Can anyone help me? Thanks!