On Thu, May 15, 2025 at 8:04 PM Renato Botelho <ga...@freebsd.org> wrote:
>
> On Thu, 15 May 2025 at 14:02 Gleb Popov <arr...@freebsd.org> wrote:
>>
>> On Thu, May 15, 2025 at 7:54 PM Renato Botelho <ga...@freebsd.org> wrote:
>> >
>> > I've started sway by using `ck-launch-session sway` and confirmed
>> > session was created by running ck-list-sessions but it didn't help.
>>
>> And how do you initiate the suspension process ?
>
>
> Running acpiconf -s 3
>>
>>

Well, ConsoleKit does not catch that, so it has no idea that the
system is going to sleep. Try running

sudo qdbus6 --system org.freedesktop.ConsoleKit
/org/freedesktop/ConsoleKit/Manager
org.freedesktop.ConsoleKit.Manager.Suspend false

The qdbus6 command comes from the qt6-tools package.

Reply via email to