Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
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

1 Answer 1

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
2  
Thanks. But it would be good if we know the reasons behind the warnings. –  samarasa Jun 6 '11 at 21:16
1  
you could file a bug or ask a question at launchpad.net/gedit –  type Jun 6 '11 at 21:35

Your Answer

 
discard

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.