任何引导后首次运行 Tbird 都没有问题。然后,如果我右键单击 Tbird 图标,新的下拉菜单将永久显示。(消除图标栏的顶部)如果单击下拉菜单,则不会产生任何效果。这也会禁用 AltTab。如果 sysmon 用于停止 Tbird,那么它不会从图标或应用程序重新启动。
如果从终端启动,则输出如下:
$ thunderbird
[calBackendLoader] Using Thunderbird's libical backend
console.debug: "Successfully loaded OpenPGP library librnp.so version 0.14+git20210121.7c8492b4.MZLA from /usr/lib/thunderbird/librnp.so"
Extension error: Error while loading 'jar:file:///usr/lib/thunderbird/extensions/messagingmenu@mozilla.com.xpi!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) resource://gre/modules/Extension.jsm:570 :: readJSON/</<@resource://gre/modules/Extension.jsm:570:20
onStopRequest@resource://gre/modules/NetUtil.jsm:128:18
Extension error: Error while loading 'jar:file:///usr/lib/thunderbird/omni.ja!/chrome/messenger/search-extensions/twitter/manifest.json' (NS_ERROR_FILE_NOT_FOUND) resource://gre/modules/Extension.jsm:570 :: readJSON/</<@resource://gre/modules/Extension.jsm:570:20
onStopRequest@resource://gre/modules/NetUtil.jsm:128:18
console.debug: "Found 0 public keys and 0 secret keys (0 protected, 0 unprotected)"
console.debug: "Successfully loaded optional OpenPGP library libgpgme.so.11 from system's standard library locations"
console.debug: "gpgme version: 1.14.0-unknown"
console.debug: "Trying to load /usr/lib/thunderbird/libotr.so.5"
console.debug: "Trying to load libotr.so.5 from system's standard library locations"
console.debug: "Trying to load libotr.so from system's standard library locations"
console.log: (new Error("Cannot load required OTR library", "resource:///modules/OTRLib.jsm", 91))
Run Code Online (Sandbox Code Playgroud)
有什么想法吗?
小智 4
通过修改 /usr/share/applications 中的 Thunderbird.desktop 文件可以解决此错误,请参阅启动板中的描述https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1932328
由于 Thunderbird 和 Wayland 的组合会触发此错误,因此解决方法是将 Thunderbird 作为 X11 应用程序运行。这使用了 XWayland,它是一个允许在 Wayland 中运行 X 客户端的接口。
作为副作用,分数缩放会导致 Thunderbird 的结果模糊(与 X11 一样)。
为了您的方便以及所有在谷歌上搜索此错误的人,我将在这里重复修复。要从 Gnome shell 默认使用 XWayland,请修改/usr/share/applications/thunderbird.desktop
并更改该行
Exec=thunderbird %u
Run Code Online (Sandbox Code Playgroud)
进入
Exec=thunderbird --display=:0 %u
Run Code Online (Sandbox Code Playgroud)