Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An unexpected warning while opening C file using gedit after compiling it

Tags:

linux

I have made a game with game.c file. After that I have made a Makefile for compiling the game. By writing "make" in Terminal, the game compiles, and I can run the game also. But when I re-open the game.c-file with "gedit game.c" I get a warning :

** (gedit:5242): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-32NmbcAsWU: Connection refused

Although my c-file gets opened, I get this warning. How can I fix this warning? :/ :(

Thanks

like image 495
user2855719 Avatar asked Mar 22 '23 01:03

user2855719


2 Answers

I had this problem for years on my debootstrap-installed Xubuntu machines. It's probably a missing package, but google doesn't seem to be helpful this time.

But today I found this thread which contains the helpful hint:

Adding the line

NO_AT_BRIDGE=1

to /etc/environment (or export NO_AT_BRIDGE=1 on console) solved the problem for me.

like image 180
Daniel Alder Avatar answered Apr 06 '23 10:04

Daniel Alder


This is a bug, which is reported and confirmed for Ubuntu (and hence probably derivatives. https://bugs.launchpad.net/ubuntu/+source/gdk-pixbuf/+bug/1193236

like image 25
Igor Popov Avatar answered Apr 06 '23 10:04

Igor Popov