On Mon, 2006-04-10 at 18:41 +0100, Andrew Sobala wrote:
> However, Bob being able to send out one DBus message
> ("InhibitInactiveSleep") in BobsCrackLadenAndCPUIntensiveApp that is
> picked up by the power management daemon in GNOME and KDE, whichever the
> app is running under, may be a good thing. And if people really want to
> standardise this between desktops, this should be the point of
> standardisation.
Agree, the DBus interface should most certainly be common (/me remembers
CDIS and hides in a dark corner).
Eg as a Gentoo user I don't want my system to suspend when I'm compiling
something and leave my workstation. GPM got a call for this (indeed,
InhibitInactiveSleep, although it's implementation as far as I saw might
be flawed a little), but you can't expect every developer doing
something like
if(user_runs_gnome)
do_dbus_call("org.gnome.PowerManager", fooargs,...);
if(user_runs_kde)
do_dbus_call("org.kde.KPowerDaemon", fooargs,...);
if(user_runs_some_other_power_manager)
do_something_else();
etc
As mentioned before, a shared base interface is a must, extra
implementation-specific calls can be added on top of that when
appropriate.
Just my .02,
Ikke
http://www.eikke.com
_______________________________________________
desktop-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/desktop-devel-list