Difference between revisions of "Apache OpenOffice"

From ArchWiki
Jump to navigation Jump to search
(major rewrite)
Line 8: Line 8:
 
{{i18n_entry|Português|OpenOffice_(Português)}}
 
{{i18n_entry|Português|OpenOffice_(Português)}}
 
{{i18n_links_end}}
 
{{i18n_links_end}}
 +
==Arch offers 3 different OpenOffice branches==
 +
Arch offers 3 trees of binary packages for OpenOffice with different pkg names:
 +
* openoffice-base
 +
This will always be the last released stable version of OpenOffice. <br>
 +
Current version: 2.4.1 <br>
 +
start it with "soffice" or from Desktop menu <br>
 +
spell checking packages and localisation packages will always belong to this package
 +
* openoffice-base-beta
 +
This packages will be only present when a new release is not far away. It will be the alpha, beta an release candidates packages for the next stable release. <br>
 +
Current version: 3.0_ooo300_m2 (a version past 3.0 beta2 that will lead to stable 3.0 release) <br>
 +
start it with "soffice-beta" or from Desktop menu <br>
 +
It's safe to install it together with the stable and devel version.<br>
 +
Please test it carefully and report upstream bugs to OpenOffice and packaging bugs in our flyspray <br>
 +
see http://wiki.services.openoffice.org/wiki/OOoRelease30 for roadmap
 +
* openoffice-base-devel
 +
This packages will be updated from time to time and is a playground for the packager and for testing latest features. Please test and file upstream issues at http://www.openoffice.org/issues/query.cgi<br>
 +
Current version: 3.0_dev300_m29 / snapshot DEV300_m29 (snapshots past branching the 3.0 stable tree that will lead to 3.1 release annd beyond) <br>
 +
start it with "soffice-devel" or from Desktop menu <br>
 +
It's safe to install it together with the stable and beta version
 +
Attention: if you play with more than one openoffice-base version it's highly recommended to always backup your
 +
configuration directory ~/.openoffice{2,3} !
 
==Installation==
 
==Installation==
 
* First, install a Java Runtime Environment (optional, highly recommended):
 
* First, install a Java Runtime Environment (optional, highly recommended):
 +
# pacman -S openjdk6 (still in testing) or
 
  # pacman -S jre
 
  # pacman -S jre
* Download the base:
+
* Download the base for stable and/or beta and/or devel:
  # pacman -S openoffice-base
+
  # pacman -S openoffice-base openoffice-base-beta openoffice-base-devel
 +
===language packages and spell checking for stable releases===
 
* Install one or more language packs. This is optional as English ''is'' already included in the base:
 
* Install one or more language packs. This is optional as English ''is'' already included in the base:
 
  # pacman -S openoffice-XX (where XX is a language)
 
  # pacman -S openoffice-XX (where XX is a language)
Line 18: Line 41:
 
  # pacman -S openoffice-spell-XX (where XX is a language)
 
  # pacman -S openoffice-spell-XX (where XX is a language)
  
* Spellcheckers and language packs for other languages can be found in [[AUR]].
+
* Spellcheckers and language packs for other languages can be found in [[AUR]]. File feature request in flyspray and try to get votes if you want a pkg to become officially supported in extra.
 
+
===Set OOo environment variable===
NOTE: If you are having trouble starting OpenOffice, you may need to install '''libsndfile'''. '''libsndfile''' in currently a missing dependency of '''openoffice-base'''.
+
OpenOffice2 introduced the ability to use several toolkits for drawing and integrates 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 put it in /etc/profile, rc.local, or ~/.bashrcin or something like /etc/profile.d/openoffice) or in the specific shell OpenOffice.org is running in (see message when you install/update openoffice-base).
[[User:Odd-rationale|Odd-rationale]] 21:26, 16 June 2008 (EDT)
 
 
 
==Setup==
 
Run '/opt/openoffice/program/soffice' to set up OpenOffice 2 for a regular user on first startup '''and''' to start OpenOffice 2.
 
 
 
OpenOffice 2 introduces the ability to use several toolkits for drawing and integrates 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.org is running in.
 
  
 
To run OpenOffice.org in GTK2 mode, you can issue (using bash):
 
To run OpenOffice.org in GTK2 mode, you can issue (using bash):
 
   # OOO_FORCE_DESKTOP=gnome soffice
 
   # OOO_FORCE_DESKTOP=gnome soffice
 +
To run OpenOffice.org in QT/KDE3 mode, you can issue (using bash):
 +
  # OOO_FORCE_DESKTOP=kde soffice
  
Perhaps you would like to put it in /usr/bin/soffice:
+
KDE look will be removed in Openoffice3. It's highly recommended to export OOO_FORCE_DESKTOP=gnome for all users (yes, also under kde4) with versions from >=3.x or you will see soon glib/gtk related crashes.
  export OOO_FORCE_DESKTOP=gnome
 
 
 
or put it into ~/.bashrc
 
export OOO_FORCE_DESKTOP=gnome
 
  
 
=== Adding media support to OpenOffice.org 2 ===
 
=== Adding media support to OpenOffice.org 2 ===
Line 94: Line 109:
  
 
==Known Problems==
 
==Known Problems==
*If you have problems while upgrading from OOo 1.1.x to OOo 2.x try this: <br>
+
* extension handling in versions >=3.0
- If the install wizard asks you for taking old options from 1.1.x deny that. <br>
+
* qt look'n feel since kde4 release
- Remove old .openoffice* dirs from your <home> <br>
 
- Remove old OpenOffice* dirs from your <home> <br>
 
- Remove .sversionrc from your <home> <br>
 
The same procedure applies if OOo terminates with an exception like ''terminate called after throwing an instance of com::sun::star::uno::RuntimeException''. This could happen after a minor upgrade, e.g. from OOo 2.2 to 2.3.<br />
 
* To remove menu entries from OOo 1.1.x in KDE: <br>
 
- Remove ~/.kde/share/applnk/OpenOffice* <br>
 
*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 OpenOffice.org 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 every time OpenOffice.org is run (and performance is poor or keeps hanging) then check permissions on ~/.openoffice2; it might be owned by root.
 
 
 
=OpenOffice.org 1.1.4 Setup=
 
 
 
==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)
 
 
 
==Addons==
 
OpenOffice.org quickstarter is available for KDE
 
# pacman -S oooqs
 
 
 
==Setup==
 
# Run '/opt/openoffice/setup' to set up OpenOffice.org for a regular user.
 
# Run 'soffice' to start OpenOffice.org.
 

Revision as of 06:06, 18 August 2008


Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n links end

Arch offers 3 different OpenOffice branches

Arch offers 3 trees of binary packages for OpenOffice with different pkg names:

  • openoffice-base

This will always be the last released stable version of OpenOffice.
Current version: 2.4.1
start it with "soffice" or from Desktop menu
spell checking packages and localisation packages will always belong to this package

  • openoffice-base-beta

This packages will be only present when a new release is not far away. It will be the alpha, beta an release candidates packages for the next stable release.
Current version: 3.0_ooo300_m2 (a version past 3.0 beta2 that will lead to stable 3.0 release)
start it with "soffice-beta" or from Desktop menu
It's safe to install it together with the stable and devel version.
Please test it carefully and report upstream bugs to OpenOffice and packaging bugs in our flyspray
see http://wiki.services.openoffice.org/wiki/OOoRelease30 for roadmap

  • openoffice-base-devel

This packages will be updated from time to time and is a playground for the packager and for testing latest features. Please test and file upstream issues at http://www.openoffice.org/issues/query.cgi
Current version: 3.0_dev300_m29 / snapshot DEV300_m29 (snapshots past branching the 3.0 stable tree that will lead to 3.1 release annd beyond)
start it with "soffice-devel" or from Desktop menu
It's safe to install it together with the stable and beta version

Attention: if you play with more than one openoffice-base version it's highly recommended to always backup your
configuration directory ~/.openoffice{2,3} !

Installation

  • First, install a Java Runtime Environment (optional, highly recommended):
# pacman -S openjdk6 (still in testing) or
# pacman -S jre
  • Download the base for stable and/or beta and/or devel:
# pacman -S openoffice-base openoffice-base-beta openoffice-base-devel

language packages and spell checking for stable releases

  • Install one or more language packs. This is optional as English is already included in the base:
# pacman -S openoffice-XX (where XX is a language)
  • Install spellchecker files (optional):
# pacman -S openoffice-spell-XX (where XX is a language)
  • Spellcheckers and language packs for other languages can be found in AUR. File feature request in flyspray and try to get votes if you want a pkg to become officially supported in extra.

Set OOo environment variable

OpenOffice2 introduced the ability to use several toolkits for drawing and integrates 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 put it in /etc/profile, rc.local, or ~/.bashrcin or something like /etc/profile.d/openoffice) or in the specific shell OpenOffice.org is running in (see message when you install/update openoffice-base).

To run OpenOffice.org in GTK2 mode, you can issue (using bash):

 # OOO_FORCE_DESKTOP=gnome soffice

To run OpenOffice.org in QT/KDE3 mode, you can issue (using bash):

 # OOO_FORCE_DESKTOP=kde soffice

KDE look will be removed in Openoffice3. It's highly recommended to export OOO_FORCE_DESKTOP=gnome for all users (yes, also under kde4) with versions from >=3.x or you will see soon glib/gtk related crashes.

Adding media support to OpenOffice.org 2

If you want to be able to use sound and video in OpenOffice.org Impress presentations, you need to install the Java Media Framework and configure OpenOffice.org to use it

Manual dictionary installation

If you for some reason want to install dictionaries manually (e.g. there are no dictionary packages available in your language) follow these instructions:

  • Download a dictionary pack for your language. A list of dictionaries is available at OOoDictionaries
  • Extract the dictionaries to /opt/openoffice/share/dict/ooo/

The necessary files are normally named like en_US.dic and en_US.aff for spellchecking, hyph_en_US.dic for hyphenation dictionaries, and th_en_US.dat and th_en_US.idx for the thesaurus files.

  • Open /opt/openoffice/share/dict/ooo/dictionary.lst with your favorite text editor. Add the dictionaries to the list using the following rules:
 # List of All Dictionaries to be Loaded by OpenOffice
 # ---------------------------------------------------
 # Each Entry in the list have the following space delimited fields
 #
 # Field 1: Entry Type "DICT" - spellchecking dictionary
 # "HYPH" - hyphenation dictionary
 # "THES" - thesaurus files
 #
 # Field 2: Language code from Locale "en" or "de" or "pt" ... 
 #
 # Field 3: Country Code from Locale "US" or "GB" or "PT"
 #
 # Field 4: Root name of file(s) "en_US" or "hyph_de" or "th_en_US
 # (do not add extensions to the name)
  • An example using the American dictionaries would look like:
 ### start en
 DICT en US en_US
 HYPH en US hyph_en_US
 THES en US th_en_US
 ### end en
  • Save the file and restart OpenOffice. Make sure all the Openoffice processes is properly killed. Otherwise the newly installed dictionaries won't show up.

Running

If you want to run a specific module of OpenOffice.org (instead of the soffice default), for example the word processor (Write), spreadsheet application (Calc) or presentation program (Impress), check for the following script front-ends:

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

Known Problems

  • extension handling in versions >=3.0
  • qt look'n feel since kde4 release