RE: OpenOffice

"Kerin Millar" <[email protected]>
Newsgroups gmane.linux.gentoo.newbies
Message-ID <F6EDFA037E2BA541851DFEFDAF759EB90B46C9@newmedia-serve.newmedia-lan.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> -----Original Message-----
> From: Theo Ntaflos [mailto:[email protected]] 
> Sent: 02 October 2002 09:07
> To: [email protected]
> Subject: [gentoo-newbies] OpenOffice
> 
> 
> Hi,
> after successful emerging openoffice the program can start without 
> problems. However, it doesn't display any text in the 
> pull-down menus and 
> sub-menus. It runs under KDE and true type fonts are also 
> installed. Any 
> suggestion?
> thanks in advance
> theo

Ensure you have a Java runtime environment available /and/ properly
configured. I recommend Sun's because as they designed Java, their
runtime can usually be trusted to provide the best balance of
conformance and performance, furthermore they wrote most of the code
that forms a portion of OpenOffice. It's not open-source though. Type
the following at a console (you will need to download the java
distribution from java.sun.com into /usr/portage/distfiles first, and
emerge will tell you so):

	emerge dev-java/sun-jdk
	java-config --list-available-vms

A list will appear showing any potential java environments available
(you can have multiple environments available, and Gentoo's java-config
command allows you to switch between them). You should be able to see
something like "[sun-jdk-1.4.0]". In that case, type

	java-config --set-system-vm=sun-jdk-1.4.0

Now you need to make sure you followed the correct procedure for setting
up OpenOffice. Once emerged, the binaries are in /opt/OpenOffice. But
you need to install a "localised" copy for the user account you will be
running under. Follow these steps:

1) Do *not* run OpenOffice as root. Create a new user account if you
haven't already. Log in as that user.
2) Run /opt/OpenOffice/setup
3) Go through the installation procedure. Note the following: OpenOffice
will install files to a subdirectory in your home directory (which can
be specified). You must choose a "Network" install otherwise you will
duplicate *all* the files in /opt/OpenOffice into your home directory!
You will be asked to select a Java environment as part of the OpenOffice
install. Select whichever one you have available.
4) Create you shortcuts to run OpenOffice in such a fashion that they
point to your localised OpenOffice directory, not the /opt/OpenOffice
directory (e.g. ~/OpenOffice/soffice instead of
/opt/OpenOffice/soffice).

Note that setup only behaves as such when you are *not* logged in as
root. The above procedure should be executed for every user account you
wish to run OpenOffice under.

If you have recently built XFree86 on your Gentoo system then some nice
font substitutions should already be specified, ensuring that the menu
fonts don't look like trash in OpenOffice! Font substitutions can be
specified in /etc/X11/XftConfig.

- --kerframil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6-2 (MingW32)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj2a+nUACgkQe1jWXPxWAXK84gCeN6ypLbCwn3NmDLGVvA7BsqwR
M7EAniB3kXh+8Fiw7ddbUqEGVsh0SROY
=c1jt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.