[kde-freebsd] suspend on lid close

Alberto Villa avilla at freebsd.org
Wed Jan 23 01:21:03 UTC 2013

On Monday 07 January 2013 18:26:48 Alberto Villa wrote:
> On Fri, Dec 21, 2012 at 12:00 PM, Alexandr <shuriku at shurik.kiev.ua> wrote:
> > I am using 9.1-PRERELEASE with kde 4.8.4 on my laptop. I have configured
> > suspend action on lid close in my kde preferences, but when I close lid
> > nothing happens. If I set hw.acpi.lid_switch_state=S3 then my laptop
> > suspended, but my kde session is not locked. Could you help me?
> I'll test this when 4.9.5 is ready. Could you please submit a PR to
> ensure this doesn't get lost? We have a lot of stuff in the queue.

I think I found the problem. Can you please run qdbusviewer and check property 
LidIsPresent of org.freedesktop.UPower (like in the following screenshot)?
If it returns false, then it's not possible for KDE to react to lid closing.

The check was added in KDE SC 4.8:

I'll try to take care of this in the next months. Meanwhile, I'll save the 
link of a bug report connected to the feature (which is probably unrelated to 
our problem, but I don't want to lose it):
Alberto Villa, FreeBSD committer <avilla at FreeBSD.org>

Wait for that wisest of all counselors, Time.
		-- Pericles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 314 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20130123/f9c26b58/attachment.sig>

More information about the kde-freebsd mailing list