Difference between revisions of "Bootstraprc"

From Apache OpenOffice Wiki
Jump to: navigation, search
(initial edit)
 
 
Line 34: Line 34:
 
| SYSUSERHOME || User Home Directory || file:///home/sxw
 
| SYSUSERHOME || User Home Directory || file:///home/sxw
 
|}
 
|}
 +
 +
[[Category:Configuration]]

Latest revision as of 13:43, 3 December 2010

The configuration file bootstraprc in the OOo program directory has some configuration variables, specifically one for the path to the user profile named UserInstallation.

Here is an example of what a bootstraprc might look like on a Linux system:

[Bootstrap]
BaseInstallation=${OOO_BASE_DIR}
InstallMode=<installmode>
ProductKey=OpenOffice.org 3.4
UserInstallation=$ORIGIN/../.openoffice.org/3
[ErrorReport]
ErrorReportPort=80
ErrorReportServer=

In this example the directive UserInstallation contains a so called macro $ORIGIN that gets expanded to the absolute program path when the office starts.

The following table lists and explains all possible macros you can use in the bootstraprc file:

Macro Name expands to Example (64bit Linux)
_OS Name of the Operating System Linux
_ARCH Operating System Architecture X86_64
_CPPU_ENV C++ UNO Environment gcc3
ORIGIN Path of the program directory the soffice.bin resides in file:///opt/misc/dev300_m92/ openoffice.org3/program
SYSBINDIR see ORIGIN see ORIGIN
SYSUSERCONFIG System Configuration Directory file:///home/sxw/.config
SYSUSERHOME User Home Directory file:///home/sxw
Personal tools