cherrytree icon indicating copy to clipboard operation
cherrytree copied to clipboard

Getting Spelling to work on Arch Linux

Open daciwolf opened this issue 3 years ago • 10 comments

Version, Operative system Linux **** 5.16.11-arch1-1 #1 x86_64 GNU/Linux

Describe the bug Spell check on Arch Linux doesn't work with the packages that are stated to be needed and require more dependencies. The package python-pyenchant is needed alongside with gtkspell/gtkspell3, aspell-en and python-gtkspellcheck.

To Reproduce

  1. install cherrytree with "sudo pacman -S cherrytree"
  2. install python-gtkspellcheck with "sudo pacman -S python-pyenchant"
  3. open cherrytree ( i am using dwm so just pressing windowskey + p and then typing cherrytree)
  4. go over to "file" and then "preferences"
  5. click on "Rich Text" and you will see a grayed out spellcheck box.

Solution To solve this in step 2 just append "gtkspell aspell-en python-gtkspellcheck" and relaunch cherrytree

(this is my first time ever reporting an issue so it is not up to par please let me know what I need to do to improve on this, I hope that this has helped in someway)

daciwolf avatar Mar 02 '22 06:03 daciwolf

Thanks, worked for me on Manjaro!

Triffen avatar Apr 08 '23 18:04 Triffen

What is discussed here is a very old version of the package, written in Python. I suspect 0.39.4.

Looking at https://archlinux.org/packages/community/x86_64/cherrytree/ the community repo is only one version behind (latest is 0.99.55) you should use that instead

giuspen avatar Apr 09 '23 19:04 giuspen

I have 0.99.54, and this worked for me.

Triffen avatar Apr 10 '23 22:04 Triffen

I have a similar issue on Ubuntu 22.04 and couldn't fix it by installing python3-enchant or python3-gtkspellcheck. Spellcheck is still greyed out.

ventolinmx avatar Jul 13 '23 01:07 ventolinmx

@ventolinmx check that you actually have any dictionary installed like in case of spanish either hunspell-es or myspell-es

giuspen avatar Jul 14 '23 18:07 giuspen

I have all spanish hunspell dictionaries installed under /usr/share/hunspell. Should I install myspell also?

ventolinmx avatar Jul 15 '23 03:07 ventolinmx

@ventolinmx what package have you installed? Try the deb package via PPA (after removing what you have now):

sudo add-apt-repository ppa:giuspen/ppa
sudo apt update
sudo apt install cherrytree

giuspen avatar Jul 15 '23 14:07 giuspen

Thank you! It's working now from the deb package. I was using the snap from the Ubuntu store.

ventolinmx avatar Jul 15 '23 17:07 ventolinmx

Big thanks, it solved my issue on Manjaro

ThickBunBun avatar Oct 28 '23 08:10 ThickBunBun

I have the same issue on MX Linux. Installed python3-enchant and hunspell-en-us but still can't make it work.

peter099 avatar Nov 05 '23 12:11 peter099