[solved] system-wide localized dictionary

Post Reply
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

[solved] system-wide localized dictionary

Post 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.
Last edited by witek on 8. Nov 2010, 11:07, edited 1 time in total.
User avatar
09groovy
Posts: 11
Joined: 5. Nov 2010, 15:26

Re: system-wide localized dictionary

Post 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.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: system-wide localized dictionary

Post 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.
Image
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: system-wide localized dictionary

Post 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.
Post Reply