Getting rid of annoying messages when executing a GTK+ application from the terminal

7 réponses [Dernière contribution]
Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

You may have seen this message when executing a GTK+ application from the terminal:
Gtk-Message: Failed to load module "canberra-gtk-module"
And/or this one:
WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

To get rid of the first message, install "libcamberra-gtk-module", in Trisquel's repository.

To get rid of the second message, execute that command:
$ echo 'export NO_AT_BRIDGE=1' | sudo tee -a /etc/environment

quidam

I am a member!

I am a translator!

Hors ligne
A rejoint: 12/22/2004

Thanks, added to the metapackages.

loldier
Hors ligne
A rejoint: 02/17/2016

Time concerns allowing, please take a look at missing icons will you.

https://trisquel.info/en/forum/trtisquel-8-missing-icons

gd_scania
Hors ligne
A rejoint: 09/13/2017

Canberra? Seems to be an GNOME-dependent audio lib as of my slight research. But what is your desktop thanks? LXQt? GNOME? Unity shell? Cinnamon? MATE? Xfce? LXDE?
As for GNOME, Unity, Cinnamon, MATE that shouldnt be a problem, just to perform a dist-upgrade then try again.
As for LXQt, it's dependent on no libs other than Qt, use an Qt-written replacement like a few similar libs from and for Qt-written VLC.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

I use GNOME but I am pretty sure Trisquel's default environment was printing those messages as well because common programs, such as 'gksu', were.

loldier
Hors ligne
A rejoint: 02/17/2016

A minor detail: it should be libcanberra-gtk-module.

loldier
Hors ligne
A rejoint: 02/17/2016

"...MATE that shouldnt be a problem..."

failed_load.png canberra_install.png
loldier
Hors ligne
A rejoint: 02/17/2016

Gtk-Message: Failed to load module "topmenu-gtk-module"

##EDIT##

This error message goes away by installing package 'topmenu-gtk2'.

sudo apt install topmenu-gtk2

2018-04-23-093500_486x346_scrot.png