gio works, but yields long error about GTK+

Asked by Xeno Campanoli

xeno@landicho:~$ cat /etc/issue
Ubuntu 24.04.2 LTS \n \l

xeno@landicho:~$ gio --version
2.80.0
xeno@landicho:~$ gio open https://en.wikipedia.org/wiki/Cornus_nuttallii
xeno@landicho:~$ Gtk-Message: 15:04:18.763: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[14570, Main Thread] WARNING: GTK+ module /snap/firefox/6103/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:201

(firefox_firefox:14570): Gtk-WARNING **: 15:04:18.856: GTK+ module /snap/firefox/6103/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 15:04:18.856: Failed to load module "canberra-gtk-module"
[14570, Main Thread] WARNING: GTK+ module /snap/firefox/6103/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:201

(firefox_firefox:14570): Gtk-WARNING **: 15:04:18.858: GTK+ module /snap/firefox/6103/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 15:04:18.858: Failed to load module "canberra-gtk-module"

--snip--
I did the install of canberra to try to fix it. So before this, it had other complaints.
Please advise. I prefer not to run it with all errors going to /dev/null.

You may see by the history that I changed this after finding out xdg-open is a script, I nailed down it was executing "gio", which I provide the version for above with the issue file dump.

Looks like I don't have the package right. Google AI says libglib2.0-bin, but launchpad rejects that. Could be Glib, or GIO is a helpful starting point. Since I started with xdg-utils, I will leave it as that.

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu xdg-utils Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Xeno Campanoli for more information if necessary.

To post a message you must log in.