Live data from Hacker News

KDE Plasma Widget for external monitor brightness adjustment

github.com

21–30 of 65 posts

Re: KDE Plasma Widget for external monitor brightness adjustment

#22
If your distro doesn't have a package for the backend of this plasmoid yet, it invokes the backend with[1]:

    python3 -m ddcci_plasmoid_backend
So you can probably get away with this:

    git clone https://github.com/davidhi7/ddcci-plasmoid \
        && cd $(python3 -c "import site; print(site.getsitepackages()[0])") \
        && ln -s $(cd -)/ddcci-plasmoid/backend/ddcci_plasmoid_backend .
[1]: https://github.com/davidhi7/ddcci-plasmoid/blob/3c002d9822ce...

Re: KDE Plasma Widget for external monitor brightness adjustment

#23

Earlier quoted context omitted.

gddccontrol has been around for ages on Linux and it's not exclusive to a single desktop environment (and I'm sure there's a plethora of alternatives, but that's just the one I use).

>gddccontrol has been around for ages on Linux Linux has many such apps, but many are just CLI based, or buggy/janky GUIs, or just don't work at all, depending on what HW/OS you run. Having a great looking app the integrates seamlessly into your DE and justworks(TM)(hopefully) is big step in the linux world. >but gddccontrol has a GUI, has been supported since 2004 and works fine in 2023 @Garcia98 gddccontrol GUI mig…

Sure, but gddccontrol has a GUI, has been supported since 2004 and works fine in 2023, that's why I find it a bit odd that he didn't know what to recommend to Linux users until now.

Re: KDE Plasma Widget for external monitor brightness adjustment

#24

Earlier quoted context omitted.

>gddccontrol has been around for ages on Linux Linux has many such apps, but many are just CLI based, or buggy/janky GUIs, or just don't work at all, depending on what HW/OS you run. Having a great looking app the integrates seamlessly into your DE and justworks(TM)(hopefully) is big step in the linux world. >but gddccontrol has a GUI, has been supported since 2004 and works fine in 2023 @Garcia98 gddccontrol GUI mig…

Sure, but gddccontrol has a GUI, has been supported since 2004 and works fine in 2023, that's why I find it a bit odd that he didn't know what to recommend to Linux users until now.

I knew about gddccontrol, it's just not what people were looking for when they were asking me about an alternative to Lunar. I obviously gave them any alternative I could find, but all the responses I got were that a simpler easily reachable UI and keyboard shortcuts for changing brightness were what they expected.

Re: KDE Plasma Widget for external monitor brightness adjustment

#25
post #18

Earlier quoted context omitted.

Windows has had support for DDC/CI for a long time.

In what sense is it supported? What functionality is exposed to end users?

Automatic detection of default and supported resolutions and information about DPI? Or is it not the same?

Re: KDE Plasma Widget for external monitor brightness adjustment

#26
post #6

I develop Lunar ( https://lunar.fyi/ ) for controlling monitors on Mac and stumbled upon this gem for Linux which I wanted to share with you. I regularly get asked to recommend something similar to Lunar for Linux and Windows and while there's TwinkleTray for Windows, I didn't have a good recommendation for Linux. Glad this finally exists! A lot of people also use MonitorControl for Mac and might be curious what's th…

I've user Lunar for quite a while, then moved to MonitorControl, and am now on BetterDisplay, which notably includes DDC/CI over the M1 HDMI ports.

Also its ability to fake screens of arbitrary resolutions e.g for headless machines is solid gold.

https://github.com/waydabber/BetterDisplay

Re: KDE Plasma Widget for external monitor brightness adjustment

#27
This is cool, thanks for sharing.

I use a bash script to adjust brightness and contrast from the command line.

I invoke it as `brco 80` etc where 80 sets it to 80%. The script is:

    $ cat `which brco`
    #!/usr/bin/env bash
    set -euo pipefail
    
    # use `ddccontrol -p` (probe) to find the following:
    mydevice="i2c-7"
    
    # brightness
    ddccontrol -r 0x10 -w $1 dev:/dev/$mydevice &> /dev/null
    
    # contrast
    ddccontrol -r 0x12 -w $1 dev:/dev/$mydevice &> /dev/null

Re: KDE Plasma Widget for external monitor brightness adjustment

#28
post #26
post #6

I develop Lunar ( https://lunar.fyi/ ) for controlling monitors on Mac and stumbled upon this gem for Linux which I wanted to share with you. I regularly get asked to recommend something similar to Lunar for Linux and Windows and while there's TwinkleTray for Windows, I didn't have a good recommendation for Linux. Glad this finally exists! A lot of people also use MonitorControl for Mac and might be curious what's th…

I've user Lunar for quite a while, then moved to MonitorControl, and am now on BetterDisplay, which notably includes DDC/CI over the M1 HDMI ports. Also its ability to fake screens of arbitrary resolutions e.g for headless machines is solid gold. https://github.com/waydabber/BetterDisplay

Yes, BetterDisplay got DDC support on HDMI M1 soon after its dev learned that I added it in Lunar: https://github.com/waydabber/BetterDisplay/issues/1361

I’m friends with Istvan (the BetterDisplay dev) from the time he was a Lunar user, and we usually share implementation details for non-Pro features.

Re: KDE Plasma Widget for external monitor brightness adjustment

#29

Earlier quoted context omitted.

>gddccontrol has been around for ages on Linux Linux has many such apps, but many are just CLI based, or buggy/janky GUIs, or just don't work at all, depending on what HW/OS you run. Having a great looking app the integrates seamlessly into your DE and justworks(TM)(hopefully) is big step in the linux world. >but gddccontrol has a GUI, has been supported since 2004 and works fine in 2023 @Garcia98 gddccontrol GUI mig…

Sure, but gddccontrol has a GUI, has been supported since 2004 and works fine in 2023, that's why I find it a bit odd that he didn't know what to recommend to Linux users until now.

Maybe because it's discoverability is bad. I've been looking for something to control screen brightness because I wanted to give Linux another shot, so this random post was a lucky find.

If I look for this topic on ddg I either find a Ubuntu wiki entry(not really relevant to me on suse with KDE), the arch Wiki which focuses solely on technical details and clis. The first ten articles are clis, a lot of them truly strange ones like writing magic numbers into random system files.

Not a single mention of gddc tho, and the manpage is not a very good advertisement either...

Post reply on HN