Date: prev next · Thread: first prev next last
2024 Archives by date, by thread · List index


On 2024-04-10 09:23, Regina Henschel wrote:
Hi Eustace,

Eustace schrieb am 10.04.2024 um 11:51:
I would like to change the user profile from the AppData folder to the folder C:\\My Stuff\LibreOffice, where I moved the profile from another computer. How do I do this?


I know two ways to tell LibreOffice were the user profile is located: (1) Editing the file bootstrap.ini
(2) Call LibreOffice with a parameter
There might exist further ways.

(1)
The file bootstrap.ini is located in the programs folder in \LibreOffice\program. You can edited it with a simple editor. The file has a line like
UserInstallation=$SYSUSERCONFIG/LibreOffice/4
In your case the entry needs to be
UserInstallation=file:///c:/My%20Stuff/LibreOffice

The %20 is for the space. BTW, you should not use folder names with spaces. If you need a distance for better readability, it is better to use an underscore instead of a space.

There exists some more $ variables. For example if you do not install LibreOffice in the programs folder but for example in the folder LibreOfficeTest, than with the setting
UserInstallation=$ORIGIN/..
the user profile is created into the same folder as the program itself.

(2)
You do never start LibreOffice with double-click on a document or Open from context menu. In that case you can create a shortcut for LibreOffice e.g. on the Desktop. Such shortcut can contain the parameter -env:UserInstallation.

To create a shortcut on the Desktop find the file soffice.exe in the programs folder in \LibreOffic\program. Right-click the file. The context menu has the item "Send to" and therein "Desktop (create shortcut)". On Windows 11 you need to extend the context menu with "Show more options". Or you create the shortcut from "Create shortcut" and move it later to the target place.

When the shortcut is created, right-click it and use item 'Properties'. You will find a line "Target". It might have an entry like
"C:\Program Files\LibreOffice\program\soffice.exe"
After that text you add
-env:UserInstallation=file:///c:/My%20Stuff/LibreOffice

The workflow is then to first start LibreOffice from this shortcut and then from inside LibreOffice open the documents.

The method (2) allows to use one LibreOffice installation with different user profiles, for example one with default English UI and one with customized toolbars or a different UI language.

Do not forget to make backups before you test any of these methods!

Kind regards,
Regina

Thanks for the extensive directions (including how to make shortcuts!) I remembered I had used in the past the bootstrap.ini editing method — I guess I had to refresh my memory. I did not know the second one but it's inferior since you cannot open a document directly.

Yes, I know about the difficulties of using spaces in file names, like having to refer to them as MYSTUFF~1 in DOS. One day I should decide to use underscores, but I am afraid of breaking something I have already built...

Eustace
--
It ain't THAT, babe! — A radical reinterpretation
https://emf.neocities.org/bd/itaintmebabe.html


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.