[ooo-build] How to set location of dictionary files

Petr Mladek pmladek at suse.cz
Tue Jul 21 08:17:05 PDT 2009


On Monday 20 July 2009, espinosa_cz wrote:
> Hi guys, I have to report successful installation of you OOo build on
> Mandriva Spring 2009.1. Great job!
> Well I had to remove ~/.ooo3 directory as it crashed ooo on start but
> after that it works nicely.
> I'm especially delighted that your version provides KDE integration;
> Mandriva official version does not.

We are glad to hear this.

> Everything works except spell checking. No dictionary is recognized
> after a fresh install.
>
> I have my dictionaries in /usr/share/dict/ooo, which seems to be a
> standard location shared (potentially) more applications.
> There is dictionary.lst and all *.dic, *.idx and *.aff files for en_US,
> en_GB and cs_CZ.
>
> In Mandriva's ooo build this location is honoured and spellchecking works.
> In your ooo build (Go-oo 3.1 from go-oo.mirrorbrain.org) a different
> location is used and it is quite hard to guess which.
> So please how can I set go-oo to recognize /usr/share/dict/ooo directory?
> Should I create a symbolic link to usr/share/dict/ooo? But from where!
>
> P.S.
> Why there is no option to set dictionary path in Options ->
> OpenOffice.org -> Paths. It seems to be such a suitable place!
> The  /usr/share/dict/ooo is shared (at least) with Firefox. Firefox
> /usr/share/dict/mozilla contains just links to /usr/share/dict/ooo.

Unfortunately, the directory for external dictionaries is defined during the 
build time and it is not enabled by default.

I have just enabled it for the Go-oo linux build, so the following OOo-3.1.1 
version will search the hunspell/myspell, thesaurus, and hyphen dictionaries 
in the following directories:

	/usr/share/hunspell
        /usr/share/hyphen
        /usr/share/mythes

Unfortunately, the directories are not the same on each distribution. I used 
the default paths defined in the OOo sources (configure.in). You would need 
to create compat symlinks on your Mandriva system.

As I said, the above directories will start working with the upcoming 
OOo-3.1.1. In the meantime, you would need to install the dictionaries as 
extensions. You might get them at
http://extensions.services.openoffice.org/dictionary

I am sorry for the inconvenience.


-- 
Best Regards,

Petr Mladek
software developer
---------------------------------------------------------------------  
SUSE LINUX, s. r. o.                        e-mail: pmladek at suse.cz
Lihovarská 1060/12                          tel: +420 284 028 952
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz/


More information about the ooo-build mailing list