Re: Editing 'aspell"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 03, 2005 at 12:46:13PM -0700, Lloyd Hayes wrote:
> 
> I recently accidentally saved some words using Evolution which should 
> not have been saved. I asked on this list and the Evolution list which 
> file needed to be edited. I got the reply to look for this file: 
> "~/.aspell.en.pws"
> 
> Doing a search of FC3 on my computer, there is no "aspell.en.pws" on my 
> computer.
> But I can find "/usr/lib/aspell/en_US-only.rws", 
> "/usr/lib/aspell/en-only.rws", "/usr/lib/aspell/en_GB-only.rws", and 
> "/usr/lib/aspell/en_CA-only.rws".
> 
> Does anyone know if these are files to edit?
> I tried using "gedit" to edit one of these files, but it doesn't work. 
> How do you edit these files?

Somehow you missed the '.' -- these are 'hidden' files in 
your home directory.

 $ ls ~/.aspell.*
 .aspell.conf           .aspell.english.pws  .aspell.en.pws
 .aspell.english.prepl  .aspell.en.prepl

Note the dot. Note also that english and en are not the 
only languages in the world.

If by chance Evolution is not using aspell you can still find
the file that Evolution keeps it's hints in.

	touch /tmp/now
	# run Evolution and add a 'silly' non problematic word
	find ~ -newer /tmp/now

You should see a short list of files to inspect, research and fix.

This trick works for most programs when you want to see
what files they adjust and keep state in.

Note that 'locate' will index files in the system.
So try "locate aspell" and look for files in your home dir.

You can also tidy up the personal words file (pws) 
with /usr/bin/aspell.   Type /usr/bin/aspell -?
for help.   It is a moderately  opaque tool, in part
because other programs use it insulating the user from
the need to know how it works.


-- 
	T o m  M i t c h e l l 
	Found me a new place to hang my hat :-)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux