本文主要是介绍Ubuntu/Debian安装护眼软件f.lux indicator applet,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
注意文档中提到,必须以python2来执行命令
Only Python 2 is Supported
The fluxgui is only known to work with Python 2, so use python2 instead of python for the commands in this README if Python 3 is the default on your system.
Github上安装的方法大概如下
# Install dependencies
sudo apt-get install git python-appindicator python-xdg python-pexpect python-gconf python-gtk2 python-glade2 libxxf86vm1# Download fluxgui 我随便放的位置
cd /tmp
git clone "https://github.com/xflux-gui/fluxgui.git"
cd fluxgui
python download-xflux.py# EITHER install globally
sudo python setup.py install
# EXCLUSIVE OR, install in your home directory. The binary installs
# into ~/.local/bin, so be sure to add that to your PATH if installing locally.
python setup.py install --user# Run flux
fluxgui
但是安装之后报错
Exception AttributeError: AttributeError(FluxGUI object has no attribute xflux_controller,) in
按顺序依次执行
代码:
ps -A | grep flux
ls -al /tmp | grep flux
fluxgui &
sudo pkill -9 flux
ps -A | grep flux
fluxgui把结果全部复制贴上来
这篇关于Ubuntu/Debian安装护眼软件f.lux indicator applet的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!