java 发表于 2017-6-29 19:51:34

linux下 护眼软件

F.lux


Redshift   https://github.com/jonls/redshift


其已集成在Ubuntu官方源里,所以可以直接安装:sudo apt-get install redshift
装完后,设置参数两种方法:
一:redshift-gtk -l 39.92:116.46 -t 5500:4500即可。这条命令的意思是手动将经纬度设定在’39.92:116.46’(北京),并且调整白天色温为 5500K,夜晚 4500K,
二:在 ~/.config 目录中建立文件 redshift.conf输入以下内容
; 白天屏幕温度
temp-day=4500
; 夜晚屏幕温度
temp-night=3500
; 昼夜是否平滑过度(1/0)
transition=1

; 位置提供方式(redshift -l list)
location-provider=manual


; 位置提供方式设置
; 经纬度(北京)
lat=39.90
lon=116.41
页: [1]
查看完整版本: linux下 护眼软件