[Tutorial] User configurations

Home made tutorials, by users, for users
Forum rules
No question in this section please
For any question related to a topic, create a new thread in the relevant section.
Post Reply
huw
Volunteer
Posts: 417
Joined: Wed Nov 21, 2007 1:57 pm

[Tutorial] User configurations

Post by huw »

Has anyone written a definitive guide to backing up / deleting / transferring the user configurations used by OpenOffice / StarOffice? (macros, toolbar buttons & positions, keyboard shortcuts, custom dictionary, options & customisations in general, etc.)
  • Where exactly are they on the various supported platforms?
  • What should be deleted to cause a rebuild with defaults? Or to backup all customisations?
  • Can only certain bits be backed up or deleted?
  • Can they be transferred to a new user login? or a new computer? or a different OS?
  • Can they be shared between the two different installs for the same user on a dual-boot machine?
  • Are there any "gotchas" when restoring a backup copy? Are partial restores possible?
  • Are the above answers the same for all flavours of OpenOffice (OO.o, Novell, Star, etc.)? Or how do they differ? And different releases (2.2, 2.3.1, etc.)?
  • Which settings are document specific, and not actually part of the user configuration at all?
I don't know the answers myself, and have always set up a new install to my liking from scratch rather than risk corrupting it copying the wrong files over.

e.g. Is it

Code: Select all

C:\Documents and Settings\username\Application Data\StarOffice8\user\config
or

Code: Select all

C:\Program Files\Sun\StarOffice 8\share\config\soffice.cfg\modules
or is it, as it appears, a combination of the two? (Note, I'm not desperate to know the answer to this specific question, I'm just using it to illustrate how baffling I, and no doubt others, find it all).

Edit: added Villeroys suggestion
Last edited by huw on Tue Mar 25, 2008 12:08 pm, edited 2 times in total.
User avatar
Villeroy
Volunteer
Posts: 31321
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Tutorial suggestion - user configurations

Post by Villeroy »

Just another point:
[*] Which settings are stored individually with documents?
The options dialog mixes document properties with component/application settings.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
Hagar Delest
Moderator
Posts: 32824
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Tutorial suggestion - user configurations

Post by Hagar Delest »

I don't recall such tutorial. I don't recall neither any compatibility issue with sharing a profile between Linux and Windows for example.
LibreOffice 24.8 on Xubuntu 24.10 and 7.6.4.1 portable on Windows 10
User avatar
kabing
Volunteer
Posts: 678
Joined: Fri Nov 23, 2007 12:05 am
Location: Midwest, USA

Re: Tutorial suggestion - user configurations

Post by kabing »

Some of the information you've asked about has been written up for NeoOffice users in the neowiki.

As it stands, that info is pretty Mac (and Neo) specific. It would provide some direction in terms of what is stored where, however. For example, the Neo path for autotexts is:

~/Library/Preferences/NeoOffice-2.2/user/autotext
where ~ is the user's home directory. But the ~/Library/Preferences part of the path is specific to the MacOSX structure.

I don't use Windows or Linux, so I don't know the parallel path for these OSs, but I am reasonably confident from the various posts that I've read that end of the paths, starting with "user" are consistent across platforms.

As frequently as I see problems that are preferences related (especially the disappearance of the data to fields button and mail merge problems), it would be very helpful to have a tutorial that covered these topics. I'm at a loss to help Windows and Linux (and OOo X11) users on the exact procedures for moving/renaming the preferences folder.

kabing
NeoOffice (app store version) OpenOffice.org 4.1 and LibreOffice 4.3 on Mac OS X El Capitan
OpenOffice.org 4.1.2 on Windows 10 (Previously on Vista)
huw
Volunteer
Posts: 417
Joined: Wed Nov 21, 2007 1:57 pm

Re: Tutorial suggestion - user configurations

Post by huw »

User avatar
foxcole
Volunteer
Posts: 1507
Joined: Mon Oct 08, 2007 1:31 am
Location: Minneapolis, Minnesota

Re: [Tutorial] User configurations

Post by foxcole »

huw wrote:
  • Where exactly are they on the various supported platforms?
This path could vary slightly for everyone who uses OpenOffice Portable, so it's not really possible to specify it by platform alone.

The universal way to find its location is to look in Tools> Options> OpenOffice.org> Paths. (In the Windows installatoin, tt's the \settings\user directory, but I don't know whether it's represented that same way on other platforms... in any case, that's where to look. "user" is, of course, the directory that must be renamed if a fresh profile needs to be generated.
huw wrote:[*]What should be deleted to cause a rebuild with defaults? Or to backup all customisations?
I wouldn't delete anything but just rename the user folder, at least at first. OOo can then be restarted to create a fresh default version. Updating OOo pulls the "user" folder into the new version, preserving the profile settings, so if you have a renamed copy and still want to keep it, I'd move that out of its default location and put it somewhere else on the hard drive before installing. (I personally move them to a directory I use for downloads, so I would habitually know where to find it later.)

Deleting makes it much harder to get them back if you want them later. If by "customisations" you would include AutoText and such that the user set up, see the reply marked (X) below.
huw wrote:[*]Can they be transferred to a new user login? or a new computer? or a different OS?
I don't think there's any problem with just copying that folder. It doesn't contain dictionaries, though, or the autocorrect file, so those would be copied separately (see (X)).
huw wrote:[*]Are there any "gotchas" when restoring a backup copy? Are partial restores possible?
The only way I know to partially restore is to open the old "user" folder and manually move files to the new one, one by one. This can be tedious because if the issue is that a configuration setting was causing problems, you'd want to restart OOo after each move to make sure the file you just moved in wasn't the corrupted one.

[*]Which settings are document specific, and not actually part of the user configuration at all?[/list]
(X) If you want to preserve dictionaries, autocorrect, autotext, etc., which are things you set but that aren't stored in your user profile, save the Share folder and copy its contents into the new version. (Previous OOo versions leave behind a Share and a Program folder, but for some reason these only contain one folder each: in Share, only uno_packages is preserved and in Program, only python-core x.x... tho' I don't think everyone would have the python one. I can see the sense of preserving these, as they may contain scripts, but I don't see the sense in not preserving autotext etc., that require time to set up and can disrupt the user's work quite a bit if they're missing.)

In Windows XP, that's found in C:\Program Files\OpenOffice.org x.x.
In OOo Portable, the path is ...\OpenOfficePortable\App\openoffice\share.
huw wrote:have always set up a new install to my liking from scratch rather than risk corrupting it copying the wrong files over.
The "user" settings are automatically copied over. If they weren't corrupted before the installation, they're unlikely to be corrupted after. It's safe to let OOo preserve them for you. I've never had a problem, anyway, even copying them into dev releases.
Cheers!
---Fox

OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
archarank
Posts: 3
Joined: Thu Jan 17, 2013 2:18 pm

Re: [Tutorial] User configurations

Post by archarank »

Where exactly are they on the various supported platforms?
OpenOffice 3.1 on Windows Vista
Post Reply