- LibreOffice
- Contents
- Installation
- Theme
- Disable startup logo
- Extension management
- Fonts
- Language aids
- Spell checking
- Hyphenation rules
- Thesaurus
- Grammar checking
- Offline help
- Installing macros
- Tips and Tricks
- Base as a database frontend
- Automated document conversion based on LibreOffice or OpenOffice
- Troubleshooting
- Font substitution
- Anti-aliasing
- Hanging when using NFSv3 shares
- LibreOffice does not detect my certificates
- Run .pps files in edit mode (without slideshow)
- Media support
- Default paper size in Writer and Draw
- LibreOffice toolbars unreadable with dark Breeze/Plasma 5 theme
- AutoText expected default behaviour not functional in system locales other than en_US
- LibreOffice freezes or crashes
- LibreOffice fails to start
- Notification sounds
- Как установить последнюю версию LibreOffice в Linux
- Требования для установки LibreOffice
- Установка LibreOffice компьютеры с ОС Linux
- Шаг 1: Загрузка на компьютер LibreOffice с Linux системой
- Для RHEL/CentOS/Fedora
- Для Debian/Ubuntu/LinuxMint
- Шаг 2: Удаление старых версий LibreOffice или OpenOffice
- Шаг 3: Извлечение пакета LibreOffice
- На RHEL/CentOS/Fedora
- На Debian/Ubuntu/Linux Mint
- Шаг 4: Установка LibreOffice в Linux
- На RHEL/CentOS/Fedora
- На Debian/Ubuntu/Linux Mint
- Шаг 5: Запуск LibreOffice в Linux
- Шаг 6: Скриншот LibreOffice 7.1.2
- Шаг 7: Установка языкового пакета в LibreOffice
LibreOffice
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.
Contents
Installation
Install one of the following packages:
- libreoffice-still is the stable maintenance branch, for conservative users.
- libreoffice-fresh is the feature branch, with new program enhancements for early adopters or power users.
Check the optional dependencies pacman displays. If you use HSQLDB Embedded in LibreOffice Base, you must install a Java Runtime Environment. You may need hsqldb2-java AUR to use some modules in LibreOffice Base.
Theme
LibreOffice includes support for GTK and Qt theme integration. See also Uniform look for Qt and GTK applications.
LibreOffice will try to autodetect the most suitable VCL UI interface based on your desktop environment. To force the use of a certain VCL UI interface, use one of the SAL_USE_VCLPLUGIN=gen , SAL_USE_VCLPLUGIN=gtk3 , or SAL_USE_VCLPLUGIN=kf5 environment variables. These variables can be uncommented in /etc/profile.d/libreoffice-fresh.sh or /etc/profile.d/libreoffice-still.sh . See vcl/README.md for more information.
Disable startup logo
If you prefer to disable the startup logo screen with loading progress, open /etc/libreoffice/sofficerc , find the Logo= line and set it to Logo=0 .
Extension management
The following additional extensions are available:
For more extensions, check the AUR, the built-in LibreOffice Extension manager, or libreplanet.
Fonts
The Document Foundation wiki mentions various fonts that are packaged by default with LibreOffice on Windows and macOS. On Arch, the following packages may be installed for the fonts:
Language aids
Spell checking
For spell checking, please make sure hunspell is properly installed; this should be the case for both still and fresh LibreOffice versions. Then install a language dictionary for hunspell like hunspell-en_us for American English or hunspell-de for German (check the AUR if your language is not in the official repositories). Then enable the Writing aids by selecting the check-box in Tools > Options > Language Settings > Writing Aids > Hunspell SpellChecker after restarting LibreOffice.
Unlike other languages, Finnish dictionaries use different naming. These four packages should be installed (in this order): libvoikko , malaga AUR , voikko-fi AUR , hfstospell AUR and voikko-libreoffice AUR .
Project Orthos provides more complete Greek spell checkers as Libreoffice extensions. Package libreoffice-extension-orthos-greek-dictionary AUR provides a Greek-only spelling dictionary, while libreoffice-extension-orthos-greek-english-dictionary AUR provides one that bundles Greek and US English.
Hyphenation rules
For hyphenation rules, you will need hyphen and a language hyphen rule set ( hyphen-en for English, hyphen-de for German, etc).
Thesaurus
For the thesaurus option, you will need libmythes and a mythes language thesaurus (like mythes-en for English, mythes-de for German, etc).
For Greek, instead of mythes-el AUR you may want to try out libreoffice-extension-orthos-greek-thesaurus AUR , which includes more words.
Grammar checking
For grammar checking, several tools are available. The most common is LanguageTool. You can either:
- install the libreoffice-extension-languagetoolAUR package, or
- download it from the LibreOffice Extensions page and manually install it in LibreOffice through Tools > Extension
After this extension has been installed, please make sure you have a Java 8 runtime installed ( jre8-openjdk ). Indeed, 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. Once installed, you want to enable it as the default environment for LibreOffice. To do that go to Tools > Options > Advanced and select the appropriate JRE (it will be shown as 1.8.0) then press Ok. You will be prompted to restart the LibreOffice suite. Once restarted you will be able to install Languagetools without trouble.
Other grammar tools can also be found on the LibrePlanet extension page, on the official LibreOffice Extensions website or OpenOffice’s Website. Please note all OpenOffice extensions are guaranteed to work with LibreOffice.
French-speaking users are advantaged here: they do not need to install LanguageTool nor Java. Grammalecte provides a nice Python extension. You can install it from the website or via libreoffice-extension-grammalecte-fr AUR . In any case, this extension also comes with the French dictionaries otherwise provided by hunspell-fr .
Offline help
libreoffice-still and libreoffice-fresh provide the offline help files for en-US. Help files for different locales is provided by the appropriate libreoffice language package, (i.e., libreoffice-fresh-en-za provides the help files for en-ZA locales).
Installing macros
If you intend to use macros, you must have a Java Runtime Environment enabled.
The default path for macros in Arch Linux is different from most Linux distributions. Its location is:
Tips and Tricks
Base as a database frontend
Base can be used as a frontend to a database like PostgreSQL. It cannot edit the tables but It gives a very nice overview of the columns and rows of a table with the possibility of hiding columns for better overview of the relevant data. It can also filter the data and enables deletion of multiple rows by selecting them and easy editing of single cells.
It can also help construct SQL queries with the help of a query GUI.
Automated document conversion based on LibreOffice or OpenOffice
The command line tool unoconv is an automated conversion and styling tool that uses LibreOffice. Even tough it requires more work [1], it is still very useful as it is. It either connects to a running LibreOffice, starts one for its own usage, or connects to a running instance that was started explicitly for its usage. A running X server is not required.
Troubleshooting
A general way to track down problems is the safe mode in LibreOffice:
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
This article or section is a candidate for merging with Font configuration.
To make the change persistent, add Xft.lcdfilter: lcddefault to your
/.Xresources file, and make sure to run $ xrdb -merge
/.Xresources (source). 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 :
To avoid overwriting on update you can copy /usr/lib/libreoffice/program/soffice in /usr/local/bin . Original post here.
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:
Run .pps files in edit mode (without slideshow)
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.
Media support
If embedded videos are just gray boxes, make sure to have installed the GStreamer plugins required.
Default paper size in Writer and Draw
If the default paper size in blank Writer and Draw documents is persistently incorrect for your locale, try installing the libpaper optional dependency and either updating /etc/papersize (for a system-wide change) or exporting the PAPERSIZE environment variable (for a user change) with your preferred paper size. See papersize(5) .
LibreOffice toolbars unreadable with dark Breeze/Plasma 5 theme
Change the icon style in Tools > Options > LibreOffice > View > Icon Style to «Breeze Dark» or another readable icon style. You may need to install the breeze-gtk package.
If that is not enough, ensure that LibreOffice starts using the gtk3 or gen interface (see #Theme).[2]
AutoText expected default behaviour not functional in system locales other than en_US
If expected default AutoText behaviour is not present (for example, typing fn in a document in Writer and then pressing the F3 key does not result in the automatic insertion of a numbered function) when the system locale is not en_US you need to add the default en_US AutoText templates to your AutoText path. To do this, go to Tools > AutoText, then click on Path. and add the following path to the list: /usr/lib/libreoffice/share/autotext/en-US . AutoText should now work as expected by default.
LibreOffice freezes or crashes
Disable OpenCL and/or OpenGL by setting the environment variable SAL_DISABLE_OPENCL=1 and/or SAL_DISABLEGL=1 . The LibreOffice safe mode also offers the option to disable both.
If LibreOffice is freezing or failing to start with the message «Application Error» but works fine when OpenCL is disabled, try installing an OpenCL runtime.
LibreOffice fails to start
Not sure with the reason why this happened. When you encounter LibreOffice fails to start and in terminal it says the following:
Try to start it with:
It has something to do with FreeType. Check that you are using the official freetype2 package. Older versions from the AUR may have linking errors.
Notification sounds
Some user actions like closing LibreOffice with an unsaved document will bring up the «Save Document?» popup window together with a notification sound. Enabling/disabling notification sounds can be tried by changing the GTK configurations option «gtk-enable-event-sounds», see GTK#Examples
Источник
Как установить последнюю версию LibreOffice в Linux
LibreOffice — это очень мощный офисный пакет с открытым исходным кодом для Linux, Windows и Mac. Который предоставляет множество функций для документов Word, обработки данных, электронных таблиц, презентаций, рисования, вычислений, математики и многого другого.
LibreOffice имеет большое количество довольных пользователей по всему миру. У продукта почти 200 миллионов загрузок на данный момент. LibreOffice поддерживает более 115 языков и работает на всех основных операционных системах.
Команда Document Foundation с гордостью объявила о новом крупном выпуске LibreOffice 7.1.21в апреле 2021 года, который теперь доступен для всех основных платформ , включая Linux, Windows и Mac OS.
Это новое обновление имеет большое количество захватывающих новых функций производительности и улучшений. Этот продукт особенно привлекателен для предприятий, начинающих и опытных пользователей.
Есть много других изменений и функций, включенных в новейший LibreOffice 7.1.2 – полный список новых функций см. на странице о выпуске новой версии.
Требования для установки LibreOffice
- Ядро 3.10 или более поздней версии.
- glibc2 версия 2.17 или выше
- Минимум 256 МБ оперативной памяти, а рекомендуемая оперативная память 512 МБ
- 1,55 ГБ свободного места на жестком диске
- Рабочий стол (Gnomeили KDE)
Установка LibreOffice компьютеры с ОС Linux
Приведенная здесь инструкция по установке предназначены для LibreOffice 7.1.2 с использованием языка US English в 64-разрядной системе. 32-битных систем LibreOffice больше не существует, так как Document Foundation отказалась от поддержки 32-битных систем.
Шаг 1: Загрузка на компьютер LibreOffice с Linux системой
Перейдите на официальную страницу загрузки LibreOffice и возьмите последнюю версию, которая поставляется вместе со всеми бинарными пакетами в .tar.gz. Или вы можете использовать следующую команду wget для загрузки LibreOffice непосредственно в терминале.
Для RHEL/CentOS/Fedora
# cd /tmp
# wget http://download.documentfoundation.org/libreoffice/stable/7.1.2/rpm/x86_64/LibreOffice_7.1.2_Linux_x86-64_rpm.tar.gz
Для Debian/Ubuntu/LinuxMint
$ sudo cd /tmp
$ sudo https://download.documentfoundation.org/libreoffice/stable/7.1.2/deb/x86_64/LibreOffice_7.1.2_Linux_x86-64_deb.tar.gz
Шаг 2: Удаление старых версий LibreOffice или OpenOffice
Если вдруг у вас есть ранее установленные версии LibreOffice или OpenOffice, удалите их с помощью следующей команды.
# yum remove openoffice* libreoffice* [Удаление в системах на базе RedHat]
$ sudo apt-get remove openoffice* libreoffice* [Удаление в Системах на базе Debian]
Шаг 3: Извлечение пакета LibreOffice
После загрузки пакета LibreOffice используйте команду tar, для того чтобы извлечь его в каталог /tmp или в каталог по вашему выбору.
На RHEL/CentOS/Fedora
# tar zxvf LibreOffice_7.1.2_Linux_x86-64_rpm.tar.gz
На Debian/Ubuntu/Linux Mint
$ sudo tar zxvf LibreOffice_7.1.2_Linux_x86-64_deb.tar.gz
Шаг 4: Установка LibreOffice в Linux
После извлечения пакета вы получите каталог, а под ним будет находиться подкаталог с названием RPM или DEBS. Теперь выполните следующую команду, чтобы установить его.
На RHEL/CentOS/Fedora
# cd /tmp/LibreOffice_7.1.2.2_Linux_x86-64_rpm/RPM/
# yum localinstall *.rpm
# dnf install *.rpm [Для версий Fedora 23+ ]
На Debian/Ubuntu/Linux Mint
$ sudo cd /tmp/LibreOffice_7.1.2.2_Linux_x86-64_deb/DEBS/
$ sudo dpkg -i *.deb
Шаг 5: Запуск LibreOffice в Linux
После завершения установки у вас на рабочем столе появятся значки LibreOffice, а так же в Меню Приложений –> Office. Можно и через терминал запустить приложение, выполнив следующую команду.
Шаг 6: Скриншот LibreOffice 7.1.2
Пожалуйста, смотрите прилагаемый скриншот приложения LibreOffice 7.1.2 в разделе my CentOS 7.0.
LibreOffice Работает на CentOS 7
Шаг 7: Установка языкового пакета в LibreOffice
Если вы хотите установить LibreOffice на удобном для вас языке, вам следует выбрать свой языковой пакет для установки. Инструкции по установке можно найти в разделе Языковой пакет.
Источник