четвер, 20 листопада 2014 р.

"Нічний режим" на моніторі

Під час нічних астрономічних спостережень виникає потреба у комп’ютері, а яскраве світло монітора порушує нічну адаптацію очей.
Щоб цього уникнути, кольорову гаму монітора змінюють у бік червоних відтінків.

Відкриваємо Термінал, та виконуємо команди:
sudo apt-get install redshift
redshift -O 1000

і наш монітор "почервоніє".

Щоб повернути кольорову гаму до звичайної, у Терміналі виконаємо команду:
redshift -x

Довідка для користувачів викликається за допомогою команди redshift -h:

oleg@oleg:~$ redshift -h
Usage: redshift -l LAT:LON -t DAY:NIGHT [OPTIONS...]

Set color temperature of display according to time of day.

  -h        Display this help message
  -v        Verbose output
  -V        Show program version

  -b DAY:NIGHT    Screen brightness to apply (between 0.1 and 1.0)
  -c FILE    Load settings from specified configuration file
  -g R:G:B    Additional gamma correction to apply
  -l LAT:LON    Your current location
  -l PROVIDER    Select provider for automatic location updates
          (Type `list' to see available providers)
  -m METHOD    Method to use to set color temperature
          (Type `list' to see available methods)
  -o        One shot mode (do not continuously adjust color temperature)
  -O TEMP    One shot manual mode (set color temperature)
  -p        Print mode (only print parameters and exit)  -x        Reset mode (remove adjustment from screen)
  -r        Disable temperature transitions
  -t DAY:NIGHT    Color temperature to set at daytime/night

The neutral temperature is 6500K. Using this value will not
change the color temperature of the display. Setting the
color temperature to a value higher than this results in
more blue light, and setting a lower value will result in
more red light.

Default values:

  Daytime temperature: 5500K
  Night temperature: 3700K

Please report bugs to