Redshift是Ubuntu下非常好用的护眼软件,默认的色温设置值为6500K,对于长时间在电脑前工作的我来说,这个色温仍然显得太刺眼,于是通过redshift.conf来进行配置。
Redshift默认没有配置文件redshift.conf,需要自行创建,路径如下:
/home/用户名/.config/redshift.conf
编辑redshift.conf,内容示例:
[redshift] ; 白天屏幕温度 temp-day=4500 ; 夜晚屏幕温度 temp-night=3500 ; 昼夜是否平滑过度(1/0) transition=1 ; 位置提供方式(redshift -l list) location-provider=manual [manual] ; 经纬度 lat=28.605187 lon=106.677989
经纬度可以通过百度地图等工具来获取,配置完成后重启一下Redshift。