After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780554 - Screen Brightness - Default minimum level
Screen Brightness - Default minimum level
Status: RESOLVED NOTGNOME
Product: gnome-settings-daemon
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2017-03-26 04:09 UTC by postadelmaga
Modified: 2017-03-27 08:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description postadelmaga 2017-03-26 04:09:37 UTC
Problem:
- when I set the screen brightness to the lower level using the brightness gnome-shell control ( or the keyboard keys ) this is too low for any use.

- there is not way to override this value ( or maybe I am wrong ? ) using the js bindings.

See this stack overflow question with a similar request: http://stackoverflow.com/questions/41704818/gnome-shell-extension-override-c-api

It would be nice if either:
 - we can change this behavior using an extension 
 - there was a setting to change the lower values ( and maybe the step size)

Thanks for your effort in creating one of the best DE for linux :)
Comment 1 Florian Müllner 2017-03-26 09:55:05 UTC
gnome-shell doesn't actually set the brightness, it simply synchronizes a slider value to a D-Bus property exposed by a gnome-settings-daemon helper.

(For the use case mentioned on stack-overflow: It is possible to disable notifications on the lock screen for the music player, so the screen won't wake up every time a new track plays. No brightness hacks needed ....)
Comment 2 Bastien Nocera 2017-03-26 15:55:36 UTC
(In reply to postadelmaga from comment #0)
> Problem:
> - when I set the screen brightness to the lower level using the brightness
> gnome-shell control ( or the keyboard keys ) this is too low for any use.

The levels are provided by the kernel. On some systems the lowest level corresponds to "no backlight at all", which is a pain. If the kernel provided the information, then we could do something with it. Alas, it doesn't.

You might want to hack this on your system in the meanwhile:
https://git.gnome.org//browse/gnome-settings-daemon/tree/plugins/power/gsd-backlight-helper.c#n122
Comment 3 postadelmaga 2017-03-27 08:31:31 UTC
The lower value on my system is still visible ( it is set to 1 because the max is >100 (284) )

So there is no way to rewrite this behavior with a JS extension ?
- any plan to implement this ?

Thanks for pointing me to the code, I ll try to recompile `gnome-settings-daemon`
Comment 4 Florian Müllner 2017-03-27 08:38:01 UTC
(In reply to postadelmaga from comment #3)

> So there is no way to rewrite this behavior with a JS extension ?

No.