4 ms·
As I cannot try it (I'm using 64-bit Linux), I peeked into the executable and found out that it is using XF86VidModeSetGammaRamp and XF86VidModeGetGammaRamp fun
by plaes 17y ago
As I cannot try it (I'm using 64-bit Linux), I peeked into the executable and found out that it is using XF86VidModeSetGammaRamp and XF86VidModeGetGammaRamp functions internally and it takes latitude and zip code (not longitude, so it is US-only).
Armed with location and time, program already knows how much sunlight there should be (plus-minus some error) and then the daemon slowly changes the color temperature of the monitor...
- lucumo 17y ago> As I cannot try it (I'm using 64-bit Linux) There's a Linux link on the page. It works on 64-bit too.
- plaes 17y agoYes, I found it, downloaded it and disassembled it... Of course it would work on amd64 if you have also 32-bit userspace (ie multilib support) installed and 32-bit emulation enabled... but I don't.