redshift
Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revizePředchozí verzeNásledující verze | Předchozí verze | ||
redshift [2015/05/12 19:06] – uranusak | redshift [2018/01/10 09:07] (aktuální) – uranusak | ||
---|---|---|---|
Řádek 3: | Řádek 3: | ||
Web: [[http:// | Web: [[http:// | ||
- | Upravuje teplotu barev monitoru, výhodné pro práci v noci, méně unavuje oči. (nedoporučuji při práci s grafikou a barvami) | + | Upravuje teplotu barev monitoru, výhodné pro práci v noci, méně unavuje oči (nedoporučuji při práci s grafikou a barvami). Změna barev monitoru probíhá pozvolna, podle západu slunce (musíte nastavit alespoň přibližné souřadnice vaší polohy) |
< | < | ||
- | aptitude | + | apt install redshift gtk-redshift |
</ | </ | ||
+ | Po instalaci musíte vytvořit a nastavit vlastní konfigurační soubor. Na webu [[http:// | ||
<file TXT ~/ | <file TXT ~/ | ||
- | ; Global settings for redshift | ||
[redshift] | [redshift] | ||
- | ; Set the day and night screen temperatures | + | temp-day=6500 |
- | temp-day=5700 | + | temp-night=2700 |
- | temp-night=3500 | + | |
- | + | ||
- | ; Enable/ | + | |
- | ; 0 will cause a direct change from day to night screen temperature. | + | |
- | ; 1 will gradually increase or decrease the screen temperature. | + | |
transition=1 | transition=1 | ||
- | + | gamma=1 | |
- | ; 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) | + | |
- | gamma=0.8 | + | |
- | ; | + | |
- | ; This can also be set individually for day and night since | + | |
- | ; version | + | |
- | ; | + | |
- | ; | + | |
- | + | ||
- | ; Set the location-provider: | + | |
- | ; type ' | + | |
- | ; The location provider settings are in a different section. | + | |
location-provider=manual | location-provider=manual | ||
- | |||
- | ; Set the adjustment-method: | ||
- | ; type ' | ||
- | ; ' | ||
- | ; but works in some cases when ' | ||
- | ; The adjustment method settings are in a different section. | ||
adjustment-method=randr | adjustment-method=randr | ||
- | ; Configuration of the location-provider: | ||
- | ; type ' | ||
- | ; ex: ' | ||
- | ; Keep in mind that longitudes west of Greenwich (e.g. the Americas) | ||
- | ; are negative numbers. | ||
[manual] | [manual] | ||
lat=49.11 | lat=49.11 | ||
lon=16.36 | lon=16.36 | ||
- | ; Configuration of the adjustment-method | ||
- | ; type ' | ||
- | ; ex: ' | ||
- | ; In this example, randr is configured to adjust screen 1. | ||
- | ; Note that the numbering starts from 0, so this is actually the | ||
- | ; second screen. If this option is not specified, Redshift will try | ||
- | ; to adjust _all_ screens. | ||
[randr] | [randr] | ||
- | screen=1 | + | screen=0 |
</ | </ | ||
+ | Ověřit funkčnost vašeho nastavení můžete v terminálu příkazem '' | ||
- | Redshift zapnete následujícím příkazem, informace o parametrech | + | Pokud jste nainstalovali |
- | + | ||
- | < | + | |
- | redshift | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | Pokud je redshift spuštěn, lze jej dočasně zapnout vypnout signálem USR1 | + | |
- | < | + | |
- | pkill -USR1 redshift | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | + |
redshift.1431450404.txt.gz · Poslední úprava: 2015/05/12 19:06 autor: uranusak