Bug#785017: mate-power-manager: brightness is reset to maximum on every restart

Flos Lonicerae lonicerae at gmail.com
Tue May 12 14:12:19 UTC 2015


Thanks Mike!

2015-05-12 15:46 GMT+08:00 Mike Gabriel <mike.gabriel at das-netzwerkteam.de>:
> Control: tags -1 patch
>
> Hi Flos,
>
> On  Mo 11 Mai 2015 17:58:22 CEST, flos wrote:
>
>> Package: mate-power-manager
>> Version: 1.8.1+dfsg1-5
>> Severity: normal
>>
>> Dear MATE Maintainer,
>>
>> Currently the mate-power-manager could not save the brightness settings
>> after
>> changes. A workaround would be using the 'dconf-editor' or 'gsettings'
>> tools to
>> change the value of the key 'brightness-ac' of schema
>> org.mate.power-manager.
>>
>> I modify the gpm-backlight.c a little so that we can save the brightness
>> settings after every brightness adjustment when ac power supply is used.
>>
>> It seems to me that call back function 'brightness_changed_cb' was
>> attached to
>> 'backlight->priv->brightness' mistakenly. I think we should distinguish
>> the
>> backlight object from the brightness object.
>>
>> Please correct me and please review the patch in the attachment.
>>
>> Thank you very much!
>>
>> Best Regards,
>> Flos
>
>
> I will make upstream aware of your patch and get back to you later once I
> got feedback from upstream.
>
> Mike
> --
>
> DAS-NETZWERKTEAM
> mike gabriel, herweg 7, 24357 fleckeby
> fon: +49 (1520) 1976 148
>
> GnuPG Key ID 0x25771B31
> mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
>
> freeBusy:
> https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb



More information about the pkg-mate-team mailing list