This post is for me or whomever wants to use my configuration file for Redshift on #Linux. As stated on the official web-page;
“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 (please see this post for the reason why I started this project).” — http://jonls.dk/redshift/
Since I use Ubuntu Wily Werewolf, for some odd reason f.lux does not work. So, I was told to try Redshift. It’s definitely a great application, but wish the GTK applet for Gnome, MATE, or whatever Window Manager you use was a little more intuitive like f.lux. Without Redshift, my screen brightness felt way too bright, and I think my adjustments successfully brought down the eyestrain to a maximum. For somebody who already wears glasses, this is just relief.
The application transitions the colour temperature, brightness, and gamma directly within your location and time of day automatically leaving with less eyestrain and will perhaps fix your sleeping schedule.
The configuration file you adjust is non-existent when you install the application from the Ubuntu repositories. So, that being said just create a file in ~/.config/redshift.conf
Below you’ll find my configuration file:
; Set the day and night screen temperatures
; These are not the default settings that came with the configuration. Pretty well every ;enabled setting has changed because my screen was too bright overall and had too ;much yellow luminosity.
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature
; Set the screen brightness. Default is 1.0
; It is also possible to use different settings for day and night since version 1.8.
; Set the screen gamma (for all colors, or each color channel individually)
; Set the location-provider: ‘geoclue’, ‘gnome-clock’, ‘manual’
; type ‘redshift -l list’ to see possible values
; The location provider settings are in a different section.
; Set the adjustment-method: ‘randr’, ‘vidmode’
; type ‘redshift -m list’ to see all possible values
; ‘randr’ is the preferred method, ‘vidmode’ is an older API
; but works in some cases when ‘randr’ does not.
; The adjustment method settings are in a different section.
; Configuration of the location-provider:
; type ‘redshift -l PROVIDER:help’ to see the settings
; e.g. ‘redshift -l manual:help’
lat=USE LATITUDE & LONGITUDE COORDINATES WITHOUT DEGREE SYMBOL
lon=USE LATITUDE & LONGITUDE COORDINATES WITHOUT DEGREE SYMBOL
;Check in google to see if they’re correct before using. I’ve removed my coordinates ;because of privacy concerns.
; Configuration of the adjustment-method
; type ‘redshift -m METHOD:help’ to see the settings
; ex: ‘redshift -m randr:help’
; In this example, randr is configured to adjust screen 1.
; Note that the numbering starts from 0, so this is actually the second screen.
Please leave a message if you’ve successfully used this post to configure Redshift. Though, you’re obligated to do what you want.