<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>ubuntu redshift f.lux on wojsznis.eu</title><link>https://wojsznis.eu/categories/ubuntu-redshift-f.lux/</link><description>Recent content in ubuntu redshift f.lux on wojsznis.eu</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Tue, 23 Oct 2012 00:00:00 +0000</lastBuildDate><atom:link href="https://wojsznis.eu/categories/ubuntu-redshift-f.lux/index.xml" rel="self" type="application/rss+xml"/><item><title>Winter is coming... so protect your eyes with Redshift</title><link>https://wojsznis.eu/blog/2012/10/23/winter-is-coming-so-protect-your-eyes-with-redshift/</link><pubDate>Tue, 23 Oct 2012 00:00:00 +0000</pubDate><guid>https://wojsznis.eu/blog/2012/10/23/winter-is-coming-so-protect-your-eyes-with-redshift/</guid><description><![CDATA[<p>As they say - winter is coming - and that&rsquo;s mean the day is getting shorter and shorter. Nowadays it&rsquo;s getting dark quite fast out here so maybe it&rsquo;s time to adjust the color temperature and the brightness of your screen accordingly to the time of the day/night? There are two alternatives that I know of that can help you with that:</p>
<ul>
<li>
<p>first one is <a href="http://stereopsis.com/flux/">f.lux</a> - I have used it while I was working under windows for most of the time, unfortunately linux distribution is a little behind and it still didn&rsquo;t get the support for Ubuntu 12.10 and it has some problems with supporting multiple monitors (it may be not true while you read it tho)</p>
</li>
<li>
<p>the second one (that I&rsquo;m currently using) is <a href="http://jonls.dk/redshift/">Redshift</a> - and that piece of software you can install directly from ubuntu repositories with no fuss at all
Just run <code>sudo apt-get install gtk-redshift</code> to install it with simple GTK integration. Here&rsquo;s configuration that I use:</p>
</li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#75715e"># ~/.config/redshift.conf</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">[</span>redshift<span style="color:#f92672">]</span>
</span></span><span style="display:flex;"><span>location-provider<span style="color:#f92672">=</span>manual
</span></span><span style="display:flex;"><span>adjustment-method<span style="color:#f92672">=</span>vidmode
</span></span><span style="display:flex;"><span>brightness<span style="color:#f92672">=</span>0.88
</span></span><span style="display:flex;"><span>temp-day<span style="color:#f92672">=</span><span style="color:#ae81ff">6500</span>
</span></span><span style="display:flex;"><span>temp-night<span style="color:#f92672">=</span><span style="color:#ae81ff">5000</span>
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">[</span>manual<span style="color:#f92672">]</span>
</span></span><span style="display:flex;"><span>lat<span style="color:#f92672">=</span>here.goes
</span></span><span style="display:flex;"><span>lon<span style="color:#f92672">=</span>your.location
</span></span></code></pre></div><p>Other example <a href="http://jonls.dk/2010/10/redshift-1-6-released/">can be found here</a>, feel free to adjust the settings with trial and error method and give your eyes some rest :).</p>]]></description><content:encoded><![CDATA[<p>As they say - winter is coming - and that&rsquo;s mean the day is getting shorter and shorter. Nowadays it&rsquo;s getting dark quite fast out here so maybe it&rsquo;s time to adjust the color temperature and the brightness of your screen accordingly to the time of the day/night? There are two alternatives that I know of that can help you with that:</p>
<ul>
<li>
<p>first one is <a href="http://stereopsis.com/flux/">f.lux</a> - I have used it while I was working under windows for most of the time, unfortunately linux distribution is a little behind and it still didn&rsquo;t get the support for Ubuntu 12.10 and it has some problems with supporting multiple monitors (it may be not true while you read it tho)</p>
</li>
<li>
<p>the second one (that I&rsquo;m currently using) is <a href="http://jonls.dk/redshift/">Redshift</a> - and that piece of software you can install directly from ubuntu repositories with no fuss at all
Just run <code>sudo apt-get install gtk-redshift</code> to install it with simple GTK integration. Here&rsquo;s configuration that I use:</p>
</li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#75715e"># ~/.config/redshift.conf</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">[</span>redshift<span style="color:#f92672">]</span>
</span></span><span style="display:flex;"><span>location-provider<span style="color:#f92672">=</span>manual
</span></span><span style="display:flex;"><span>adjustment-method<span style="color:#f92672">=</span>vidmode
</span></span><span style="display:flex;"><span>brightness<span style="color:#f92672">=</span>0.88
</span></span><span style="display:flex;"><span>temp-day<span style="color:#f92672">=</span><span style="color:#ae81ff">6500</span>
</span></span><span style="display:flex;"><span>temp-night<span style="color:#f92672">=</span><span style="color:#ae81ff">5000</span>
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">[</span>manual<span style="color:#f92672">]</span>
</span></span><span style="display:flex;"><span>lat<span style="color:#f92672">=</span>here.goes
</span></span><span style="display:flex;"><span>lon<span style="color:#f92672">=</span>your.location
</span></span></code></pre></div><p>Other example <a href="http://jonls.dk/2010/10/redshift-1-6-released/">can be found here</a>, feel free to adjust the settings with trial and error method and give your eyes some rest :).</p>]]></content:encoded></item></channel></rss>