未加载模块 “atk-bridge”:GTK 自带此功能。请尝试不加载它。

huangapple go评论67阅读模式
英文:

Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it

问题

不要翻译的部分:Keep getting this error.

翻译后的内容:

未加载模块 "atk-bridge":GTK 本身提供该功能。请尝试不加载它。

我运行了以下命令,但仍然无法运行。尝试配置 proxychain。

sudo apt-get install --reinstall libcanberra-gtk-module
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

英文:

Keep getting this error.

Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

I ran
sudo apt-get install --reinstall libcanberra-gtk-module
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

and still cant get it to run. Trying to configure proxychain.

答案1

得分: 2

我遇到了相同的错误,我的情况是由"snapd-desktop-integration"报告的,升级"snapd-desktop-integration"到最新版本后,这个问题得以解决。

如果您的情况也是由"snapd-desktop-integration"报告的,请尝试升级到更新版本,命令如下:

sudo snap refresh snapd-desktop-integration --stable
英文:

I got the same Error, my case was reported by "snapd-desktop-integration",and this issue got fixed after I upgrade snapd-desktop-integration to latest version.

If your case was also reported by "snapd-desktop-integration", please try to upgrade it to newer version as:

sudo snap refresh snapd-desktop-integration --stable

答案2

得分: 2

为了解决以下消息:

未加载模块 "atk-bridge":GTK 本身提供了此功能。请尝试不加载它。

我移除了 libatk-adaptor 软件包(我使用的是 Ubuntu 22.04)。

sudo apt purge libatk-adaptor
sudo reboot

请注意,atk 代表辅助工具工具包,我不使用它。根据错误消息来看,GTK 已经内置了这个功能,所以可以安全地移除。

该软件包修改了环境变量 GTK_MODULES,添加了 gail:atk-bridge

因此,作为临时解决方案 - 防止重新启动 - 您可以从 GTK_MODULES 中移除 gail:atk-bridge 部分。

gail:atk-bridge 是 GTK_MODULES 中唯一的文本时,只需执行:

unset GTK_MODULES

尽管这只是临时的,只会影响当前 shell。

要仅影响一个程序的运行,例如 firefox,请执行:

GTK_MODULES= firefox
英文:

To get rid of the message

> Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

I removed the libatk-adaptor package (I'm on Ubuntu 22.04).

sudo apt purge libatk-adaptor
sudo reboot

Note that atk stands for Accessibility Toolkit, which I don't use.
Judging from the error message GTK has this builtin. So it can probably be removed safely.

The package modifies the environment variable GTK_MODULES. Adding gail:atk-bridge.

Therefor as a temporary solution - prevent reboot -, you might remove the gail:atk-bridge part from GTK_MODULES.

When gail:atk-bridge is the only text in GTK_MODULES, just do:

unset GTK_MODULES

Though that would be temporary and only effect the current shell.

To effect only one program's run, e.g. firefox, do:

GTK_MODULES= firefox

huangapple
  • 本文由 发表于 2023年2月10日 12:07:38
  • 转载请务必保留本文链接:https://go.coder-hub.com/75406844.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定