Redshift Configuration and use


It is a program which adjusts the color temperature of your screen with GTK+ integration. Think about daylight and night light difference. From the developer's page:

“Redshift adjusts the color temperature of your screen according to your surroundings.”

It has been in the repositories since Precise Pangolin 12.04, and you can install redshift-gtk along with it.



Redshift-gtk is a simple user interface. Once installed you will find it in the accessories menus. It is not installed as a dependency and isn't even a recommended package, for the time being.

What it does

It is used to start redshift, and once started, it sits in the tray to allow enabling and disabling redshift, suspend it for a while, or quit. This is all it does, and it does not provide a configuration of any kind. The man and help commands are not very helpful either, especially on the syntax needed for the latitude and longitude.

Configuration File

So here is an example of a working configuration, which you can adapt to your needs. Name it redshift.conf and place it in your $HOME/.config directory, then ajust it to your needs.

; Set the day and night screen temperatures

; 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'

; 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.

Of course, you can play with the temp-day and temp-night values the gamma, and you will have to provide the correct values for "lat" and "lon" according to your geographical position.


Redshift (last edited 2015-05-01 22:11:56 by AToulouse-258-1-38-233)