Add a way to set and get the color temperature.
Submitted by Navid Zamani
Assigned to Xorg Project Team
Link to original bug (#103985)
Description
Currently, People need external tools to set the temperature of their screens, e.g. to avoid blue light at night.
Usually they abuse gamma for this, which of course doesn’t help with 100% white. The tool sct allows setting the temperature, by altering the gamma color mapping tables. A fork of it allows setting the brightness too, which otherwise would conflict: https://github.com/mgudemann/sct/ Additionally, reading the temperature back again, would be necessary aswell, so a slow fading can be implemented via e.g. a a script that runs once every minute, and for other calculation uses. I tried to start writing a patch for sct, to read the temperature too: https://github.com/mgudemann/sct/issues/1
But ideally, this should be implemented right inside of xrandr. Which would make tools like sct, redshift and f.lux unnecessary, and enable many other useful usages.