f.lux 停止工作内核升级

f.lux 停止工作内核升级

我最近升级到了4.4.0-53-通用内核,现在勒克斯不起作用。我让它在启动时启动,但现在它根本无法更改温度颜色设置:

以下是启动的输出fluxgui

/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py:162: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type GdkColor

  'gtk-icon-theme-name')
/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py:162: Warning: g_value_unset: assertion 'G_IS_VALUE (value)' failed
  'gtk-icon-theme-name')
/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py:162: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type gint

  'gtk-icon-theme-name')

在考虑这个错误仅仅与这些 GTK 相关的问题有关之后,我通过修改第 162 行解决了这个问题:

/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py.

如下所述这个答案遇到类似问题,但这并没有让 F.lux 恢复运行。我接下来要做的是在终端中打开 f.lux:

fluxgui

然后点击小程序指示器并选择“首选项”。终端中的输出如下:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py", line 99, in open_preferences
    self.get_colortemp()
  File "/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py", line 90, in get_colortemp
    index = self.xflux.expect("Color.*")
  File "/usr/lib/python2.7/dist-packages/pexpect/__init__.py", line 1418, in expect
    timeout, searchwindowsize)
  File "/usr/lib/python2.7/dist-packages/pexpect/__init__.py", line 1433, in expect_list
    timeout, searchwindowsize)
  File "/usr/lib/python2.7/dist-packages/pexpect/__init__.py", line 1521, in expect_loop
    raise EOF(str(err) + '\n' + str(self))
pexpect.EOF: End Of File (EOF). Exception style platform.
<pexpect.spawn object at 0x7f5926029850>
version: 3.1
command: /usr/bin/xflux
args: ['/usr/bin/xflux', '-l', '49.2827\xc2\xb0 N', '-k', '4200', '-nofork']
searcher: <pexpect.searcher_re object at 0x7f5926029890>
buffer (last 100 chars): ''
before (last 100 chars): ' only support 24/32-bit displays right now.\r\nXF86VidModeGetGammaRampSize returned 2048 entries.\r\nc\r\n'
after: <class 'pexpect.EOF'>
match: None
match_index: None
exitstatus: 255
flag_eof: True
pid: 6363
child_fd: 4
closed: False
timeout: 30
delimiter: <class 'pexpect.EOF'>
logfile: <open file '/tmp/fluxlog.txt', mode 'w' at 0x7f592995aae0>
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1

在毫无进展之后,我决定重新安装 Flux,这似乎让我可以访问在重新安装之前无法正常工作的首选项窗格,但是当我更改位置甚至预览时什么都没有发生,而这两项功能以前都可以正常工作。

运行 Ubuntu 14.04 64 位

相关内容