GNOME-Tweaks 给出“字体提示”错误

GNOME-Tweaks 给出“字体提示”错误

我在 ubuntu 20.04 中安装了 gnome-tweaks。我尝试通过单击来打开它,但它没有打开。所以我gnome-tweaks在终端中输入,它抛出了以下错误:

$ gnome-tweaks

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gtweak/app.py", line 50, in do_activate
    self.win = Window(self, model)
  File "/usr/lib/python3/dist-packages/gtweak/tweakview.py", line 58, in __init__
    self._model.load_tweaks(self)
  File "/usr/lib/python3/dist-packages/gtweak/tweakmodel.py", line 107, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_font.py", line 113, in <module>
    FontXSettingsTweak(),
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_font.py", line 41, in __init__
    self.btn_full.set_active(self.settings["font-hinting"] == "full")
  File "/usr/lib/python3/dist-packages/gi/overrides/Gio.py", line 261, in __getitem__
    raise KeyError('unknown key: %r' % (key,))
KeyError: "unknown key: 'font-hinting'"

相关内容