Difference between revisions of "LibreOffice (简体中文)"

From ArchWiki
Jump to navigation Jump to search
(Update with the wiki to prepare for future translation)
Line 11: Line 11:
 
引自 [http://zh-cn.libreoffice.org/ 主页 - LibreOffice]:
 
引自 [http://zh-cn.libreoffice.org/ 主页 - LibreOffice]:
  
:''LibreOffice是一款功能强大且免费的开源办公软件,它同时支持Windows, Macintosh和Linux系统, 为你提供六种针对文档编辑和数据处理需求的拥有丰富功能的应用:Writer, Calc, Impress, Draw, Math和Base. [http://www.libreoffice.org/get-help/ Support]和[http://www.libreoffice.org/get-help/documentation/ documentation]对于我们庞大的且忠实的的社区用户,贡献者和开发者是完全开放的。 [http://www.libreoffice.org/get-involved/ 还等什么,加入我们!]''
+
:''LibreOffice是一款功能强大且免费的开源办公软件,它同时支持Windows, Macintosh 和 Linux系统,为你提供六种针对文档编辑和数据处理需求的拥有丰富功能的应用:Writer, Calc, Impress, Draw, Math和Base。[http://www.libreoffice.org/get-help/ Support]和[http://www.libreoffice.org/get-help/documentation/ documentation]对于我们庞大的且忠实的的社区用户,贡献者和开发者是完全开放的。 [http://www.libreoffice.org/get-involved/ 还等什么,加入我们!]''
  
 
== LibreOffice同Arch Linux的情缘 ==
 
== LibreOffice同Arch Linux的情缘 ==
  
对于[[OpenOffice.org]]的官方支持由LibreOffice所取代, 它是该工程的 "Document Foundation"分支, 其中包含了对于一些功能的强化和额外的特征。 请参考 [https://mailman.archlinux.org/pipermail/arch-general/2011-March/018819.html Dropping Oracle OpenOffice (arch-general)].
+
对于[[OpenOffice.org]]的官方支持由LibreOffice所取代,它是该工程的 "Document Foundation"分支, 其中包含了对于一些功能的强化和额外的特征。 请参考 [https://mailman.archlinux.org/pipermail/arch-general/2011-March/018819.html Dropping Oracle OpenOffice (arch-general)].
  
 
==安装==
 
==安装==
  
从版本3.4.2rc1起, LibreOffice软件包已经被拆分。从[[official repositories|官方软件仓库]][[pacman|安装]]软件包组{{Grp|libreoffice}}。pacman 会显示软件包选择菜单进行安装。
+
[[pacman|Install]] 以下 [[official repositories]]的其中之一:
  
由于没有任何语言包被默认包括进安装,所以用户至少需要安装一个语言包。请安装提示输入数字选择要安装的语言包。
+
* {{Pkg|libreoffice-fresh}} 是一个feature分支,包含了对新的强化。
 +
* {{Grp|libreoffice-still}} 是一个维护分支。
  
请确认字体 {{Pkg|ttf-dejavu}} 和 {{Pkg|artwiz-fonts}} 已经被安装,否则你将只能看到方块。
+
{{注意|
# pacman -S ttf-dejavu artwiz-fonts
+
* 安装过程中至少需要安装一种语言包。默认的语言为Afrikaans (这是因为它是提供的libreoffice语言包的字母排序首位)。如果你想使用UK-English语言包,请安装 {{Pkg|libreoffice-en-GB}}, 而不是{{Pkg|libreoffice-uk}} (Ukrainian)或者 {{Pkg|libreoffice-br}} (Breton)!
 +
* {{Pkg|libreoffice-still-kde4}} 和 {{Pkg|libreoffice-still-gnome}} 分别对应于 Qt 和 GTK+ 可视化工具。详见 [[#Theme|Theme]] 部分.
 +
* 对于 SDK - 根据自己安装的libreoffice包的情况可以选择 {{Pkg|libreoffice-fresh-sdk}} 或 {{Pkg|libreoffice-still-sdk}}
 +
}}
  
{{注意|两种方法均可。如果你很在意qt或者gtk的整合,你需要安装软件包 {{Pkg|libreoffice-kde4}} 或 {{Pkg|libreoffice-gnome}}, 具体请看下面主题部分。
+
检查一下pacman显示的可以选择安装的依赖包。Java Runtime Environment 并不是必须的除非你想要使用 Libreoffice Base: 详见[[Java]]。你可能需要{{AUR|hsqldb2-java}} 来使用 [https://wiki.documentfoundation.org/Base#Java_and_HSQLDB 一些模块] (在Libreoffice Base当中)。
 
 
请阅读pacman推荐的可选依赖(optional dependencies)。例: 安装 [[Java]]运行环境(可选,强烈推荐)。你需要安装 {{Pkg|hsqldb-java}} 来使用 Libreoffice Base。
 
  
 
==主题==
 
==主题==
For [[Qt]] integration, install {{Pkg|libreoffice-still-kde4}}, for [[GTK+]] integration {{Pkg|libreoffice-still-gnome}}. See also [[Uniform_Look_for_Qt_and_GTK_Applications]].
+
对于 [[Qt]] 用户, 请安装 {{Pkg|libreoffice-still-kde4}}, 对于[[GTK+]] 请安装 {{Pkg|libreoffice-still-gnome}}。详情请参考 [[Uniform_Look_for_Qt_and_GTK_Applications]].
  
As of LibreOffice v3.5.x toolkit libraries are checked in the following order:
+
LibreOffice v3.5.x 工具包的库按照以下的顺序来检查:
  
 
  gtk > kde4 > generic
 
  gtk > kde4 > generic
  
 
{{Merge|Uniform_Look_for_Qt_and_GTK_Applications|Looks related to not just libreoffice}}
 
{{Merge|Uniform_Look_for_Qt_and_GTK_Applications|Looks related to not just libreoffice}}
 
+
强制使用某种 VCL UI 接口可以使用以下的一种:
To force the use of a certain VCL UI interface use one of this:
 
  
 
  SAL_USE_VCLPLUGIN=gen lowriter
 
  SAL_USE_VCLPLUGIN=gen lowriter
Line 46: Line 47:
 
  SAL_USE_VCLPLUGIN=gtk3 lowriter
 
  SAL_USE_VCLPLUGIN=gtk3 lowriter
  
It is convenient to save {{ic|SAL_USE_VCLPLUGIN}} variable in your shell configuration file, e.g.{{ic|/etc/bash.bashrc}} or {{ic|~/.bashrc}} if using Bash.
+
{{ic|SAL_USE_VCLPLUGIN}} 变量保存到你的shell配置文件在日后将会非常方便, 比如{{ic|/etc/bash.bashrc}} 或者 {{ic|~/.bashrc}} 如果你使用的是Bash的话。
 
 
{{Note|The new GTK3 UI is experimental and will only be available if you enable "experimental features" in LibreOffice main configuration dialog.}}
 
  
However, if it looks like it is using Windows 95/98 icons, go to ''Tools > Options...'' in the menus (which presents the Options Dialog), then select ''LibreOffice > Accessibility'' and uncheck "Automatically detect high-contrast mode of operating system".
+
{{注意|新的 GTK3 UI 尚处于试验阶段,只有你在LibreOffice 的主配置栏中将"experimental features"启动之后才会生效。}}
 +
然而, 如果它看上去使用的是 Windows 95/98的按钮,请到菜单中的''Tools -> Options...'' (将会出现一个选项的窗口), 接着选择''LibreOffice > Accessibility''并且去掉 "Automatically detect high-contrast mode of operating system"前的对勾。
  
If that does not work immediately, you may need to change the icon set that is in use; this is also in the Options Dialog, under ''LibreOffice > View'' with two pop-up boxes for "Icon size and style" (the latter pop-up box should be changed to something other than "High-contrast").
+
如果这样做之后并没有立即生效, 你可能需要改变以下正在使用的按钮的设置;它同样是在 Options 选项窗口, ''LibreOffice > View''下有两个 "Icon size and style" 的可弹出选项(下面的那个弹出口需要被设置为除了 "High-contrast" 以外的任何一种选项).
  
=== Firefox themes ===
+
=== Firefox 主题 ===
  
LibreOffice 4.x series is able to use Firefox themes. Enter LibreOffice options and choose ''Personalization > Select Theme'', then paste the URL of your favourite one. A convenient button in the dialog box lets you open the browser.
+
LibreOffice 4.x 系列支持使用 Firefox 主题. 进入 LibreOffice options 并选择 ''Personalization > Select Theme'', 接着粘贴你最喜欢的那款主题的URL到下面的框里。一个在对话框里的人性化的按钮将允许你打开你的浏览器进行选择浏览。
  
Themes can be found on [https://addons.mozilla.org/en-US/firefox/themes/ Mozilla's theme repository].
+
主题可以在[https://addons.mozilla.org/en-US/firefox/themes/ Mozilla主题库]中进行浏览。
  
=== Disable startup logo ===
+
=== 关闭启动LOGO ===
  
If you prefer to disable the startup logo, open {{ic|/etc/libreoffice/sofficerc}}, find the {{ic|1=Logo=}} line and set {{ic|1=Logo=0}}.
+
如果你希望开启libreoffice时启动logo不再出现, 可以打开 {{ic|/etc/libreoffice/sofficerc}}, 找到{{ic|1=Logo=}} 那一行并且设置 {{ic|1=Logo=0}}.
  
{{Note|This variable is unrelated with the Logo scripting support.}}
+
{{注意|这个变量和logo的脚本支持没有什么关系。}}
  
 
==管理扩展==
 
==管理扩展==
Line 85: Line 85:
 
为了开启换行规则,你需要安装 {{Pkg|hyphen}} 和与语言对应hyphen规则,比如说 英语的{{Pkg|hyphen-en}},德语的{{Pkg|hyphen-de}}等等。
 
为了开启换行规则,你需要安装 {{Pkg|hyphen}} 和与语言对应hyphen规则,比如说 英语的{{Pkg|hyphen-en}},德语的{{Pkg|hyphen-de}}等等。
  
===Thesaurus===
+
===词库===
 
For the thesaurus option, you will need {{Pkg|libmythes}} and a mythes language thesaurus (like {{Pkg|mythes-en}} for English, {{Pkg|mythes-de}} for German, etc)).
 
For the thesaurus option, you will need {{Pkg|libmythes}} and a mythes language thesaurus (like {{Pkg|mythes-en}} for English, {{Pkg|mythes-de}} for German, etc)).
  
Line 97: Line 97:
 
LanguageTool在Openjdk6下的表现比在openjdk7下要好,尽管这个问题并没有被确认。}}
 
LanguageTool在Openjdk6下的表现比在openjdk7下要好,尽管这个问题并没有被确认。}}
  
=== Finnish spell checking ===
+
=== 芬兰拼写检查 ===
  
 
For Finnish users, there are four packages to be installed. Install them in this order: {{AUR|malaga}}, {{AUR|suomi-malaga-voikko}}, {{AUR|libvoikko}} and {{AUR|voikko-libreoffice}}.
 
For Finnish users, there are four packages to be installed. Install them in this order: {{AUR|malaga}}, {{AUR|suomi-malaga-voikko}}, {{AUR|libvoikko}} and {{AUR|voikko-libreoffice}}.
  
=== Offline help for en-US ===
+
=== 对于en-US的离线帮助 ===
  
 
The US English packages in the official repositories do not include the offline help files. Users who desire offline help for en-US can install the {{AUR|libreoffice-still-en-us-help}} or {{AUR|libreoffice-fresh-en-us-help}} packages from the [[AUR]].
 
The US English packages in the official repositories do not include the offline help files. Users who desire offline help for en-US can install the {{AUR|libreoffice-still-en-us-help}} or {{AUR|libreoffice-fresh-en-us-help}} packages from the [[AUR]].
  
==Installing Macros==
+
==宏的安装==
 
In most Linux distros, the default path for macros is:
 
In most Linux distros, the default path for macros is:
 
  ~/.openoffice.org/3/user/Scripts/
 
  ~/.openoffice.org/3/user/Scripts/
Line 113: Line 113:
 
Another thing to note is that if you intend to use macros, you must have a JRE enabled, use of a JRE is default behaviour; but disabling its use is listed in the speed tweaks below.
 
Another thing to note is that if you intend to use macros, you must have a JRE enabled, use of a JRE is default behaviour; but disabling its use is listed in the speed tweaks below.
  
==优化LibreOffice==
+
==LibreOffice的优化==
 
一些设置可以提升LibreOffice的读取时间和相应速度,但相对应地也可能增加内存的使用量,所以请小心使用。这些设置能在 ''工具 > 选项'' 下找到。
 
一些设置可以提升LibreOffice的读取时间和相应速度,但相对应地也可能增加内存的使用量,所以请小心使用。这些设置能在 ''工具 > 选项'' 下找到。
 
*在 ''内存'' 选项卡下:
 
*在 ''内存'' 选项卡下:
Line 123: Line 123:
 
{{Note|For a list of functionality which depends on OpenOffice Java support, see this page: http://wiki.services.openoffice.org/wiki/Java - Still needed?}}
 
{{Note|For a list of functionality which depends on OpenOffice Java support, see this page: http://wiki.services.openoffice.org/wiki/Java - Still needed?}}
  
==疑难问题==
+
==疑难问题的解决==
 
=== 更改字体 ===
 
=== 更改字体 ===
 
字体可以在LibreOffice的选项里更改。在菜单中,选中 ''工具 > 选项 > LibreOffice > 字体''。 选中 ''使用替换表''。 在左侧的下拉菜单中选中字体,在右侧选中想要替换成的字体 。选好后,点击右侧的对勾。然后根据需要选择''自动''或者''只显示屏幕''。点击确定。
 
字体可以在LibreOffice的选项里更改。在菜单中,选中 ''工具 > 选项 > LibreOffice > 字体''。 选中 ''使用替换表''。 在左侧的下拉菜单中选中字体,在右侧选中想要替换成的字体 。选好后,点击右侧的对勾。然后根据需要选择''自动''或者''只显示屏幕''。点击确定。
Line 146: Line 146:
 
To avoid overwriting on update you can copy {{ic|/usr/lib/libreoffice/program/soffice}} in {{ic|/usr/local/bin}}. Original post [http://www.crazysquirrel.com/computing/debian/bugs/openoffice-over-nfs.jspx here].
 
To avoid overwriting on update you can copy {{ic|/usr/lib/libreoffice/program/soffice}} in {{ic|/usr/local/bin}}. Original post [http://www.crazysquirrel.com/computing/debian/bugs/openoffice-over-nfs.jspx here].
  
=== Fixing Java framework error ===
+
=== 对Java framework错误的修正===
  
 
You may get the following error when you try to run LibreOffice.
 
You may get the following error when you try to run LibreOffice.
Line 158: Line 158:
 
[https://bbs.archlinux.org/viewtopic.php?id=93168 Post on Arch Linux forums].
 
[https://bbs.archlinux.org/viewtopic.php?id=93168 Post on Arch Linux forums].
  
=== LibreOffice does not detect my certificates ===
+
=== LibreOffice无法检查到你的证书 ===
  
 
If you cannot see the certificates when trying to sign a document, you will need to have the certificates configured in Mozilla Firefox (or Thunderbird). If after that LibreOffice still does not show them, set the {{ic|MOZILLA_CERTIFICATE_FOLDER}} environment variable to point to your Mozilla Firefox (or Thunderbird) folder:
 
If you cannot see the certificates when trying to sign a document, you will need to have the certificates configured in Mozilla Firefox (or Thunderbird). If after that LibreOffice still does not show them, set the {{ic|MOZILLA_CERTIFICATE_FOLDER}} environment variable to point to your Mozilla Firefox (or Thunderbird) folder:
Line 165: Line 165:
 
[http://wiki.openoffice.org/wiki/Certificate_Detection Certificate detection].
 
[http://wiki.openoffice.org/wiki/Certificate_Detection Certificate detection].
  
=== Run .pps files in edit mode (without slideshow) ===
+
=== 在编辑模式下运行 .pps 文件(没有幻灯片) ===
  
 
The only solution is to rename the {{ic|.pps}} file to {{ic|.ppt}}.
 
The only solution is to rename the {{ic|.pps}} file to {{ic|.ppt}}.
Line 178: Line 178:
 
</nowiki>}}
 
</nowiki>}}
  
=== Bibliography problems ===
+
=== Bibliography 的问题 ===
  
 
If Writer crashes on attempting to access ''Tools > Bibliography Database'', with the following error:
 
If Writer crashes on attempting to access ''Tools > Bibliography Database'', with the following error:
Line 184: Line 184:
 
Install {{Pkg|libreoffice-base}} as this is a workaround to a known bug, purportedly [http://cgit.freedesktop.org/libreoffice/core/commit/?id=1889c1af41650576a29c587a0b2cdeaf0d297587 fixed].
 
Install {{Pkg|libreoffice-base}} as this is a workaround to a known bug, purportedly [http://cgit.freedesktop.org/libreoffice/core/commit/?id=1889c1af41650576a29c587a0b2cdeaf0d297587 fixed].
  
=== Media support ===
+
=== 多媒体支持 ===
  
 
If embedded videos are just gray boxes, make sure to have installed the [[GStreamer#Current version plugins|GStreamer plugins]] required.
 
If embedded videos are just gray boxes, make sure to have installed the [[GStreamer#Current version plugins|GStreamer plugins]] required.

Revision as of 10:11, 11 December 2014

Tango-preferences-desktop-locale.png本页面需要更新翻译,内容可能已经与英文脱节。要贡献翻译,请访问简体中文翻译组Tango-preferences-desktop-locale.png

附注: please use the first argument of the template to provide more detailed indications.

引自 主页 - LibreOffice:

LibreOffice是一款功能强大且免费的开源办公软件,它同时支持Windows, Macintosh 和 Linux系统,为你提供六种针对文档编辑和数据处理需求的拥有丰富功能的应用:Writer, Calc, Impress, Draw, Math和Base。Supportdocumentation对于我们庞大的且忠实的的社区用户,贡献者和开发者是完全开放的。 还等什么,加入我们!

LibreOffice同Arch Linux的情缘

对于OpenOffice.org的官方支持由LibreOffice所取代,它是该工程的 "Document Foundation"分支, 其中包含了对于一些功能的强化和额外的特征。 请参考 Dropping Oracle OpenOffice (arch-general).

安装

Install 以下 official repositories的其中之一:

注意:

检查一下pacman显示的可以选择安装的依赖包。Java Runtime Environment 并不是必须的除非你想要使用 Libreoffice Base: 详见Java。你可能需要hsqldb2-javaAUR 来使用 一些模块 (在Libreoffice Base当中)。

主题

对于 Qt 用户, 请安装 libreoffice-still-kde4, 对于GTK+ 请安装 libreoffice-still-gnome。详情请参考 Uniform_Look_for_Qt_and_GTK_Applications.

LibreOffice v3.5.x 工具包的库按照以下的顺序来检查:

gtk > kde4 > generic

Merge-arrows-2.pngThis article or section is a candidate for merging with Uniform_Look_for_Qt_and_GTK_Applications.Merge-arrows-2.png

Notes: Looks related to not just libreoffice (Discuss in Talk:LibreOffice (简体中文)#)

强制使用某种 VCL UI 接口可以使用以下的一种:

SAL_USE_VCLPLUGIN=gen lowriter
SAL_USE_VCLPLUGIN=kde4 lowriter
SAL_USE_VCLPLUGIN=gtk lowriter
SAL_USE_VCLPLUGIN=gtk3 lowriter

SAL_USE_VCLPLUGIN 变量保存到你的shell配置文件在日后将会非常方便, 比如/etc/bash.bashrc 或者 ~/.bashrc 如果你使用的是Bash的话。

注意: 新的 GTK3 UI 尚处于试验阶段,只有你在LibreOffice 的主配置栏中将"experimental features"启动之后才会生效。

然而, 如果它看上去使用的是 Windows 95/98的按钮,请到菜单中的Tools -> Options... (将会出现一个选项的窗口), 接着选择LibreOffice > Accessibility并且去掉 "Automatically detect high-contrast mode of operating system"前的对勾。

如果这样做之后并没有立即生效, 你可能需要改变以下正在使用的按钮的设置;它同样是在 Options 选项窗口, 在LibreOffice > View下有两个 "Icon size and style" 的可弹出选项(下面的那个弹出口需要被设置为除了 "High-contrast" 以外的任何一种选项).

Firefox 主题

LibreOffice 4.x 系列支持使用 Firefox 主题. 进入 LibreOffice options 并选择 Personalization > Select Theme, 接着粘贴你最喜欢的那款主题的URL到下面的框里。一个在对话框里的人性化的按钮将允许你打开你的浏览器进行选择浏览。

主题可以在Mozilla主题库中进行浏览。

如果你希望开启libreoffice时启动logo不再出现, 可以打开 /etc/libreoffice/sofficerc, 找到Logo= 那一行并且设置 Logo=0.

注意: 这个变量和logo的脚本支持没有什么关系。

管理扩展

Arch正在移植一些扩展。目前我们移植了这些扩展: pdfimport presentation-minimizer presenter-screen report-builder wiki-publisher ct2n hunart numbertext oooblogger typo watch-window diagram.


  • 如果你需要这些扩展请直接安装:
# pacman -S libreoffice-extension-nlpsolver libreoffice-extension-foo ...

如需安装更多插件请点击 工具 > 扩展管理器 或者访问 Get extensions Online

语言帮助

拼写检查

为了开启拼写检查,你需要安装 hunspell 和与语言对应hunspell词典,比如说 英语的hunspell-en,德语的hunspell-de等等。

断词换行规则

为了开启换行规则,你需要安装 hyphen 和与语言对应hyphen规则,比如说 英语的hyphen-en,德语的hyphen-de等等。

词库

For the thesaurus option, you will need libmythes and a mythes language thesaurus (like mythes-en for English, mythes-de for German, etc)).

语法检查

为了开启语法检查,你需要安装一个扩展,比如 LanguageTool,可以在AUR: libreoffice-extension-languagetoolAUR 找到 或者 LanguageTool Website

其它的语法工具可以在这里 LibreOffice Extension Page 或者这里 OpenOffice's Website找到。 不确保所有的OpenOffice扩展都能在LibreOffice下正常工作。

注意: Languagetool 使用java并且可能会是LibreOffice短暂地失去响应,特别是在打开文件的时候。幸运的是,这种情况只在LibreOffice首次启动时才有。 LanguageTool在Openjdk6下的表现比在openjdk7下要好,尽管这个问题并没有被确认。

芬兰拼写检查

For Finnish users, there are four packages to be installed. Install them in this order: malagaAUR, suomi-malaga-voikkoAUR, libvoikkoAUR and voikko-libreofficeAUR.

对于en-US的离线帮助

The US English packages in the official repositories do not include the offline help files. Users who desire offline help for en-US can install the libreoffice-still-en-us-helpAUR or libreoffice-fresh-en-us-helpAUR packages from the AUR.

宏的安装

In most Linux distros, the default path for macros is:

~/.openoffice.org/3/user/Scripts/

The path for this directory for LibreOffice in Arch Linux is:

~/.config/.libreoffice/3/user/Scripts/

Another thing to note is that if you intend to use macros, you must have a JRE enabled, use of a JRE is default behaviour; but disabling its use is listed in the speed tweaks below.

LibreOffice的优化

一些设置可以提升LibreOffice的读取时间和相应速度,但相对应地也可能增加内存的使用量,所以请小心使用。这些设置能在 工具 > 选项 下找到。

  • 内存 选项卡下:
    • 把可撤销部数减少到 100 一下, 20 到 30 步左右是个不错的选择。
    • 图形缓冲区 中, 把 用于 LibreOffice增加到 128 MB (默认值为 20MB)。
    • 每个对象的内存 增加到 20MB (默认值为 5MB)。
    • If you use LibreOffice often, check LibreOffice Quickstarter.
  • Java 选项卡下, 取消选中 使用Java运行环境
Note: For a list of functionality which depends on OpenOffice Java support, see this page: http://wiki.services.openoffice.org/wiki/Java - Still needed?

疑难问题的解决

更改字体

字体可以在LibreOffice的选项里更改。在菜单中,选中 工具 > 选项 > LibreOffice > 字体。 选中 使用替换表。 在左侧的下拉菜单中选中字体,在右侧选中想要替换成的字体 。选好后,点击右侧的对勾。然后根据需要选择自动或者只显示屏幕。点击确定。

此外还需要进入工具 > 选项 > LibreOffice > 视图,取消选中 "将系统字体用于用户界面"。如果你的字体不支持抗锯齿,比如 Arial 字体,你还需要取消选中 "平滑屏幕字体边缘"。

抗锯齿

执行

$ echo "Xft.lcdfilter: lcddefault" | xrdb -merge

如需使其永久生效,请添加 Xft.lcdfilter: lcddefault 到你的 ~/.Xresources 文件,并且确保执行 xrdb -merge ~/.Xresources[1]. 更多信息请查看 X resources

如果这样不起作用的话,你也可以尝试添加 Xft.lcdfilter: lcddefault 到你的 ~/.Xdefaults 文件。如果文件不存在请创建一个。

Hanging when using NFSv3 shares

If LibreOffice hangs when trying to open or save a document located on a NFSv3 share, try prepending the following lines with a # in /usr/lib/libreoffice/program/soffice:

# file locking now enabled by default
SAL_ENABLE_FILE_LOCKING=1
export SAL_ENABLE_FILE_LOCKING

To avoid overwriting on update you can copy /usr/lib/libreoffice/program/soffice in /usr/local/bin. Original post here.

对Java framework错误的修正

You may get the following error when you try to run LibreOffice.

[Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed!

If so, give yourself ownership of ~/.config/ like so:

# chown -vR username:users ~/.config

Post on Arch Linux forums.

LibreOffice无法检查到你的证书

If you cannot see the certificates when trying to sign a document, you will need to have the certificates configured in Mozilla Firefox (or Thunderbird). If after that LibreOffice still does not show them, set the MOZILLA_CERTIFICATE_FOLDER environment variable to point to your Mozilla Firefox (or Thunderbird) folder:

export MOZILLA_CERTIFICATE_FOLDER=$HOME/.mozilla/firefox/XXXXXX.default/

Certificate detection.

在编辑模式下运行 .pps 文件(没有幻灯片)

The only solution is to rename the .pps file to .ppt.

Add the following script to your home directory and use it to open every .pps file. Very useful to open .pps files received by email without the need to save them.

#!/bin/bash

f=$(mktemp)
cp "$1" "${f}.ppt" && libreoffice "${f}.ppt" && rm -f "${f}.ppt"

Bibliography 的问题

If Writer crashes on attempting to access Tools > Bibliography Database, with the following error:

com::sun::star::loader::CannotActivateFactoryException

Install libreoffice-base as this is a workaround to a known bug, purportedly fixed.

多媒体支持

If embedded videos are just gray boxes, make sure to have installed the GStreamer plugins required.

Content not resizing with windows on Xfwm4

If you do not get the content of the LibreOffice window resize along with it under Xfce (or just using Xfwm4), like in this post: [2]. Install libreoffice-still-gnome to solve the issue.

gvfs mounts

If you need to open/save documents on gvfs mounts, you will need to install libreoffice-still-gnome package.