I'm in fluxbox on Arch on a Macbook 5,1. New to linux. I'm trying to get Arch to suspend when I close my laptop. Lately I've just been using sudo pm-suspend. I installed slimlock, and inserted button/lid)    case $3 in        close)            #echo LID switched!>/dev/tty5         /usr/sbin/pm-suspend &         DISPLAY=:0.0 su -c - username /usr/bin/slimlock            ;;in my /etc/acpi/handler.sh,which I read to do here, but it doesn't work. I tried installing xscreensaver, but I get a weird error: error: perl-lwp-mediatypes: signature from Justin Davis (juster) <jrcd83@gmail.com> is unknown trusterror: failed to commit transaction (invalid or corrupted package (PGP signature))
Arch suspend when I close laptop lid?
xorg;arch linux;macintosh;suspend;acpi