1

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
2
  • 1
    apparently those messages mean nothing, as gedit works like usual. Jun 6, 2011 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, 2011 at 21:18

1 Answer 1

3

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

2
  • 2
    Thanks. But it would be good if we know the reasons behind the warnings.
    – samarasa
    Jun 6, 2011 at 21:16
  • 1
    you could file a bug or ask a question at launchpad.net/gedit
    – type
    Jun 6, 2011 at 21:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .