UPower - display backlight

Gary Ching-Pang Lin glin at suse.com
Sun Dec 4 18:01:01 PST 2011


2011/12/4 Serghei Amelian <serghei at thel.ro>:
> On Sunday 04 December 2011 07:13:47 you wrote:
> [...]
>
>> > The question is: will be possible to include into upower support for
>> > controlling brigtness via ACPI (similar to
>> > org.freedesktop.UPower.KbdBacklight) ?
>>
>> http://lists.freedesktop.org/archives/devkit-devel/2009-July/000300.html
>>
>> I hope this answers your question
>
>
> Yes, thank you. But the problem remains. Any hint from gnome/xfce developers
> who made brightness control?
>
The backlight control in gnome-settings-daemon:

http://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/power/gsd-power-manager.c#n2446

It uses gnome-rr which is based on XRANDR or a fallback helper:

http://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/power/gsd-backlight-helper.c

Cheers,

Gary Lin


More information about the devkit-devel mailing list