Date: Sat, 20 Jul 2024 13:37:29 +0300 From: Anton Shepelev <anton.txt@gmail.com> To: freebsd-questions@freebsd.org Subject: Handling the opening and closing of laptop lid Message-ID: <20240720133729.d0c633674649c0e9621d958c@gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, all. Has anybody been able to cause FreeBSD with X to handle gracefully the closing and opeining of a laptop lid? Althogh I have: hw.acpi.lid_switch_state=s4 on my HP 15bwoxx, closing the lid only turns the display off, whereas the HDD continues to spin, the laptop still buzzes, and upon opening the lid back up it goes into operative state instantenously, with two new windows of the "Settings/Display" application open in the centre of the X screen. How can I cause it to hibernate or at least to stand by, and to prevent the launchhing of two "Display" applications every time I open the lid?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240720133729.d0c633674649c0e9621d958c>