在Windows下一直用f.lux保护视力(不知道有没有用)
本来想在Ubuntu下装一个,结果发现用不了。。。
以下是解决方法:
方法一:
这个早就有人遇到了,这里给出了解决方案。
官方issue:https://github.com/xflux-gui/fluxgui/issues/27
试了一下,还是不行。。
方法二:
换一个哈哈哈哈,用这个redshift
Gtihub:https://github.com/jonls/redshift
安装:
sudo apt install gtk-redshift redshift python-appindicator
安装这个gtk-redshift就有图形界面了。
打开以后(可以直接在应用里打开),设置成开机启动(Autostart)就不用管他了。
更新:
报错:failed to run redshift的解决方法:
参考:https://github.com/jonls/redshift/issues/445
修改/etc/geoclue/geoclue.conf。
sudo gedit /etc/geoclue/geoclue.conf
在最后加上:
[redshift]
allowed=true
system=false
users=
重启Redshift