Difference between revisions of "Documentation/How Tos/Handling the OpenOffice.org User Profile"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 10: Line 10:
 
{{Documentation/OSX| For Mac users: <br> <tt> /Users/<user name>/Library/Application Support/OpenOffice.org/3/user </tt> }}
 
{{Documentation/OSX| For Mac users: <br> <tt> /Users/<user name>/Library/Application Support/OpenOffice.org/3/user </tt> }}
  
Note that version 3 profile has slightly changed from the 2.# branch, a directory level has been added, former profile was <tt>...\OpenOffice.org2\user\ </tt>.
+
Note that version 3 profile has slightly changed from the 2.x branch, a directory level has been added, former profile was <tt>...\OpenOffice.org2\user\ </tt>.
  
  
 
== Profile Content ==
 
== Profile Content ==
  
The user profile has several sub-folders realated to dedicated items:
+
The user profile has several sub-folders related to dedicated items:
  
    * autocorr: table of replacement from Tools>AutoCorrect
+
* autocorr: table of replacement from '''Tools > AutoCorrect'''
    * autotext: your AutoText entries
+
* 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.
+
* backup: backup files if you have 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
+
* basic: contains all the macros you have installed
    * config: some configuration files
+
* config: some configuration files
    * database: registered databases
+
* database: registered databases
    * gallery: customized gallery (Tools>Gallery)
+
* gallery: customized gallery ('''Tools > Gallery''')
    * psprint: used for PDF export I guess
+
* psprint: used for PDF export ?
    * registry: contains most of the configuration files that could be damaged, especially in /data/org/openoffice/Office subfolder
+
* registry: contains most of the configuration files that could be damaged, especially in <tt> /data/org/openoffice/Office subfolder </tt>
    * Scripts: no idea
+
* Scripts:  
    * store: no idea
+
* store:  
    * temp: no idea
+
* temp:  
    * template: where are stored your custom templates (File>Templates>Organize>My Templates)
+
* 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)
+
* 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)
+
* wordbook: contains the custom dictionaries  
  
 
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:
 
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
+
{{Documentation/Linux| <tt> /opt/openoffice.org3/share </tt> under GNU/Linux}}
    * \Program files\OpenOffice.org 3\share under Windows
+
{{Documentation/Windows| <tt> \Program files\OpenOffice.org 3\share </tt> under Windows}}
  
  
 
== Moving User Settings ==
 
== 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.
+
That's rather easy, just copy the whole profile (<tt>\user\ ...</tt>) 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).
+
{{Documentation/Caution|Note that version 3 asks during the install if you want to transfer your personal data, that is import your former 2.x 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.}}
  
  
 
== Resetting the User Profile ==
 
== 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.
+
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 does not start, the first thing to try is to reset the user profile.
 
+
# Rename it: change the <tt>\user</tt> folder (see above for its location) to <tt>\user.old<tt> for example. This way, you still keep a backup of your configuration.
    * 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 will 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.
    * 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.
    * See if the issue has been fixed or not.
+
#* If it has not been fixed 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 <tt>\user</tt>).
          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).
+
#* If it has been fixed one or few configuration files have been damaged. But that does not mean that the whole profile is dead. If you have heavily customized OOo, you can still try to retrieve some parts of your configuration: as you have kept a backup, copy the sub-folders (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.
          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.
+
  
  

Revision as of 14:08, 8 September 2009

OOo stores all the data user-related in a dedicated folder, often called the profile. You can check its location on your hard disk 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.

Template:Documentation/Windows

Template:Documentation/Linux

Template:Documentation/OSX

Note that version 3 profile has slightly changed from the 2.x branch, a directory level has been added, former profile was ...\OpenOffice.org2\user\ .


Profile Content

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

  • autocorr: table of replacement from Tools > AutoCorrect
  • autotext: your AutoText entries
  • backup: backup files if you have 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 have installed
  • config: some configuration files
  • database: registered databases
  • gallery: customized gallery (Tools > Gallery)
  • psprint: used for PDF export ?
  • registry: contains most of the configuration files that could be damaged, especially in /data/org/openoffice/Office subfolder
  • Scripts:
  • store:
  • temp:
  • 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

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:

Template:Documentation/Linux Template:Documentation/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.

Documentation caution.png Note that version 3 asks during the install if you want to transfer your personal data, that is import your former 2.x 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.


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 does not start, the first thing to try is to reset the user profile.

  1. Rename it: change the \user folder (see above for its location) to \user.old<tt> for example. This way, you still keep a backup of your configuration.
  2. Restart OOo, it will create a new profile. You will 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.
  3. See if the issue has been fixed or not.
    • If it has not been fixed 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 <tt>\user).
    • If it has been fixed one or few configuration files have been damaged. But that does not mean that the whole profile is dead. If you have heavily customized OOo, you can still try to retrieve some parts of your configuration: as you have kept a backup, copy the sub-folders (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