Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

While this isn't causing any serious issues (that I've seen so far), it is aggravating me because its taking over the terminal window that I was working on with the warning:

(gedit:3288): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/amn/Programming/Java/MyLiero/': Error stating file '/home/amn/Programming/Java/MyLiero/': No such file or directory

However, the file opens up fine and is editable/savable and everything still exists after the program is closed. When you start the program again, it still sees everything and no more errors come about. This error only appears when you create directories - it doesn't matter if the saved item occurs within the directory or not.

share|improve this question
up vote 0 down vote accepted

I suppose you started gedit from terminal using

gedit myfilename.blah

in this case gedit's standard output and standard error streams are connected to the terminal so any debug info is getting printed to the terminal.

To get rid of the messages, you can redirect stdout and stderr to /dev/null:

gedit myfilename.blah > /dev/null 2>&1
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.