this post was submitted on 27 Nov 2023
213 points (98.6% liked)

Linux

48220 readers
723 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Anyone here struggle with trying to adjust brightness on Gnome in low light? At the low end, the steps are way too far apart, and at high brightness they're almost imperceptible. Every other operating system uses a brightness curve that better matches human perception.

I've improved the brightness control of the Gnome settings daemon, using a bezier curve based brightness curve. I've also written all the appropriate tests which it passes. With this implementation, the change in brightness between each step should be perceptually identical, providing more nuance at low brightness and faster control at high brightness.

Would you all like to see this become a part of Gnome? The MR is about 4 weeks old now and the maintainers haven't looked at it yet so I'm looking to gauge public interest and see if users want to see it merged.

all 20 comments
sorted by: hot top controversial new old
[–] [email protected] 31 points 11 months ago (1 children)

The MR is about 4 weeks old now and the maintainers haven’t looked at it yet

Looks like someone gave a review about 15hrs before this post

[–] [email protected] 14 points 11 months ago

Yep, I'm working through the review. He's a contributor though not a maintainer.

[–] [email protected] 24 points 11 months ago (1 children)

This sounds like a big improvement to me. Can users vote for mr?

[–] [email protected] 11 points 11 months ago (1 children)

You can react to the MR with an emoji if you have a gnome gitlab account. I'm not sure if there are mechanisms to vote for MRs other than that.

[–] [email protected] 19 points 11 months ago* (last edited 11 months ago) (1 children)

Thank you.

I hate that most Linux brightness controls assume that humans perceive brightness linearly for some reason. I don't want a flash bang in dark surroundings when I forget to use the slider. I don't want to press my brightness up key a thousand times or resort to the slider in bright surroundings.

So yes, please merge this.

[–] [email protected] 0 points 11 months ago

You get it. That's exactly what made me write this MR.

[–] [email protected] 14 points 11 months ago

Sounds amazing to me. I don't use gnome on a laptop much thusfar but I'd definitely prefer what you describe here

[–] [email protected] 10 points 11 months ago

I can see you've gotten some code review so I will just eagerly watch as this gets worked out and eventually merged.

I never had an issue with the backlight curve or lack thereof however a friend recently demoed a similar impl they put together for hyprland and it is a very nice change.

Looking forward to seeing it in the next Gnome release 🤞

[–] [email protected] 9 points 11 months ago (1 children)

Sounds great, and is very welcome! Please merge. Thank you. Do you guys have any idea why ddc/ci controls for brightness control of external screens are not yet implemented in any major De? It's the same on windows, still not part of the Os. Third party tools available since ages.

[–] [email protected] 4 points 11 months ago (1 children)

there is a ddcci dkms driver that exposes displays as Linux backlight devices. That integrates them into all DEs!

[–] [email protected] 2 points 11 months ago (1 children)

But are there any DEs that make use of this and include setting screen brightness on external screens as easy as for laptops? Is it because each screen manufacturer implements altering brightness/contrast/etc. via ddcci differently?

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

yes, all of them. That's how laptop screen brightness is controlled

[–] [email protected] 9 points 11 months ago

This is really cool. I would like to see it merged

[–] [email protected] 7 points 11 months ago

Didn't know I wanted this, unfortunately I use Cinnamon, but this is a great feature!

[–] [email protected] 5 points 11 months ago

I run GNOME on my laptop and I'd definitely love to see more robust brightness control. Thanks for putting in the work to make this happen.

[–] [email protected] 5 points 11 months ago

I only use gnome on my laptop, where I luckily have buttons to control brightness, but this seems like a really good thing to get implemented.