When I try to run a python application which uses a pyplot-window, I get a warning in the command line:
Gtk-Message: Failed to load module "pantheon-filechooser-module"
How can I fix it, and what causes it?
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.
Sign up to join this communityWhen I try to run a python application which uses a pyplot-window, I get a warning in the command line:
Gtk-Message: Failed to load module "pantheon-filechooser-module"
How can I fix it, and what causes it?
Pantheon Files (the default file manager) contains a custom GTK+ module called pantheon-filechooser-module
.
It's shipped on up-to-date systems, but it's not activated yet (currently, the default GTK+ file chooser dialog is still in use). That's most likely the reason it fails to load. Additionally, it might fail because it is a GTK+2 application.
On the other hand, it might be possible you removed Pantheon files. If that's the case, it might be the (other) reason the module fails to load, because it's not installed on your system.
pantheon-files
is running multiple times in htop, I assume that I did not uninstall it. How can I activate the module?
Jul 8, 2015 at 21:26
You have two options:
1."You will always see this message with non-gtk3 apps. It's harmless and you can ignore it."
OR
2.sudo rm /etc/profile.d/pantheon-filechooser-module.sh