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 <avi...@freebsd.org> http://people.FreeBSD.org/~avilla Langsam's Laws: (1) Everything depends. (2) Nothing is always. (3) Everything is sometimes.
--- ./src/freebsd/up-backend.c.orig 2010-11-01 12:28:43.000000000 +0100 +++ ./src/freebsd/up-backend.c 2013-01-23 02:42:21.293236052 +0100 @@ -227,7 +227,7 @@ gchar *lid_state; lid_state = up_get_string_sysctl (NULL, "hw.acpi.lid_switch_state"); - if (lid_state && strcmp (lid_state, "NONE")) { + if (lid_state) { /* && strcmp (lid_state, "NONE")) { */ up_daemon_set_lid_is_present (backend->priv->daemon, TRUE); } g_free (lid_state);
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information