ubuntu护眼第二大神器 Redshift

由于某种神秘力量,ubuntu16.04下f.lux不能使用,现在用Redshift
参考:

0x01 安装

# 只安装Redshift发现没有界面,所以安装了三个包
$ sudo apt install gtk-redshift redshift python-appindicator
# 执行
$ gtk-redshift 

也可以直接搜索应用执行:

执行后选择Autostart

0x02 配置

生成配置文件(杭州)

$ sudo gedit ~/.config/redshift.conf
[redshift]
; 白天屏幕温度
temp-day=6500
; 夜晚屏幕温度
temp-night=3500
; 昼夜是否平滑过度(1/0)
transition=1

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

; 夜晚 gamma 值
gamma-night=0.8
; 手动设置位置
location-provider=manual
; 新校准方法 API
adjustment-method=randr

[manual]
; 纬度
lat=30
; 经度
lon=120

[randr]
screen=0
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章