f.lux 是一款根據時間變化來改變屏幕色溫的軟件.對于長期使用電腦的人非常有幫助.在 windows 下我用 f.lux .然而 Ubuntu 對 f.lux 并不友好, f.lux 不能改變屏幕亮度.( fluxgui + xflux )
經過搜索,在 Ubuntu 的網站里發(fā)現了 Redshift 這個軟件.在 Ubuntu 上工作的很好.
打開終端,執(zhí)行:
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