打开 Catfish 时出现问题:“get_geometry”?

打开 Catfish 时出现问题:“get_geometry”?

我正在运行 Ubuntu 21.04。我在 20.04 上成功使用 Catfish 搜索工具已有一段时间了,但自从我更新到 21.04 后,它就无法打开了。(我尝试重新安装它几次,但没有什么不同)。当我从终端打开它时,我得到的是:

john@john-u:~$ catfish
Traceback (most recent call last):
  File "/usr/bin/catfish", line 44, in <module>
    catfish.main()
  File "/usr/lib/python3/dist-packages/catfish/__init__.py", line 78, in main
    window = CatfishWindow.CatfishWindow()
  File "/usr/lib/python3/dist-packages/catfish_lib/Window.py", line 176, in __new__
    new_object.finish_initializing(builder)
  File "/usr/lib/python3/dist-packages/catfish/CatfishWindow.py", line 327, in finish_initializing
    (screen_width, screen_height) = self.get_screen_size()
  File "/usr/lib/python3/dist-packages/catfish/CatfishWindow.py", line 405, in get_screen_size
    geometry = monitor.get_geometry()
AttributeError: 'NoneType' object has no attribute 'get_geometry'

这似乎与显示配置有关?这可能与我运行多个 (3) 显示器有关吗?我有一块 NVIDIA GeForce GTX 1050 Ti 4GB GDDR5 显卡,正在使用 X.Org X 服务器。

提前感谢你的帮助!JohnS

相关内容