{"id":145,"date":"2016-03-05T22:29:13","date_gmt":"2016-03-05T22:29:13","guid":{"rendered":"http:\/\/info.ffteixeira.net\/2016\/03\/05\/f-lux-colour-temperature-adjustment\/"},"modified":"2016-03-05T22:29:13","modified_gmt":"2016-03-05T22:29:13","slug":"f-lux-colour-temperature-adjustment","status":"publish","type":"post","link":"https:\/\/blog.ffteixeira.net\/?p=145","title":{"rendered":"F.lux &#8211; Colour Temperature Adjustment"},"content":{"rendered":"<p>f.lux makes your computer screen look like the room you&#039;re in, all the time. When the sun sets, it makes your computer look like your indoor lights. In the morning, it makes things look like sunlight again.<\/p>\n<p>&nbsp;<\/p>\n<h1>F.lux on Linux<\/h1>\n<p>&nbsp;<\/p>\n<p>Download the daemon https:\/\/justgetflux.com\/linux.html<\/p>\n<p>Then I put it into my PATH:<\/p>\n<p>&nbsp;\/home\/&lt;user&gt;\/bin\/xflux<\/p>\n<p>In order to start it you have to provide your geographical location via command line.<br \/>https:\/\/justgetflux.com\/map.html<\/p>\n<p>If you want it to be started on boot, create a file called xflux.desktop in ~\/.config\/autostart (I&#039;m using gnome maybe\/probably this is different for other desktop environments, not sure though). The content of this file is:<\/p>\n<p>[Desktop Entry]<br \/>Encoding=UTF-8<br \/>Version=1.0<br \/>Name=xflux<br \/>Comment=Adapts screen color temperatur according to daytime<br \/>Exec=\/home\/&lt;user&gt;\/\/bin\/xflux -l &lt;latitude&gt; -g &lt;longitude&gt;<br \/>Terminal=false<br \/>Type=Application<br \/>Name[en_US]=xflux<\/p>\n<p>If you&#039;re living in the US you can also use -z &lt;zipcode&gt; instead of latitude and longitude.<\/p>\n<p>Lisbon<br \/>38.7223, -9.1393<\/p>\n<div class=\"content\">\n<div class=\"bash\" style=\"font-family:monospace\">\n<p>&nbsp;<\/p>\n<p>Note:<\/p>\n<div style=\"font-weight: normal;vertical-align:top;font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">\n<h2>f.lux: what&#039;s my lat\/long?<\/h2>\n<p>https:\/\/justgetflux.com\/map.html<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>f.lux makes your computer screen look like the room you&#039;re in, all the time. When the sun sets, it makes your computer look like your indoor lights. In the morning, it makes things look like sunlight again. &nbsp; F.lux on &hellip; <a href=\"https:\/\/blog.ffteixeira.net\/?p=145\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-145","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=145"}],"version-history":[{"count":0,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/145\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}