Comment 3 for bug 1967335

Revision history for this message
Yhojann Aguilera (whk102) wrote :

Now from Ubuntu 24.04 can change brightness using

- From Ubuntu Desktop session (wayland): `sudo ddcutil setvcp 10 5 --display 1`.
- From Xorg session: `xrandr --output HDMI-1 --brightness 0.5`.

The idea is that the brightness change could be done in a friendly way from the gnome screen brightness control instead of the terminal. For example, if the computer supports backlight, make the change from this class, but do it at a high level with xrandr or ddcutil depending on whether the user uses Ubuntu desktop or xorg.