LibreOffice ユーザープロファイル

From The Document Foundation Wiki
Jump to: navigation, search
本ページはGlobal Wikiからの有志による翻訳ページです。未翻訳があることや内容が古い場合があります。最新化、翻訳にご協力お願いします。
日本語独自の情報についてまとめることを目的として、日本語コミュニティによって運営されているページとして 日本語コミュニティ独自ページ があります。
URLが で始まっていて、カテゴリーがJAのページです。


ユーザプロファイルを操作する時は、まずバックアップをしましょう! 変更しても思った動作にならないとか、元の状態に戻したくなったり、LibreOfficeの開発者がデバッグやバグフィックスのためにユーザプロファイルについて問い合わせる事があるかもしれませんので、バックアップは直ぐに消さないで下さい。

A Fix for Bug tdf#53583 Helper tool collecting user configuration might ease collecting info developers need (without making backups superfluous).


LibreOffice gathers all the user related data (extensions, custom dictionaries, templates, etc) on a dedicated folder: the user profile. You can find where this folder is located looking at Tools ▸ Options ▸ LibreOffice ▸ Paths: most of the folders indicated there are inside the user profile.

NOTE: LibreOfficeをアンインストールや更新しても、このフォルダーは維持されて変更されません。

NOTE: 以降、<user name> はログイン時のユーザ名を表しています。これは、LibreOfficeには関係がない、ユーザーアカウントの名前です。



  • Vistaより前: \Documents and Setting\<user name>\Application Data\libreoffice\4\user   (LibreOffice 4)
  • Vistaより前: \Documents and Setting\<user name>\Application Data\libreoffice\3\user   (LibreOffice 3)
  • Vista以降: %appdata%\roaming\libreoffice\4\user   (LibreOffice 4)
  • Vista以降: %appdata%\roaming\libreoffice\3\user   (LibreOffice 3)

Windowsの標準インストールでは、これらのフォルダーは Cドライブ配下にあります。

NOTE: インストールされているWindowsのバージョンに応じて"Application Data"フォルダーを読みかえて下さい。


  • /home/<user name>/.config/libreoffice/4/user   (LibreOffice 4)
  • /home/<user name>/.config/libreoffice/3/user   (LibreOffice 3 since 3.5.0)
  • /home/<user name>/.libreoffice/3/user   (prior to LibreOffice 3.5.0)

NOTE: この説明はThe Document Foundationから公式にリリースされているLibreOfficeの場合です。お使いのLinuxディストリビューションによってはパスが若干異なるかもしれません。


  • /Users/<user name>/Library/Application Support/libreoffice/4/user   (LibreOffice 4)
  • /Users/<user name>/Library/Application Support/libreoffice/3/user   (LibreOffice 3)

Important: 通常これらのファイルはアイコンで表示されませんが、Finderのメニューバーで移動をクリックしoptionキーを押すことによって、非表示のライブラリ(/Library)が表示されるようになります。

A single user profile must only ever be accessed by a single LibreOffice process. (Internally, if a single user starts multiple LibreOffice processes that would all access the same user profile, only the first process does any actual work, like opening documents for editing, and the excess processes pass on their command line arguments to the first one for processing.) Especially, one must not reuse a single user profile across multiple accounts on one computer, or across computers.

Also, different versions of LibreOffice can store different sorts of data in their respective user profiles. If a new version of LibreOffice does not yet find a user profile at the default location for that version, it looks for existing user profiles from old LibreOffice or versions at well-known locations and migrates any data it can continue to use to the new location. But if you explicitly request a LibreOffice version to reuse a user profile from another version, that can cause strange effects.

Resetting the user profile

There is always a possibility (for example, after a power cut when LibreOffice is in use) of corruption for any file inside the user profile. If you notice any strange behavior on LibreOffice, or simply it fails to start, the first thing to try is to reset the user profile. To do so, follow these steps:

  • After closing all LibreOffice instances (including the "QuickStart" on system tray) rename the folder with your user profile (changing, for example, "user" by "user-old"). There is no need to delete this folder: in fact there is a possibility to recover something (for example, your templates).
  • Restart LibreOffice: a new user profile will be generated.
  • Check if the problem is now solved.
    • If the problem persists, you can restore the previous profile because it was not the origin of the problem (delete the new folder and give the old one its former name).
    • If the problem is solved, one or more files on your profile are corrupted... but not necessarily all. You can always replace one by one the folders inside your user profile with the old ones (restarting LibreOffice every time including the quickstart) to see which one produce the failure.

User profile content

Inside the user profile there are several highly specialized folders:

  • autocorr: the substitution table you can configure on Tools ▸ AutoCorrect Options
  • autotex: the "AutoText" (Edit ▸ AutoText) you created.
  • backup: the file backups you get when enabling the option "Always create backup copy" is enabled under Tools ▸ Options ▸ Load/Save ▸ General.
  • basic: all your macros.
  • config: some configuration files.
  • database: the databases you registered.
  • gallery: your personal gallery (Tools ▸ Gallery).
  • psprint: possibly used for pdf export. (if someone know, please edit this entry)
  • registry: contents the most part of the configuration files.
  • Scripts: contains the optional Folders for user-defined scripts: beanshell, java, javascript and python. (for example the scripts you find over: tools ▸ Macros ▸ Organize Macros ▸ python ▸ My Macros)
  • store: ?? (if someone know, please edit this entry)
  • temp: possibly temporary files (if someone know, please edit this entry)
  • template: here you can find your custom templates (File ▸ Templates ▸ Organize ▸ My templates)
  • uno_packages: the extensions installed by the user.
  • wordbook: the custom dictionaries.

Some extensions (like OOoLatex) could add other folders.

NOTE: other than the user profile, LibreOffice considers the configuration for all users you can find in the subfolders inside the main installation folder (for example, /opt/libreoffice/share on Linux for the "official" LibreOffice build, or \Program files\libreoffice\share on Windows)

Changing the location of the user profile

Above was indicated the default location for the user profile folders on different systems. This location can be changed editing a file whose name depends on the operative system considered:

  • bootstraprc on *nix like systems
  • bootstrap.ini on Windows

You can find this file on:

  • /opt/libreoffice/program/bootstraprc on Linux
  • <installation-folder>\program\bootstrap.ini on Windows

Changing the user profile folder could be useful to maintain several LibreOffice versions running simultaneously (for example, to test development versions and report bugs, or on a business environment to set several users use the same profile.

To modify the directory where the user profile is created, you need to edit the variable "UserInstallation".

The default value for that variable is

UserInstallation=$SYSUSERCONFIG/<user profile folder>

where <user profile folder> depends on the operative system:

.libreoffice/3 for Linux

\AppData\Roaming\libreoffice\3 for Windows Vista


$SYSUSERCONFIG refers to the directory where the data for the computer account user are stored, it is not a directory specific of LibreOffice. For example, it represents /home/<user name> on Linux systems or \Users\<user name> on Windows vista.

NOTE: before you can modify this folder, you need to exit all LibreOffice applications, including the QuickStarter on the system tray

For example, on Linux systems you can change




for a "local" change, or


so the user profile is shared by all users on the system.

You can also use the following parameter to override the user profile directory: soffice -env:UserInstallation=file:///tmp/foobar