^ macs had a plethora of those, ctl-option-esc the type 'G FINDER' sometimes resets the desktop, back in the macOS9.2 (and before days)
<rant>
um so I took a bit of time wondering why this fancy pants script (installed by acpi-support) didn't work
so looking at the lid down bit (/etc/acpi/lid.sh):
Code: Select all
#!/bin/sh
test -f /usr/share/acpi-support/state-funcs || exit 0
. /usr/share/acpi-support/power-funcs
. /usr/share/acpi-support/policy-funcs
. /etc/default/acpi-support
[ -x /etc/acpi/local/lid.sh.pre ] && /etc/acpi/local/lid.sh.pre
if { CheckPolicy || HasLogindAndSystemd1Manager; }; then
exit
fi
grep -q closed /proc/acpi/button/lid/*/state
if [ $? -eq 0 ]
then
. /usr/share/acpi-support/screenblank
if [ x$LID_SLEEP = xtrue ]; then
pm-suspend
if [ $? -ne 0 -a x$LID_SHUTDOWN = xtrue ]; then
shutdown -P now
etc....
That made me look at those 'sourced' file.
(dot is not the clearest of indicators there)
and have to uncomment as it says:
Code: Select all
# Uncomment this to enable ACPI sleep when the lid screen is closed.
LID_SLEEP=true
Because of course, why would you want your laptop to
not suspend on lid down by default?
like every laptop in the world ever? That to me is expected, nay - required after you'd installed the damn thing. but, by default you
DO want the screenlocker to kick in (it checks for various ones running in a separate script) because, you know that is normal...?
</rant>