LinuxVillage community documentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:configuration:start [2015/05/02 14:40]
melodie created
en:configuration:start [2015/05/02 15:14] (current)
melodie [Configuration File]
Line 1: Line 1:
-====== Redshift Configuration ​and use ======+====== Redshift Configuration ======
  
 ===== Redshift ===== ===== Redshift =====
Line 6: Line 6:
 From the developer'​s page: [[http://​jonls.dk/​redshift/​]] From the developer'​s page: [[http://​jonls.dk/​redshift/​]]
  
-//Redshift adjusts the color temperature of your screen according to your surroundings.//+  ​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 additionnally to it. It has been in the repositories since Precise Pangolin 12.04, and you can install redshift-gtk additionnally to it.
  
-==== Redshift-gtk ====+===== Redshift-gtk ​=====
  
  
Line 22: Line 22:
  
 ====== Configuration File ====== ====== 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. 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.
- +[quote][redshift] 
-[redshift] +Set the day and night screen temperatures
-Set the day and night screen temperatures+
 temp-day=5800 temp-day=5800
 temp-night=4800 temp-night=4800
  
-Enable/​Disable a smooth transition between day and night +Enable/​Disable a smooth transition between day and night 
-0 will cause a direct change from day to night screen temperature. +0 will cause a direct change from day to night screen temperature.  
-1 will gradually increase or decrease the screen temperature+1 will gradually increase or decrease the screen temperature
 transition=1 transition=1
  
-Set the screen brightness. Default is 1.0 +Set the screen brightness. Default is 1.0 
-;brightness=0.9 +#brightness=0.9 
-It is also possible to use different settings for day and night since version 1.8. +It is also possible to use different settings for day and night since version 1.8. 
-;brightness-day=0.7 +#brightness-day=0.7 
-;brightness-night=0.4 +#brightness-night=0.4 
-Set the screen gamma (for all colors, or each color channel individually)+Set the screen gamma (for all colors, or each color channel individually)
 gamma=0.9 gamma=0.9
 +#​gamma=0.8:​0.7:​0.8
  
-;​gamma=0.8:​0.7:​0.8 +Set the location-provider:​ '​geoclue',​ '​gnome-clock',​ '​manual'​ 
-Set the location-provider:​ '​geoclue',​ '​gnome-clock',​ '​manual'​ +type '​redshift -l list' to see possible values 
-type '​redshift -l list' to see possible values +The location provider settings are in a different section.
-The location provider settings are in a different section.+
 location-provider=manual location-provider=manual
  
-Set the adjustment-method:​ '​randr',​ '​vidmode'​ +Set the adjustment-method:​ '​randr',​ '​vidmode'​ 
-type '​redshift -m list' to see all possible values +type '​redshift -m list' to see all possible values 
-'​randr'​ is the preferred method, '​vidmode'​ is an older API +'​randr'​ is the preferred method, '​vidmode'​ is an older API 
-but works in some cases when '​randr'​ does not. +but works in some cases when '​randr'​ does not. 
-The adjustment method settings are in a different section.+The adjustment method settings are in a different section.
 adjustment-method=randr adjustment-method=randr
  
-Configuration of the location-provider:​ +Configuration of the location-provider:​ 
-type '​redshift -l PROVIDER:​help'​ to see the settings +type '​redshift -l PROVIDER:​help'​ to see the settings 
-e.g. '​redshift -l manual:​help'​+e.g. '​redshift -l manual:​help'​
 [manual] [manual]
 lat=43 lat=43
 lon=1 lon=1
  
-Configuration of the adjustment-method +Configuration of the adjustment-method 
-type '​redshift -m METHOD:​help'​ to see the settings +type '​redshift -m METHOD:​help'​ to see the settings 
-ex: '​redshift -m randr:​help'​ +ex: '​redshift -m randr:​help'​ 
-In this example, randr is configured to adjust screen 1. +In this example, randr is configured to adjust screen 1.  
-Note that the numbering starts from 0, so this is actually the second screen.+Note that the numbering starts from 0, so this is actually the second screen.
 [randr] [randr]
-screen=0 +screen=0[/quote]
  
 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. 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.
- 
-Enjoy! 
  

In Other Languages
QR Code
QR Code en:configuration:start (generated for current page)