Module based on Spellcheck plugin for Launcher module.
Spellcheck module inspired me to create this module. The main goal is to have a quick access to dictionary via Launcher module in Bodhi GNU/Linux.
First one must load the module in modules settings under Launcher tab. Now assuming one has sdcv installed and an stardict dictionary, then usage should be as simple as opening Mokshas Quick Launcher and typing 'd ' without the single quote marks. Note: one must type the blank following the d. The prompt will change to a colon and now type a word that should be translated. A list as pictured above will be displayed. Press "CTRL + u" key combination for the new word searching.
This module depends on sdcv utility. It is a console Stardict application.
sdcv installing:
sudo apt update
sudo apt-get install sdcv
Unpack downloaded dicts and copy to /usr/share/stardict/dic directory
It is recommended Bodhi users install from Bodhi's repo:
sudo apt update
sudo apt install moksha-module-dictionary
Other users need to compile the code:
First install all the needed dependencies. Note this includes not only EFL but the EFL header files. If you have compiled and installed EFL and Moksha from source code this should be no problem.
Then the usual:
meson . build
ninja -C build
sudo ninja -C build
Please use the GitHub issue tracker for any bugs or feature suggestions:
Help is always Welcome, as with all Open Source Projects the more people that help the better it gets! More translations would be especially welcome and much needed.
Please submit patches to the code or documentation as GitHub pull requests!
Contributions must be licensed under this project's copyright (see COPYING).
Full credit for the original code of this module goes the enlightenment developers:
- Gustavo Barbieri
- Hannes Janetzek
Dictionary part
- Štefan Uram a.k.a the_waiter (c) 2019
Enjoy :)
To-Do
- Line word wrapping
- Line word wrapping size according the Launcher window width
- Line icon only if dict name
- Short text width in some themes - fixed in evrything.edc (e.text.detail)
- Text formating (color, size)
- Copying the whole block of text, not just one line
- Send the number value to the console when * follows the word
- Better README.md file