Page 1 of 1

[solved] system-wide localized dictionary

Posted: 6. Nov 2010, 23:02
by witek
I realize there is a method for a particular user:
http://www.salixos.org/wiki/index.php/G ... ctionaries
but I have over 20 users and I don`t want to repeat this procedure for each. How to get system-wide localized dictionary for openoffice? I guess this should be possible somehow.

Re: system-wide localized dictionary

Posted: 6. Nov 2010, 23:22
by 09groovy
http://extensions.services.openoffice.org/en/resources/user/howto_install wrote:Installing an extension for all users
To install extensions for all users it is necessary to have write access to the office installation. Open the Extension Manager dialog via Tools-Extension Manager and click the "Add" button. After having selected an extension one will be asked to install it for oneself or all users. Choose "all users".
Another idea:
Verify the files names that would be installed and to where. Then use a little script to copy all files over in the appropriate folders with the same name. Probably the options box in OpenOffice will be filled by listing all available files in a special folder.

Re: system-wide localized dictionary

Posted: 7. Nov 2010, 00:13
by Shador
Addons are apparently installed in ~/.openoffice.org/3/user/uno_packages/cache/uno_packages/. For example my en_US dictionary is here:

Code: Select all

$ ls ~/.openoffice.org/3/user/uno_packages/cache/uno_packages/u33w3C*
/home/shador/.openoffice.org/3/user/uno_packages/cache/uno_packages/u33w3C

/home/shador/.openoffice.org/3/user/uno_packages/cache/uno_packages/u33w3C_:
en_US.oxt
Maybe copying those 2 files (for you they're probably named differently) to /usr/lib64/openoffice.org3/share/uno_packages/cache/ resp. for 32-Bit /usr/lib/openoffice.org3/share/uno_packages/cache/, makes the addon available to all users of the system.

Re: system-wide localized dictionary

Posted: 8. Nov 2010, 10:19
by witek
09groovy wrote: After having selected an extension one will be asked to install it for oneself or all users. Choose "all users".
This works! Why haven`t I thought about it myself :)
At least I updated the Salix FAQ regarding this issue.