2012-11-20, 11:27
Well we actually check for both ConsoleKit and UPower. Mostly since I was not aware there was an alternative to ConsoleKit. Ideally these providers should be decoupled then.
https://github.com/xbmc/xbmc/blob/master...l.cpp#L199
If you wish to do that (decouple them) then adding in systemd/logind or whatever would probably be easier. Could also put in hooks for python to make it even easier to handle distro specifics.
https://github.com/xbmc/xbmc/blob/master...l.cpp#L199
If you wish to do that (decouple them) then adding in systemd/logind or whatever would probably be easier. Could also put in hooks for python to make it even easier to handle distro specifics.