On May 31 07:37:18, Jan Stary wrote: > On May 30 20:15:42, Robert Connolly wrote: > > Hello. > > > > Is there any way to configure an ACPI event, such as closing the lid of a > > laptop, to run a script, like 'apm -C' and screensaver? > > apm(8) and sensorsd(8) don't seem to do anything like this. > > Not exactly hooked to a lid close but to a suspend > (which happens on lid close if machdep.lidsuspend=1) > - see apm(8) mentioning /etc/apm/suspend.
That's apmd(8) of course.