! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Backlight increments - simple fix
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description majest 2018-06-10 17:43:35 CEST
The handling of step size increments in the screen brightness could be improved. A simple solution is as follows (to give logarithmic changes in step size). Unfortunately requires recompilation so unavailable for most users.

a) Open common/xfpm-brightness.c in a text editor.

b) Change line 515:

set_level = MAX (hw_level/1.5, brightness->priv->min_level);

c) Change line 475:

set_level = MIN (hw_level*2 + (hw_level==0), brightness->priv->max_level );


Would someone on the dev side be able to add this code to the next version (1.6.2)?
Comment 1 Simon Steinbeiss editbugs 2020-05-27 00:45:40 CEST
We have added an exponential scale option now so brightness steps are much more nuanced towards the lower end of the brightness spectrum. Furthermore you can now specify the amount of brightness steps.

Bug #14441

Reported by:
majest
Reported on: 2018-06-10
Last modified on: 2020-05-27

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Attachments

Additional information