> > ---------- Forwarded message ---------- > > Date: Tue, 01 Apr 2025 23:21:59 +0200 > > From: vermaden <verma...@interia.pl> > > To: free...@ny-central.org > > Subject: FreeBSD Laptop/Desktop Group - Lid Close Command/Action > > > > > > Hi, > > > > I wanted to create Lid Close Command/Action issue but seems that I do not > > have needed permissions. > > > > Could You create one? I thinks this would be useful. Thanks. > > > > Issue Title: Lid Close Command/Action > > > > Issue Description: > > Hi, > > > > we know that we can configure FreeBSD to put system into sleep by closing > > the lid with `hw.acpi.lid_switch_state` being set to `S3` ... but that will > > only suspend the system > > - it will not LOCK it.
The established way that contemporary DEs are using to solve this problem is the login1/ConsoleKit DBus service. It controls graphical session locking and may react to suspend/resume events.