On 15/05/25 14:13, Gleb Popov wrote:
On Thu, May 15, 2025 at 8:04 PM Renato Botelho <[email protected]> wrote:
On Thu, 15 May 2025 at 14:02 Gleb Popov <[email protected]> wrote:
On Thu, May 15, 2025 at 7:54 PM Renato Botelho <[email protected]> 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.
I'm going to take a look at that when I have some time but we are going
into a completely different direction from moving from seatd to
consolekit2 and changing the way suspension is triggered and not
considering the fact that I used this setup as I described for at least
one year without any problem. I didn't even had consolekit2 installed
and that before-sleep command was executed properly every time I closed
laptop's lid. It looks like a regression on the behavior that is
described on handbook.
--
Renato Botelho