f.lux 是一款根据时间变化来改变屏幕色温的软件.对于长期使用电脑的人非常有帮助.在 windows 下我用 f.lux .然而 Ubuntu 对 f.lux 并不友好, f.lux 不能改变屏幕亮度.( fluxgui + xflux )
经过搜索,在 Ubuntu 的网站里发现了 Redshift 这个软件.在 Ubuntu 上工作的很好.
打开终端,执行:
sudo apt-get install redshift gtk-redshift
然后进行配置:
gedit ~/.config/redshift.conf
redshift.conf
的内容一般如下,直接复制过去就可以:
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=4500
temp-night=3500
; 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
transition=1
; Set the screen brightness. Default is 1.0
;brightness=0.8
; It is also possible to use different settings for day and night since version 1.8.
brightness-day=0.9
brightness-night=0.7
; Set the screen gamma (for all colors, or each color channel individually)
gamma=0.8