Code Monkey home page Code Monkey logo

Comments (7)

kennylevinsen avatar kennylevinsen commented on May 27, 2024 3

The right thing to do is just to support multiple devices in /sys/class/backlight. A user can then install ddcci-driver-linux (currently an out-of-tree module), which through the ddcci-backlight module provides backlight interfaces for external displays that work exactly like intel_backlight.

WIth multiple device support, there's nothing for brightnessctl to do. It's not a good idea to implement the user-space approach for external display management, as it's slow, complicated, and a major hack. Just hope for ddcci-driver-linux to be upstreamed.

from brightnessctl.

kujaw avatar kujaw commented on May 27, 2024

I've just read deeper that the tool does not manage external monitor brightness by design. So this issue is not a bug, rather may be treated as an feature request.

from brightnessctl.

Hummer12007 avatar Hummer12007 commented on May 27, 2024

You can use ddcutil for that. I will keep this open for now.

from brightnessctl.

Hummer12007 avatar Hummer12007 commented on May 27, 2024

It works already

from brightnessctl.

almir-campos avatar almir-campos commented on May 27, 2024

@kennylevinsen
I just would like to understand a little bit more about why you said "WIth multiple device support, there's nothing for brightnessctl to do".

Until I read your sentence I thought it would be quite reasonable to use the same program (in this case brightnessctl) to control the brightness of multiple monitors. But now I'm wondering if I'm missing something.

I read that you also said that "The right thing to do is just to support multiple devices in /sys/class/backlight.". Is that the case of xrandr, for example? Even if it is, it seems the backlight thing seems to be transparent to the user - we just run xrandr ... --brightness ... and that's it.

Could you clarify, please?

Thank you.

from brightnessctl.

Hummer12007 avatar Hummer12007 commented on May 27, 2024

there's nothing for brightnessctl to do implies that if the system has ddci-driver-linux installed, the monitors will be exposed in /sys/class/backlight, and thus brightnessctl will be able to deal with them without any changes.

from brightnessctl.

Hummer12007 avatar Hummer12007 commented on May 27, 2024

I might not be against a PR which would add direct DDCI (or w/e it's called) support.

from brightnessctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.