Review Request 124388: Add ConsoleKit2 as a power backend

Martin Gräßlin mgraesslin at kde.org
Tue Jul 21 06:21:12 UTC 2015



> On July 20, 2015, 8:22 a.m., Martin Gräßlin wrote:
> > May I ask you a favor? Could you please try whether you can get kwin_wayland (drm/libinput) to work with consolekit2? That would be totally awesome!
> > 
> > Of course I'm also interested in consolekit2 addons to screen locker if there are changes needed to get the same level of integration as with logind (it currently listens to logind for lock/unlock signals and inhibits suspend to ensure the lock screen is in place before the system goes to sleep state).
> 
> Eric Koegel wrote:
>     Yes, wayland support and multi-seat are the two big things I'd like to accomplish for consolekit2. I'll look into wayland next since there seems to be more demand for that.
>     
>     And yes, I can look into patching the screenlocker as well.

cool! Thanks a lot.


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124388/#review82678
-----------------------------------------------------------


On July 20, 2015, 4:04 p.m., Eric Koegel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124388/
> -----------------------------------------------------------
> 
> (Updated July 20, 2015, 4:04 p.m.)
> 
> 
> Review request for Plasma and Solid.
> 
> 
> Repository: powerdevil
> 
> 
> Description
> -------
> 
> Internally, it uses the login1 interface with ConsoleKit2 since they share identical DBUS calls. It also changes the setupSystemdInhibition to setupSeatManagerInhibition so that the login1 and ConsoleKit2 inhibit calls to minimize code duplication.
> 
> This patch doesn't modify the build system to keep it small. A future patch can be added to use ConsoleKit2 on BSD systems as well.
> 
> ConsoleKit2's suspend/hibernate/inhibit DBUS API is documented at: http://consolekit2.github.io/ConsoleKit2/#Manager
> 
> 
> Diffs
> -----
> 
>   daemon/backends/upower/powerdevilupowerbackend.h 3752977 
>   daemon/backends/upower/powerdevilupowerbackend.cpp 5120d3e 
>   daemon/powerdevilpolicyagent.h ef41ad7 
>   daemon/powerdevilpolicyagent.cpp 9210a06 
> 
> Diff: https://git.reviewboard.kde.org/r/124388/diff/
> 
> 
> Testing
> -------
> 
> Built powerdevil with patch and pkla files on a Gentoo system with OpenRC. Before patch there was no suspend option, after there was and clicking it resulted in the system properly suspending.
> 
> 
> Thanks,
> 
> Eric Koegel
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150721/3a6b2bd0/attachment.html>


More information about the Plasma-devel mailing list