On Thu, May 15, 2025 at 7:04 PM Renato Botelho <[email protected]> wrote: > > before-sleep <command> > If built with ConsoleKit2 support, executes command before > ConsoleKit2 puts the computer to sleep.
So it seems that ConsoleKit should be used and I don't see any mentions of it in the relevant Handbook chapter. I think plugging "ck-launch-session" somewhere into the command line that starts the graphical session should help.
