Linux

Xubuntu 11.10 & Redshift Howto

Following on from my previous rant/workaround in getting your USB headset to work, it is time to save our eyes by configuring “Redshift. As the developer puts it:

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night. This program is inspired by f.lux (read here for the reason why I started this project).

In my case, simply installing it via “Ubuntu Software Center” didn’t work, why should it? It would be too easy then, so anyway.

1. Install redshift from Ubuntu Software Center

Installing Redshift via Ubuntu Software Center

2. Before running Redshift for the first time we’ll create a config file with some preferences:

nano ~/.config/redshift.conf

3. Paste the following config in the file we just created:


; Global settings
[redshift]
temp-day=6500
temp-night=4500
transition=1
gamma=0.8:0.7:0.8
location-provider=manual
adjustment-method=vidmode

; The location provider and adjustment method settings
; are in their own sections.
[manual]
lat=58.4
lon=15.6

[vidmode]
screen=0

In the above code a couple of things you need to set so that it will work correctly:

1. temp-day and temp-night the higher the number the brighter is going to be, and the latter the opposite (the lower the number the darker is going to be)
2. lat and lon are your coordinates so that it knows when is daylight and nighttime were you are. I used http://itouchmap.com/latlong.html to look mine up

Once you have configured it to your liking save it and then we’ll set it to run at startup by simply going to Menu | Settings Manager | Session and Startup | Application Autostart tab and simply click the Add button and fill in the details in the window:

Adding Redshift to startup

twitterredditpinterestlinkedinmail

6 Comments

  1. Thanks for this! I never would have gotten redshift working without this post. If you install and launch it without making the config file, it just crashes.

    And f.lux (http://stereopsis.com/flux/) really screws up the colors on my monitor. f.lux produces an almost a tie-dye effect for me, for whatever reason.

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *