A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
-bash/zsh: redshift command not found # Windows (WSL2) sudo apt-get update sudo apt-get install redshift # Debian apt-get install redshift # Ubuntu apt-get install redshift # Alpine apk add redshift # Arch Linux pacman -S redshift # Kali Linux apt-get install redshift # Fedora dnf install redshift # OS X brew install redshift # Raspbian apt-get install redshift # Dockerfile dockerfile.run/redshift # Docker docker run cmd.cat/redshift redshift
redshift 会根据周围环境调整屏幕的色温。如果晚上在屏幕前工作,可能可以减轻眼睛不适。redshift 程序的灵感来自 f.lux(请参阅这篇文章,了解 redshift 项目的原因)。
redshift -l LAT:LON -t DAY:NIGHT [OPTIONS...]
-h Display this help message -v Verbose output -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 continously adjust color temperature) -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
设置 redshift ,白天温度为 5700K,晚上温度为 3600K:
redshift -t 5700:3600
使用手动指定的自定义位置打开 redshift:
redshift -l latitude:longitude
白天打开 redshift,屏幕亮度为 70%,晚上亮度为 40%:
redshift -b 0.7:0.4
使用自定义伽马级别(0 到 1 之间)来打开 redshift:
redshift -g red:green:blue
redshift,保持色温恒定不变:
redshift -O temperature