Installation - rbtylee/launcher-spellchecker GitHub Wiki

  1. Installation in Bodhi Linux
  2. Other distros
  3. Aspell Language Dictionaries
  4. Installing Hunspell

Installation in Bodhi Linux

In Bodhi, installing this module along with an English dictionary is as simple as:

sudo apt install moksha-module-spellchecker aspell-en

Other distros

Don't use Bodhi, but still use Moksha? Then unless this module has been packaged for your distro, I am afraid you are going to have to compile it from the source code. See our README.md file for information on that.

The rest of this guide will be assuming you are using Bodhi or at least another Debian or Ubuntu derived distro and are using Bash as your default shell. If this is not true for you, you need to adjust the commands given below and the instructions to your distro and/or shell.

Aspell Language Dictionaries

This module, by default, uses the program GNU Aspell to provide the spelling suggestions. It can also be configured to use another application hunspell. More on that latter.

Ensure that you have aspell as well as an aspell dictionary installed. In Bodhi Linux, installing moksha-module-spellchecker installs aspell but does not install any dictionaries. Use whatever tools you are comfortable with to install the aspell dictionary you wish. For the purposes of this guide, I will be using the apt command and the default Bodhi terminal, terminology. If you don't use Bodhi and/or prefer another terminal open whatever terminal you are comfortable with. If you are unsure of the name of the dictionary you wish to install, don't worry.


Module Settings

Open terminology (Menu ➝ Applications ➝ System Tools ➝ Terminology).

If you are unsure of the name of the dictionary you wish to install, type:

sudo apt install aspell-

Now hit the Tab key twice. Bashes auto-completion feature will provide a list of all aspell packages which start with aspell-, as pictured above.

These are all the dictionaries provided for aspell in Ubuntu's repo and available to Bodhi users. Now complete the package name on the command line. Pictured above, I have chosen the English dictionary, aspell-en. If you are unsure what aspell package provides the dictionary for the language you need either search for it on the internet or ask on our Forums.

Installing Hunspell

This step is optional if you have no need of hunspell or any of it language dictionaries.

If you are planning on using hunspell, naturally it also needs installed. The command below install hunspell and the American English language dictionary:

sudo apt install hunspell hunspell-en-us

If you wish to see all hunspell dictionaries use the same tab completion trick as we used earlier to see a complete list.


Module Settings

⚠️ **GitHub.com Fallback** ⚠️