Launch LibreOffice with a Temporary Profile
Corrupted user configurations in LibreOffice often lead to unexpected crashes, missing toolbars, or sluggish performance. This guide explains how to launch LibreOffice with a fresh, temporary user profile to isolate and troubleshoot these issues without modifying or deleting your existing personal settings.
Method 1: Using LibreOffice Safe Mode
LibreOffice includes a built-in Safe Mode that temporarily disables hardware acceleration, user extensions, and custom settings.
Via the Graphical Interface
- Open LibreOffice normally.
- Click on Help in the top menu bar.
- Select Restart in Safe Mode.
- In the dialog box that appears, click Restart.
- When the Safe Mode configuration window opens, select Continue in Safe Mode to run LibreOffice with a clean, default profile.
Via the Command Line
You can also trigger Safe Mode directly from your terminal or command prompt by executing:
Linux / macOS:
libreoffice --safe-modeWindows (via Command Prompt or Run dialog):
soffice.exe --safe-mode
Method 2: Launching with a Custom Temporary Profile
If you want a completely isolated, disposable profile directory that
does not interfere with your primary configuration, use the
-env:UserInstallation command-line parameter.
On Linux
Run the following command in your terminal. This creates a temporary
profile directory in the /tmp folder:
libreoffice -env:UserInstallation=file:///tmp/libreoffice_temp_profileOn macOS
Open the Terminal app and enter:
/Applications/LibreOffice.app/Contents/MacOS/soffice -env:UserInstallation=file:///tmp/libreoffice_temp_profileOn Windows
- Press
Win + Rto open the Run dialog. - Enter the following command (adjust the LibreOffice path if installed in a custom location):
"C:\Program Files\LibreOffice\program\soffice.exe" -env:UserInstallation=file:///C:/temp/libreoffice_temp_profileNote: Ensure the target folder (such as C:\temp)
exists before executing the command.
Troubleshooting and Cleanup
- Evaluating the Problem: If the issue disappears while running in the temporary profile, your standard user profile is likely corrupted. You can safely reset or back up your standard profile located in your operating system’s application data directory.
- Cleaning Up: Once testing is complete, close
LibreOffice and delete the generated temporary folder
(
/tmp/libreoffice_temp_profileorC:\temp\libreoffice_temp_profile) to free up disk space.