[vlc-devel] [PATCH] inhibit (power management) : supports gnome-session >= 2.27
Rafaël Carré
rafael.carre at gmail.com
Tue Jul 26 22:37:17 CEST 2011
Le 26 juillet 2011 10:36, Rémi Denis-Courmont <remi at remlab.net> a écrit :
> Le mardi 26 juillet 2011 16:59:32 Jean-Baptiste Kempf, vous avez écrit :
>> On Tue, Jul 26, 2011 at 03:48:42PM +0200, Rémi Denis-Courmont wrote :
>> > As far as I understand, the official FreeDesktop answer is upower:
>> > http://upower.freedesktop.org/docs/
>>
>> Cool. Is it less brain-dead that other *Kit libraries?
>
> I don't know that any of the other kits have libraries, nor do I know that
> they are brain-dead. PolicyKit and udisks seemed to make some sense though VLC
> does not really need to care about them.
>
> They use the stupid glib but they do not force client applications to do so.
> They use D-Bus whose wire protocol is brain damaged beyond repair, but it's
> not their fault if FreeDesktop has settled for such a poorly designed IPC.
UPower is mostly informational, we can suspend the computer with this
interface but not
prevent a daemon from suspending.
We need to interface with the platform daemon which is interacting with UPower
--
Rafaël Carré
More information about the vlc-devel
mailing list