Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

How to avoid the following warning message from gedit(2.30.4) on Ubuntu 11.04.

(gedit:25519): CRITICAL **: gedit_spell_checker_language_to_key: assertion `lang != NULL' failed
share|improve this question
apparently those messages mean nothing, as gedit works like usual. – Uri Herrera Jun 6 '11 at 20:41
Of course, I am able to use gedit but the warning messages are filling the terminal from where gedit was lanched. Moreover, I think that it would be good if we know the reasons behind the messages. – samarasa Jun 6 '11 at 21:18

assuming you start gedit in the shell you could pipe all output to null, as in

gedit textfile.txt > /dev/null 2>&1 &

and maybe create a shell script with $@ instead of textfile.txt to allow general filenames, i.e. create a file, say geditt with the following contents:

gedit &@ > /dev/null 2>&1 &

save it in your path -- maybe ~/bin -- and make it executable via chmod +x ~/bin/geditt

share|improve this answer
Thanks. But it would be good if we know the reasons behind the warnings. – samarasa Jun 6 '11 at 21:16
you could file a bug or ask a question at – type Jun 6 '11 at 21:35

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.