![]() |
Software > Text editors >
Geany >
2023-10-14 attempts ∞
Configuring custom dictionaries:
According to https://plugins.geany.org/spellcheck.html I have to check Help > Debug Messages and check for the Enchant version.
debug messages
10:01:38.187695: Gtk CRITICAL : gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed
10:01:48.374624: SpellCheck DEBUG : Initializing Enchant library version 2.3.1
10:01:48.392811: (NULL) WARNING : Error loading plugin: 'C:\Program Files\Geany/lib/enchant-2\enchant_aspell.dll': The specified module could not be found.
10:01:48.455269: (NULL) WARNING : Error loading plugin: 'C:\Program Files\Geany/lib/enchant-2\enchant_nuspell.dll': The specified module could not be found.
10:01:48.470339: (NULL) WARNING : Error loading plugin: 'C:\Program Files\Geany/lib/enchant-2\enchant_voikko.dll': The specified module could not be found.
10:01:48.476339: SpellCheck WARNING : Stored language ('en') could not be loaded.
10:01:51.163942: Geany INFO : Loaded: C:\Program Files\Geany\lib\geany\spellcheck.dll (Spell Check)
2021-06-05 - 1.37.1 ∞
Fucked if I understand.. am I supposed to install something else to make Hunspell work?
-
Make sure you have the Geany-Plugins program, likely from https://www.geany.org/download/releases/
- Home pages: https://www.geany.org/support/plugins/ https://plugins.geany.org/spellcheck.html
- I have Geany 1.37.1 installed, and Geany-Plugins 1.37 warns me that "1.37.0 is old". It's what the Geany team provides, so I install that anyway.
-
Download the two language files.
-
Place them anywhere on your drive, in a sub-directory called
hunspell. PerhapsC:\Program Files\Geany dictionaries\hunspell
other languages
Get the .dic and .aff files from https://cgit.freedesktop.org/libreoffice/dictionaries/tree/en by visiting the link and clicking "plain" link, e.g.
"blob: 8399e7ca1906e0f89f0fe4da5a05b67f4ccf787f (plain)"
You will get a direct URL.
-
TODO - install something or other Enchant
- Nothing has an actual executable.
- Launch Geany
- Tools > Plugin Manager
- [x] Spell Check
- Select "Spell Check" and click [Preferences]
- Behavior > Directory to look for dictionary files [icon]
-
TODO - point it at the directory you specified, e.g.
C:\Program Files\Geany dictionaries- Without the
hunspellsub-directory.
- Without the
-
I can't figure it out: The Enchant library couldn't be initialized
The Enchant library couldn't be initialized ∞
The Enchant library couldn't be initialized (unknown error (maybe the chosen language is not available)).
Make sure you have installed hunspell [ 3 ] ( https://github.com/hunspell/hunspell/releases)
I can't figure this out.
2017-10-05 - 1.31 ∞
Explored #2017-10-05_1.31[not existing]
- Chocolatey doesn't have proper support for installing spell checking or geany's plugins.
-
Babun / Cygwin has Geany listed, and it can get installed, but it doesn't work.
Spell checking does not come with Geany. It is included in a plugins package (with other plugins).
Here's the solution:
-
Install Geany.
- I used Chocolatey. As admin:
choco install geany
- I used Chocolatey. As admin:
-
Get geany-plugins Win32 Installer
- Make sure it's the same version as your installed geany. I don't know what would happen if they are out of sync.
-
Install the plugins to the same directory as Geany.
- The default the installer suggests was fine for me. For me, that was:
C:\Program Files (x86)\Geany
- The default the installer suggests was fine for me. For me, that was:
-
Move that downloaded file to the same directory as Geany.
- For me, that was:
C:\Program Files (x86)\Geany
- For me, that was:
- Launch Geany
Tools > Plugin Manager- Find
Spell Check - Click the checkbox to its left. You will get an error message, just close it.
- Click Spell Check's
[Preferences]at the bottom. - At the bottom, Directory to look for dictionary files:
-
.. and it doesn't work, nevermind.
Notes:
- https://portableapps.com/node/21685 references a dictionary that doesn't download the correct files.
- The enchant error message
-
- Unzip, confirm folder replace..
- Doesn't solve the error message.


I still can't figure out spell checking. What the fuck guys; someone must have had this work for them.
split from the main topic; still unresolved, although I'm not going to spend time on this right now.