Re: [gpm] Re: Gnome 2.16 Module Proposal: GNOME Power Manager
- From: Ikke <eikke eikke com>
- To: Andrew Sobala <aes gnome org>
- Cc: Shaun McCance <shaunm gnome org>, GnomePowerManager List <gnome-power-manager-list gnome org>, Holger Macht <hmacht suse de>, desktop-devel-list gnome org, richard hughsie com
- Subject: Re: [gpm] Re: Gnome 2.16 Module Proposal: GNOME Power Manager
- Date: Mon, 10 Apr 2006 20:01:08 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]