Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I 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 can't get it to run. Trying to configure proxychain.

like image 756
zannyskrt Avatar asked Sep 12 '25 09:09

zannyskrt


1 Answers

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).

I suggest running apt purge --simulate libatk-adaptor (without sudo) before running sudo apt purge libatk-adaptor to make sure that removing libatk-adaptor doesn't remove any essential packages.

Then:

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
like image 60
Mike Jonkmans Avatar answered Sep 13 '25 23:09

Mike Jonkmans