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

把结果全部复制贴上来

你可能感兴趣的:(linux)