this post was submitted on 02 Mar 2024
352 points (98.4% liked)

Linux

47958 readers
1217 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
 

This is a short appreciation/user experience story. Tl;Dr I'm enjoying my time on linux

I have been using Linux for a while (gnome for a year with an Intel UHD gpu, and KDE for a couple of months on a recent AMD gpu), and till now there was no brightness slider. Moreover, I have used the same display with windows for several years and there was no slider as well.

As far as I know (I looked up online some years ago, but this info is sometimes hard to find) my display supports DDC/CI but doesn't expose brightness (haven't actually tried).

For some reason, about a week ago a brightness slider appeared on KDE but it didn't do anything. Yesterday while updating some unrelated stuff I noticed the slider again and moved it for shit and giggles, and the brightness actually changed...

I have several questions... and I don't even know which piece of software is responsible for this... but thanks

I have been using Linux on and off for several years, often alongside windows, but I have entirely switched to it (almost, I still have a windows PC that I use once in a while) about 16 months ago. I have to say that Linux does take a lot more effort in getting some things to work, but when everything goes smoothly it's sooo good, and improves every month.

In the span of a year my desktop experience has only got better. But the shock was when I booted up an Ubuntu 16.04 cd I had lying around to fix grub on a dual boot machine and it was barely usable. Now instead it's almost "plug and play". Plus Nvidia cards are getting more and more usable with every update, explicit sync is almost merged, and prime works fine already.

There won't be a year of the Linux desktop anytime soon (there's still too much that needs improvement), but the next years will definitely be exciting.

P.s.: does any of you know why display brightness works now?

all 23 comments
sorted by: hot top controversial new old
[–] [email protected] 168 points 8 months ago (1 children)

I always see "this doesn't work, why?" posts, it's the first time I see a "this works, why?" post XD

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

I am a computer scientist after all

[–] [email protected] 32 points 8 months ago

Flex that chaotic good!

[–] [email protected] 52 points 8 months ago* (last edited 8 months ago) (3 children)

Probably using ddcutil. There is a popular gnome extension for the same thing: https://extensions.gnome.org/extension/2645/brightness-control-using-ddcutil

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

I don't even know this is possible!

[–] [email protected] 4 points 8 months ago

This has been a game changer for me With this and the toggle for light/dark mode I can adjust the brightness of my screen without using the clunky interface of my monitor

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

It works for me as well - Asus VG259Q. I'm surprised my screen even has this feature, and even more surprised you can do that over DisplayPort. Even Windows doesn't have that lol

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

It's a very common feature for monitors, at least in my experience - both of my cheap AOC monitors support it, as well as all the other monitors I've ever connected my laptop to (a few HP and Samsung monitors iirc).

But it also feels kinda janky due to how long the display takes to change the brightness, so maybe that's why Microsoft decided not to support it?

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

Hm, maybe it's an issue specific to your screen? On my end the brightness adjustment is instant

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

Maybe. To be clear the delay isn't that large (my very rough guesstimate is somewhere between 100 and 300 ms, probably more towards the lower end), and if I just click somewhere on the slider, it feels fine.

It only feels janky when I drag the slider and the screen brightness updates in very noticeable steps. But that is how I naturally interact with sliders, so it's hard not to notice it for me.

[–] [email protected] 1 points 8 months ago

Oh, it's the same then, thought we were talking about delay in seconds x3

[–] [email protected] 16 points 8 months ago (2 children)

Is it actually changing your display brightness or is it just doing a visual overlay like flux?

[–] [email protected] 20 points 8 months ago

Real, and will even do all monitors too if you have more than one. I have one that doesn't support DDC and brightness doesn't change.

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

I noticed this as well a few months ago and it did change the monitor brightness for real, but now it broke on my system and wont do it anymore

[–] [email protected] 13 points 8 months ago

There wont be a year of the Linux desktop, it will be little increment in users over time. Plasma 6 is AWESOME.. I noticed this feature with kde 6 so i guess its backed into it

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

This is the commit that "magically" made it work: https://src.fedoraproject.org/rpms/powerdevil/c/7ce3c53429c16e84bf805299b86fcc313701b1e6

Your post may be more constructive if you specified your distro (Fedora 39)

DDC/CI has been (re-)supported by powerdevil since https://invent.kde.org/plasma/powerdevil/-/commit/e4a5e5d3e017ef45979933e14e47408bb3a59dda and included in release starting from Plasma 6.0.0

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

So we are not talking about Plasma 6 but a random system update? What distro are you using? I have a "This is not working, why" story that I would love to get fixed magically: my laptop's brightness control stops working after the laptop sleeps for the first time after booting. No idea what to do about it, for the time being I use xrandr brightness under X ...

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

Not plasma 6, random fedora 39 update

[–] [email protected] 2 points 8 months ago

Interesting, thanks for the answer.

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

Most displays support DDC, the feature has actually been in powerdevil for a while, but disabled due to bugs.

EDIT: modern displays*

[–] [email protected] 4 points 8 months ago

I can change my screens too on desktop, pretty neat.
Unfortunately its a super simple implementation which doesnt take into account the brightness between different screens.

Ideally there should be a master slider and one per screen. The master slider should then use theother sliders current value as scaling factor to change them.
A more complex option could then also allow setting the brightness of each screen which would allow for better setting via the master slider. (not sure if this information is already available)