Hacker News new | ask | show | jobs
by unicornporn 1784 days ago
Very cool, had no idea this was even possible. Is there anything like this for Linux?
4 comments

On Linux, there is a very comprehensive CLI utility called ddcutil: https://github.com/rockowitz/ddcutil

The same author also made some kind of UI for it but I haven't used it so I don't know how it looks or performs: https://github.com/rockowitz/ddcui

Thanks!
There is https://www.ddcutil.com/ It has a command line utility and a qt GUI. Unfortunately the GUI is a bit convoluted, because it exposes every option that you can change on the monitor. I once almost bricked my LG monitor, because I accidentally locked the hardware buttons on my monitor, via an undocumented manufacturer specific option.

For gnome there is https://extensions.gnome.org/extension/2645/brightness-contr... This addon adds brightness sliders in the power menu for your external monitors.

> Unfortunately the GUI is a bit convoluted, because it exposes every option that you can change

Wow, color me surprised. That doesn't sound like a desktop Linux app at all :)

>I once almost bricked my LG monitor, because I accidentally locked the hardware buttons on my monitor, via an undocumented manufacturer specific option.

Reminds of the good old days of late 90s / early 2000s desktop Linux, when the wrong video timing settings in your XFree86 config could make your CRT monitor (almost literally) explode.

But I'm sure 2022 will be "the year of Linux on the desktop", finally :)

> But I'm sure 2022 will be "the year of Linux on the desktop", finally :)

With the Steamdeck running Arch Linux, I'm sure you're right. :)

Note that ddcutil usually isn't usable without root, so that GNOME extension seems unlikely to work.
There is an unofficial Linux kernel module that allows userspace control of brightness (in a similar way to how laptop brightness is controllable):

https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux

I've successfully used DDCControl: http://ddccontrol.sourceforge.net in the past.
I think that moved to GitHub:

https://github.com/ddccontrol/ddccontrol