Bug#503377: vlc: Seems to start gnome-power-manager when playing
siretart at tauware.de
Tue Apr 28 14:32:01 UTC 2009
Christophe Mutricy <xtophe at chewa.net> writes:
> Some questions/reflexions:
> in which package is the kde power manager ?
> Does it install a file in /usr/share/dbus-1/ ?
> Does it listen for org.freedesktop.PowerManagement (not sure how to check that)
> Does the kde power manager even try to implement this freedesktop
> spec? maybe it's too recent and haven't been integrated yet?
> what version of the kde power manager do you have?
> then i see three solutions:
> 1) We say it's an user bug. people should know better than mix gnome
> and kde packages ;)
Consider multiuser systems where some users use KDE and some use gnome.
> 2) It's a kde bug for not implementing the freedesktop spec and not
> listening on dbus ;)
Hardly. I don't think that 2 services can nor should listen on the same
> 3) it's a vlc upstream bug for not checking that someone is listening
> for org.freedesktop.PowerManagement before sending message it.
Well, gnome-power-manager installs a 'trigger' that invokes a gnome
specific process. vlc could of course try to detect if it is running in
an kde or gnome environment and then decide to send or not send the dbus
But TBH, I feel that this check should better happen in some sort of
dispatcher that listens on org.freedesktop.PowerManagement, and then
invokes the "right" powermanager for the running desktop
environment. This would make it a freedesktop.org issue. In that case,
nothing would need to be done in vlc; it could continue to emit that
dbus signal and let the system decide what to do with it.
Reinhard Tartler, KeyID 945348A4
More information about the pkg-multimedia-maintainers