Openofficeorgglobalconfig

This page is dedicated to configuring OpenOffice.org on a GLOBAL (I.E. for ALL users) level.

This is, by far, NOT official OOo documentation - it does work for me, however.

EXAMPLE: Disabling Help Agent for all users

First, have all users exit Open Office.

Edit /usr/lib/openoffice/share/registry/schema/org/openoffice/Office/Common.xcs and search for this section:

<prop oor:name="Enabled" oor:type="xs:boolean">
          <info>
            <desc>Specifies whether the HelpAgent is enabled.</desc>
            <label>enable HelpAgent</label>
          </info>
          <value>true</value>
        </prop>

Modify the <value> tag to read false instead of true. Save and exit.

Now, you need to (unfortunately) nuke everyone's ~/.openoffice.org2 config dirs. This is done by a simple script (which can be easily modified to remove other user-level configuration files/dirs, just FYI):

rmstuff.sh:

#!/bin/bash
#
# Removes stuff.
#
for file in /home/*
do
rm -rf $file/.openoffice.org2
done
# EOF

Note: There is probably a TON of other variables we can edit through these .xcs files. They will probably get overwritten upon upgrade/reinstallation, so do this at your own risk.
Note 2: There is a better way to do this, probably without having to nuke everyone's OOo config dirs, see http://api.openoffice.org/docs/DevelopersGuide/Config/Config.xhtml

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License