Re: Handling the opening and closing of laptop lid

From: Anton Shepelev <anton.txt_at_gmail.com>
Date: Sat, 20 Jul 2024 12:59:14 UTC
I wrote:

> 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.

This problem was fixed by resetting the XF86Display from the
xfce4-keyboard-shortcuts section of Xfce settings:

   https://forums.freebsd.org/threads/90827/#post-627318

I still don't understand what it was there for and on what
conditon it was invoked. The most imporatant remaining problem
upon wake-up are:

1. camcontrol(8) settings made at boot via /etc/rc.local become reset
2. (just noticed it) WiFi stops working, althugh networkmgr shows
   it connected. Restarting the network helps.