Set Color Temperature utility enhanced
I posted about the Dcontrol app now builtin to Easy:
- New Dcontrol PET — December 24, 2024
The problem, though, is it requires an enhanced 'sct' utility, whereas Easy has an older version of 'sct'. Roger (radky) sent me a message; reproducing part of it:
If I understand correctly you are using a modified version of
a Dcontrol-EasyOS-2.1.pet provided by forum member Sofiya. Based
on timestamps it seems the dcontrol files in this pet were
extracted from the current JWMDesk-3.6. Apparently, the only
modified file is the main dcontrol file and the only change is
the increase in version from 1.4 to 2.1.
...
If I understand correctly, you will use the sct binary
already included in EasyOS. I don't know the source of that
binary but you might consider the following excerpt from the
JWMdesk release notes:
Note-3: The original release of the sct utility by Ted Unangst has a singular function - to change the screen color temperature via the RandR X window system protocol. However, Display Control requires an updated version of sct (with code from the mgudemann, faf0 and mfachal forks). Specifically, this updated version of sct adds (1) screen brightness control and (2) multi-monitor support and (3) baseline adjustment of color temperatures in smooth 100K increments rather than the original coarse 500K increments.
Importantly, the enhanced sct binary of dcontrol supports a
single command line for simultaneous software modulation of
screen brightness and color temperature. This is independent of
the hardware backlight option of dcontrol.
Roger also sent me a link that explains the concept of color temperature:
https://forum.puppylinux.com/viewtopic.php?p=89052#p89052
I have uploaded Roger's enhanced sct source here:
https://distro.ibiblio.org/easyos/source/alphabetical/s/
Also, compiled the new sct for both Scarthgap and Daedalus and
created PETs. These will be in the next releases, and Dcontrol
will then work properly.
Tags: easy