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: [https://bbs.archlinux.org/viewtopic.php?id=133137]. Install {{Pkg|libreoffice-gnome}} to solve the issue.

+

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: [https://bbs.archlinux.org/viewtopic.php?id=133137]. Install {{Pkg|libreoffice-gnome}} to solve the issue.

LibreOffice is the free power-packed Open Source personal productivity suite for Windows, Macintosh and Linux, that gives you six feature-rich applications for all your document production and data processing needs: Writer, Calc, Impress, Draw, Math and Base. Support and documentation is free from our large, dedicated community of users, contributors and developers. You, too, can also get involved!

Installation

Since version 3.4.2rc1, LibreOffice has been split into several packages, which can be installed with the libreoffice group from the official repositories: pacman will display a menu prompting for which components to install.

Note:

As the language pack for en-US is no longer included by default, you will need to install at least 1 language pack. The default language is Afrikaans (because it is alphabetically the first provider of libreoffice-langpack), while the previous default (en-US) is at number 24. A common mistake is to install libreoffice-uk, which is the Ukrainian language pack or libreoffice-br, which is the Breton language pack, instead of libreoffice-en-GB.

Theme

Qt integration is able to mimic GTK+ theme. The command qtconfig-qt4 opens a window which let you choose.

Even if you are not running one of these desktop environments and thus do not need to "integrate" with them, you may still wish to install these packages so that LibreOffice will use non-default GTK+ or Qt themes. For example, LibreOffice on e17 uses the default "ugly" (aka "win95"/"win98") theme; installing libreoffice-gnome will allow you to select a more pleasant GTK+ theme.

As of LibreOffice version 3.5.x it tries to magically autodetect your desktop UI using the following magic if proper libs will be found:

It is convenient to save SAL_USE_VCLPLUGIN variable in your shell configuration file, e.g./etc/bash.bashrc or ~/.bashrc if using Bash.

Note: The new GTK3 UI is still marked upstream as experimental and will only be available if you enable "experimental features" in LibreOffice main configuration dialog.

However, if it looks like it's 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".

If that doesn't work immediately, you may need to change the icon set that's 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").

Firefox themes

LibreOffice 4.x series is able to use Firefox themes.
Enter LibreOffice options and choose Personalization > Select Personas, then paste the URL of your favourite one. A convenient button in the dialog box lets you open the browser.

Note: Languagetool uses Java and may slow down or briefly hang LibreOffice, particularly while opening documents. Fortunately this is usually only when initially opening a document and is usually not apparent otherwise.
Openjdk6 seems to get the better results than openjdk7 with LanguageTool, although this is unconfirmed.

Installing macros

If you intend to use macros, you must have a Java Runtime Environment enabled. A Java Runtime Environment is enabled by default, but disabling it speeds up the program.

The default path for macros in Arch Linux is different from most Linux distributions. Its location is:

~/.config/libreoffice/4/user/Scripts/

Speed up LibreOffice

Some settings may improve LibreOffice's loading time and responsiveness. However, some also increase RAM usage, so use them carefully. They can all be accessed under Tools > Options.

Under Memory:

Reduce the number of Undo steps to a figure lower than 100, to something like 20 or 30 steps

Under Graphics cache, set Use for LibreOffice to 128 MB (up from the original 20 MB)

Set Memory per object to 20 MB (up from the default 5 MB).

If you use LibreOffice often, check Enable systray Quickstarter

Note: You need to have the package libreoffice-gnome installed for the quickstarter option to be available.

Troubleshooting

Font substitution

These settings can be changed in the LibreOffice options. From the drop-down menu, select Tools > Options > LibreOffice > Fonts. Check the box that says Apply Replacement Table. Type Andale Sans UI in the font box and choose your desired font for the Replace with option. When done, click the checkmark. Then choose the Always and Screen only options in the box below. Click OK.
You will then need to go to Tools > Options > LibreOffice > View, and uncheck "Use system font for user interface". If you use a non-antialised font, such as Arial, you will also need to uncheck "Screen font antialiasing" before menu fonts render correctly.

Anti-aliasing

Execute:

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

To make the change persistent, add Xft.lcdfilter: lcddefault to your ~/.Xresources file, and make sure to run $ xrdb -merge ~/.Xresources. [1]. See X resources for more details.

If this does not work, you can also try adding Xft.lcdfilter: lcddefault to your ~/.Xdefaults. If you do not have this file, you will have to create it.

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:

LibreOffice does not detect my certificates

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.