Bootstraprc
From Apache OpenOffice Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 |