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

把结果全部复制贴上来
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值