<story><title>Sct – set color temperature</title><url>http://www.tedunangst.com/flak/post/sct-set-color-temperature</url></story><parent_chain></parent_chain><comment><author>rogerbinns</author><text>Note that the dependencies aren&amp;#x27;t because of setting the colour temperature, but to get your location information (see geoclue in the list).  geoclue has several providers, but a common one for desktop machines is to connect to a network service that does geoip.  Consequently most of the dependencies arrive due to that (eg proxies, crypto, glue code for object models to do all that, and some innocent bystanders).&lt;p&gt;The location information is used so that redshift can alter the colour temperature during the day (less needed) and dusk, evening and night (very needed).</text></comment>
<story><title>Sct – set color temperature</title><url>http://www.tedunangst.com/flak/post/sct-set-color-temperature</url></story><parent_chain></parent_chain><comment><author>taneliv</author><text>Cool! Or, warm depending on parameter.&lt;p&gt;On Ubuntu includes are apparently broken, complaining about strings.h included from Xlibint.h ...&lt;p&gt;There&amp;#x27;s probably a yak to shave in that. However, if you&amp;#x27;re lazy and hit the same problem, you can compile a functional sct by lifting declarations of i and c outside their loops and dropping &amp;quot;-std=c99&amp;quot; from the command line.</text></comment>