Documentation/How Tos/Handling the OpenOffice.org User Profile

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 11:35, 8 September 2009 by Mwaller (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OOo stores all the data user-related in a dedicated folder, often called the profile. You can check its location on your HD in the OOo menu Tools>Options>OpenOffice.org>Paths. Most of the folders mentioned in that dialog are in the OOo user profile.

The folders are hidden by default, make sure your file explorer is configured to display the hidden files and folders.

For Windows users:

   * Before Vista: \Documents and Settings\<user name>\Application Data\OpenOffice.org\3\user\
   * From Vista: \Users\<user name>\AppData\Roaming\OpenOffice.org\3\user

For GNU/Linux users:

   * /home/<user name>/.openoffice.org/3/user

For Mac users:

   * /Users/<user name>/Library/Application Support/OpenOffice.org/3/user

NB: version 3 profile has slightly changed from the 2.# branch, a directory level has been added, former profile was ...\OpenOffice.org2\user\.


Profile Content

The user profile has several sub-folders realated to dedicated items:

   * autocorr: table of replacement from Tools>AutoCorrect
   * autotext: your AutoText entries
   * backup: backup files if you've activated the feature in Tools>Options>Load/Save>General, Always create a backup copy. Each time you save manually a file, the previous version is saved here (overwriting the former one). So you have the version n-1, n being the current version saved.
   * basic: contains all the macros you've installed
   * config: some configuration files
   * database: registered databases
   * gallery: customized gallery (Tools>Gallery)
   * psprint: used for PDF export I guess
   * registry: contains most of the configuration files that could be damaged, especially in /data/org/openoffice/Office subfolder
   * Scripts: no idea
   * store: no idea
   * temp: no idea
   * template: where are stored your custom templates (File>Templates>Organize>My Templates)
   * uno_packages: where are stored the extensions installed for the user only (including the spell checking dictionaries)
   * wordbook: contains the custom dictionaries (see also the [Tutorial] Spell check and Language configuration)

Note that in parallel with this user profile, OOo also takes into account the configuration set for all users, that is the subfolders located in the main installation directory:

   * /opt/openoffice.org3/share under GNU/Linux
   * \Program files\OpenOffice.org 3\share under Windows


Moving User Settings

That's rather easy, just copy the whole profile (\user\ ...) to the new machine. You can even do that between a Windows install and a GNU/Linux one.

Note that version 3 asks during the install if you want to transfer your personal data, that is import your former 2.# version user configuration. Don't check that option! It can lead to issues afterwards, so better start from scratch and do that step by step (see below).


Resetting the User Profile

A corruption of your profile can sometimes occur (an OS crash when using OOo for example). If you notice some strange behavior of OOo or if it just crashes or doesn't start, the first thing to try is to reset the user profile.

   * Rename it: change the \user folder (see here for its location) to \user.old for example. This way, you still keep a backup of your configuration.
   * Restart OOo, it will create a new profile. You'll have to go through the welcome process again. Note that if you had a version 2.x installed before, version 3 asks if you want to transfer your personal data, that is import your former 2.x profile. Don't check that option! It can wreck the new profile because of deprecated configuration files.
   * See if the issue has been fixed or not.
         o Not fixed. Then the user profile may not be involved and you can replace the new profile by the old one (delete the new and rename back the old one to \user).
         o Fixed. It means that one or few configuration files have been damaged. But it doesn't mean that the whole profile is dead. If you've heavily customized OOo, you can still try to retrieve some parts of your configuration: as you have kept a backup, copy the subfolders (one at a time), and restart OOo to see if the issue is back or not. You can therefore spot from where the issue comes.


Template:Documentation/FromForum

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools