[kde-freebsd] suspend on lid close

Alberto Villa avilla at freebsd.org
Wed Jan 23 01:54:04 UTC 2013


On Wednesday 23 January 2013 02:21:03 Alberto Villa wrote:
> I think I found the problem. Can you please run qdbusviewer and check
> property LidIsPresent of org.freedesktop.UPower (like in the following
> screenshot)? http://wstaw.org/m/2013/01/23/plasma-desktopK43402.png
> If it returns false, then it's not possible for KDE to react to lid closing.

At a quick look, the attached patch might fix the issue. Please, put it into 
/usr/ports/sysutils/upower/files/, rebuild UPower and reboot. Let me know if 
it works.
Of course, you need UPower for the feature to work (I think, at least).

I'll discuss the patch with gnome@ to see if it's suitable for commit.
-- 
Alberto Villa, FreeBSD committer <avilla at FreeBSD.org>
http://people.FreeBSD.org/~avilla

Langsam's Laws:
	(1) Everything depends.
	(2) Nothing is always.
	(3) Everything is sometimes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-src__freebsd__up-backend.c
Type: text/x-csrc
Size: 448 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20130123/a8c52b8a/attachment.c>
-------------- 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/a8c52b8a/attachment.sig>


More information about the kde-freebsd mailing list