Getting error with spell check in nano

5,970

Solution 1

edit nanorc file and enable spell checker.

sudo vi /etc/nanorc

and uncomment the line

set speller "aspell -x -c"

Solution 2

nano depends on a spell-checker program. Such a program is aspellInstall aspell. You can install it with:

sudo apt-get install aspell
Share:
5,970

Related videos on Youtube

zouve
Author by

zouve

Updated on September 18, 2022

Comments

  • zouve
    zouve over 1 year

    I am getting the following error while doing spell check in nano editor. Please help to resolve this.

    Spell checking failed: Error invoking "spell": Bad file descriptot
    
  • zouve
    zouve almost 13 years
    Still getting the same error after installing it.
  • GrouchyGaijin
    GrouchyGaijin about 8 years
    The guy wants to enable the spell check in nano so the suggested response instructs him to use vi to edit the nanorc file...:-)
  • dten
    dten almost 5 years
    You need both answers together!
  • dten
    dten almost 5 years
    You need both answers together!
  • Chaim Stanton
    Chaim Stanton about 2 years
    @GrouchyGaijin That's true, you could always go with 'sudo nano /etc/nanorc'. Also if you wanted to find it faster you can use the ctrl+w shortcut and search for the word 'speller'.