Re: Resume from Suspend when triggered by Lid

From: Oleksandr Kryvulia <shuriku_at_shurik.kiev.ua>
Date: Tue, 17 Mar 2026 15:53:36 UTC
17.03.26 08:22, Ben Hutton:
> Fair enough, I can live with that. That's what I have been doing, I 
> did try a few hacky ways to initiating a lock but so far nothing has 
> worked.
>
> Anyway thank you for the help.
>
> On 3/17/26 13:32, Oleksandr Kryvulia wrote:
>> 17.03.26 01:25, Ben Hutton:
>>> That fixes the issue. New issue is how do you get the system to lock 
>>> the screen automatically on resume/suspend?
>>
>> I didn't solve this problem because I have a habit of locking the 
>> screen myself (by pressing Meta+L in KDE).
>>
>

This works for me from root console:

/usr/local/bin/qdbus6 --system org.freedesktop.ConsoleKit 
/org/freedesktop/ConsoleKit/Session1 org.freedesktop.ConsoleKit.Session.Lock

Try to place it into /etc/rc.suspend