You are not logged in.

#1 2007-06-10 17:58:44

RobF
Member
Registered: 2006-10-10
Posts: 157

Spell checker for KWrite doesn't work [SOLVED]

How do I enable spell checking for the KDE editors, i.e. KWrite, Kate, etc?  I've installed aspell via pacman, it's in /usr/bin which is in my PATH.  In KWrite's Settings>Configure Editor>Plugins, there is an option "KTextEditor KDataTool Plugin: Enable data tools like thesaurus and spell check (if installed)" which I've checked.  In another distro, that's how I enabled spell checking with aspell, i.e. by checking this box for the spell check plugin.  But in Arch this doesn't seem to be sufficient.  When I try to spell check a document in KWrite, I get this error:

"The spelling program could not be started. Please make sure you have set the correct spelling program and that it is properly configured and in your PATH."

What else do I need to do?

Robert

EDIT: Sorry, searching this forum for "spellcheck" hadn't yielded any solution but after I posted this I also searched for "spell AND check" and found the solution: I had neglected to pick Aspell as the client for spell checking in Control Center>KDE Components>Spell Checker.

Last edited by RobF (2007-06-10 18:10:36)

Offline

#2 2007-06-10 18:06:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Spell checker for KWrite doesn't work [SOLVED]

You need to install the language files for Aspell:

[skottish@localhost ~]$ pacman -Qs aspell
local/aspell 0.60.5-1
    A Free and Open Source spell checker designed to eventually replace Ispell
local/aspell-en 6.0-1
    English dictionary for aspell

If you're using KDE, go to Control Center-->KDE Components-->Spell Checker-->Client and choose Aspell

Offline

#3 2007-06-10 18:22:11

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Spell checker for KWrite doesn't work [SOLVED]

How would you do this if you don't have kde installed? I use openbox and kile for latex editing and I get the same error when I try to enable aspell but I don't have kcontrol... I already looked around in ~/.kde but I couldn't find the right config file.

Offline

#4 2007-06-10 18:52:09

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Spell checker for KWrite doesn't work [SOLVED]

Ramses de Norre wrote:

How would you do this if you don't have kde installed? I use openbox and kile for latex editing and I get the same error when I try to enable aspell but I don't have kcontrol... I already looked around in ~/.kde but I couldn't find the right config file.

In my .kde/share/config/kdeglobals file, there's this:

[KSpell]
KSpell_Client=1
KSpell_DictFromList=1
KSpell_Dictionary=
KSpell_Encoding=0
KSpell_NoRootAffix=0
KSpell_RunTogether=0

My best guess here is that the first line points to Aspell.

Last edited by skottish (2007-06-10 18:53:51)

Offline

#5 2007-06-11 17:44:37

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Spell checker for KWrite doesn't work [SOLVED]

Could you see whether grep -i spell ~/.kde/share/config/* reveals any additional sections? Because I've added those lines but it doesn't change anything.
Thanks a lot already.

Last edited by Ramses de Norre (2007-06-11 17:44:55)

Offline

#6 2007-06-12 00:30:41

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Spell checker for KWrite doesn't work [SOLVED]

[skottish@localhost ~]$ grep -i spell ~/.kde/share/config/*
/home/skottish/.kde/share/config/kdeglobals:[KSpell]
/home/skottish/.kde/share/config/kdeglobals:KSpell_Client=1
/home/skottish/.kde/share/config/kdeglobals:KSpell_DictFromList=1
/home/skottish/.kde/share/config/kdeglobals:KSpell_Dictionary=
/home/skottish/.kde/share/config/kdeglobals:KSpell_Encoding=0
/home/skottish/.kde/share/config/kdeglobals:KSpell_NoRootAffix=0
/home/skottish/.kde/share/config/kdeglobals:KSpell_RunTogether=0
/home/skottish/.kde/share/config/kdeglobals418fla.new:[KSpell]
/home/skottish/.kde/share/config/kdeglobals418fla.new:KSpell_Client=1
/home/skottish/.kde/share/config/kdeglobals418fla.new:KSpell_DictFromList=1
/home/skottish/.kde/share/config/kdeglobals418fla.new:KSpell_Dictionary=
/home/skottish/.kde/share/config/kdeglobals418fla.new:KSpell_Encoding=0
/home/skottish/.kde/share/config/kdeglobals418fla.new:KSpell_NoRootAffix=0
/home/skottish/.kde/share/config/kdeglobals418fla.new:KSpell_RunTogether=0
/home/skottish/.kde/share/config/kdictrc:Strategies=Spell Check,Exact,Prefix
/home/skottish/.kde/share/config/kofficerc:[Spelling]
/home/skottish/.kde/share/config/kookarc:[ocrSpellSettings]
/home/skottish/.kde/share/config/kookarc:ocrKSpellEnabled=true
/home/skottish/.kde/share/config/kwordrc:[Spelling]

Offline

Board footer

Powered by FluxBB