Installing an extension for all users

From NeoWiki

Jump to: navigation, search

You may wish to install an OpenOffice.org extension for all NeoOffice users on your Mac. The Extensions Manager in NeoOffice can only install an extension for the current user. In order to install an extension for all users (or remove an extension that was installed for all users, e.g. the default OpenOffice.org English, Spanish, or French dictionaries), you must use a series of Terminal commands.

[edit] Installing an extension for all users

N.B. You will need to be logged into your Mac using an account that has Administrator privileges.

  1. Open Terminal (in /Applications/Utilities)
  2. Execute the following two Terminal commands (you can copy and paste each line into the Terminal, replacing /path/to/the/dictionary-or-extension with the path to the downloaded extension you wish to install):
cd /Applications/NeoOffice.app/Contents/MacOS sudo ./unopkg.bin add --verbose --shared /path/to/the/dictionary-or-extension -env:UserInstallation=file:///tmp/$LOGNAME

The second command will prompt you to enter your administrator password.

Your extension will now be available for all users (it will appear in the Extensions Manager with a "lock" icon).

[edit] Removing an extension that was installed for all users

N.B. You will need to be logged into your Mac using an account that has Administrator privileges.

  1. Open Terminal (in /Applications/Utilities)
  2. Execute the following two Terminal commands (you can copy and paste each line into the Terminal, replacing name-of-dictionary-or-extension with the name of the extension you wish to remove):
cd /Applications/NeoOffice.app/Contents/MacOS sudo ./unopkg.bin remove --verbose --shared name-of-dictionary-or-extension -env:UserInstallation=file:///tmp/$LOGNAME

The second command will prompt you to enter your administrator password.

Your shared extension has now been removed.

Personal tools