On Sun, Aug 23, 2026 at 04:24:28PM +0200, BESSOT Jean-Michel wrote:
Hello
I did follow https://marc.info/?l=openbsd-misc&m=156755850012858&w=2
to have xlock started when closing the lid but it does not work. Any
idea why ? The permissions on suspend script is 744.
I run on a lenovo x13s arm based computer.
Bye
I have no issues, but I supply the full path.
/usr/bin/pkill -USR1 xidle
Also I have /etc/apm/suspend set as 755.
Guessing here, maybe another ID kicks of the script ?
Also, do you start xidle in your ~/.xsession ?
That could be the issue too.
<snip>
HTH