Re: [gpm] gnome-power-manager dbus api



On 28 April 2010 21:08, Michael Wood <x3n me uk gmail com> wrote:
> I'm just trying to hack up a little script to put my CPU governor into
> it's "power save" policy, i'd like it to do this when dpms has shut off
> the screen by querying something like:
>
> dest=org.gnome.PowerManager serial=2 path=/org/gnome/PowerManager;
> interface=org.gnome.PowerManager; member=GetDpmsMode

We're no longer providing this as it makes little sense when we can
just turn of XRandR screens in the event of a docked laptop. You
really don't want to change the governor based on the backlight state.
See http://www.codon.org.uk/~mjg59/power/good_practices.html

> http://live.gnome.org/GnomePowerManager/FAQ#How_do_I_query_or_do_actions_on_gnome-power-manager_from_my_shell_script.3F

I'll update the FAQ now.

Richard.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]