Re: [gpm] Set screen backlight through dbus




Richard Hughes writes:

On 28 November 2014 at 19:47,  <hong topbug net> wrote:
I tried to set screen backlight through dbus by using the following
command on GNOME:

A bit confused; this works for me:

gdbus call --session --dest org.gnome.SettingsDaemon.Power
--object-path /org/gnome/SettingsDaemon/Power --method
org.gnome.SettingsDaemon.Power.Screen.StepUp

This commit seems to have broken the interface;

commit a4c3299c97ced9c9bcdc69800464103ba47a0a56
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Apr 23 20:04:01 2013 -0400

    power: Use a DBus property for screen brightness

It looks like you can now set the brightness just by writing to the
"Brightness" property on the same interface. I hope that helps.


Thanks for your reply. This is a helpful message for me. However, is
there a reason to break this interface? It seems this is unnecessary.

Thanks,
Hong

Attachment: signature.asc
Description: PGP signature



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