Category:Office (Česky)
From ArchWiki
This gives you some hints on OpenOffice, please notify me if you want to change something in the wiki (tpowa - package maintainer). The packages are not source compiled packages; only OO.org's binaries are packaged for pacman.
Contents |
[edit] OpenOffice 2 Setup
[edit] Instalace
- Nejprve nainstalujme Java Runtime Environment (nevyžadováno, ale doporučeno):
# pacman -S j2re
- Nainsalujeme základ balíku:
# pacman -S openoffice-base
- Doplníme si češtinu z repozitáře Community:
# pacman -S openoffice-cs
- Pro kontrolu pravopisu musíme sáhnout do AURu pro balík openoffice-spell-cs. Stejně tak je v AURu k dispozici i slovenská lokalizace i kontrola pravopisu: balíky openoffice-sk a openoffice-spell-sk.
- Další jazykové balíčky jsou k dispozici dílem v repozitáři Community, dílem v AURu.
[edit] Setup
Run '/opt/openoffice/program/soffice' to setup OpenOffice2 for a regular user on first startup and to start OpenOffice2.
OpenOffice2 introduces the ability to use several toolkits for drawing and integrate into different desktop environments in a clean way. To choose by hand, you need to set the OOO_FORCE_DESKTOP environment variable, either system-wise (like in /etc/profile.d/) or in the specific shell OpenOffice is running in.
To run OpenOffice in GTK2 mode, you can issue (using bash):
# OOO_FORCE_DESKTOP=gnome soffice
Perhaps you would like to put it in /usr/bin/soffice:
export OOO_FORCE_DESKTOP=gnome
or put it into ~/.bashrc
export OOO_FORCE_DESKTOP=gnome
[edit] Running
If you want to run a specific module of OpenOffice (Instead of the soffice default), for example, the word processor (Write), spreadsheet (Calc) or presentation (Impress), check for the following script frontends:
Writer
/opt/openoffice/program/swriter
Calc
/opt/openoffice/program/scalc
Impress
/opt/openoffice/program/simpress
Math (Formula Editor)
/opt/openoffice/program/smath
Base (Database frontend)
/opt/openoffice/program/sbase
Printer Administration (Recommended to run as root)
/opt/openoffice/program/spadmin
[edit] Known Problems
- If you have problems while upgrading from OO 1.1.x to OO 2.x try this:
- If the install wizard asks you for taking old options from 1.1.x deny that.
- Remove old .openoffice* dirs from your <home>
- Remove old OpenOffice* dirs from your <home>
- Remove .sversionrc from your <home>
- To remove menu entries from OO 1.1.x in KDE:
- Remove ~/.kde/share/applnk/OpenOffice*
- If you can't read/write on NFS disks edit /opt/openoffice2/program/soffice you may have to disable file locking by commenting out :
# file locking now enabled by default #SAL_ENABLE_FILE_LOCKING=1 #export SAL_ENABLE_FILE_LOCKING
- If it does not start with possible error javaldx: Could not find a Java Runtime Environment!
and then you get a plain error dialog about init failed then remove your ~/.openoffice2 dir
- If your OpenOffice fails to start, verify that you have proper permissions in /etc/X11/xorg.conf, by looking at your DRI settings.
- If in doubt, this configuration should work:
Section "DRI" Group "users" Mode 0660 EndSection
- Or, if you don't want to enable DRI and related stuff, run it as ROOT
- If the setup wizard pops up everytime openoffice is run (and performance is poor, keeps hanging) then check permissions on ~/.openoffice2, it might be owned by root
[edit] OpenOffice 1.1.4 Setup
[edit] Installation
- Download the base
# pacman -S openoffice-base
- You must install a language pack, otherwise it will not run! (English is not included)
# pacman -S openoffice-XX (where XX is a language)
- Spell Checking requires additional packages!
# pacman -S openoffice-spell-XX (where XX is a language)
[edit] Addons
OpenOffice quickstarter is available for KDE
# pacman -S oooqs
[edit] Setup
- Run '/opt/openoffice/setup' to setup OpenOffice for a regular user
- Run 'soffice' to start OpenOffice.