我似乎无法打开 [Unity][1] 调整工具,无论是从启动器、仪表板还是终端。在终端中,我收到以下错误:t***@t***-desktop:~$ unity-tweak-tool
回溯(最近一次调用最后一次):
File "/usr/bin/unity-tweak-tool", line 72, in <module>
UnityTweakTool.Application()
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 79, in __init__
executable_name=cmd_old.split('\x00')[1]
IndexError:列表索引超出范围
我该如何解决这个问题?
更新 从终端启动时出现另一个错误:
WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
File "/usr/bin/unity-tweak-tool", line 72, in <module>
UnityTweakTool.Application()
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 79, in __init__
executable_name=cmd_old.split('\x00')[1]
IndexError: list index out of range
答案1
从终端以 SUDO 身份运行 bleachbit 并清除系统缓存。我遇到了同样的问题,但解决了。