OpenOffice (standard) - Sound in Impress presentations

NoOp glgxg at sbcglobal.net
Thu Sep 20 22:45:00 UTC 2007


For those of you that use the standard OOo vs the Ubuntu'ized OOo, here
is how I *finally* managed to get sound working in my OOo version 2.2.1
and 2.3 Impress presentations [1]:

1. Downloaded the JMF bin file from:
http://java.sun.com/products/java-media/jmf/2.1.1/download.html
Followed the instructions on that page:
<quote>
If you are installing the JMF Performance Pack for Linux

    * Change directories to the install location.
    * Run the command % /bin/sh ./jmf-2_1_1e-linux-i586.bin
</quote>
by moving the jmf-2_1_1e-linux-i586.bin file to my /opt directory using
Nautilus in root mode ($ gksu nautilus) - command line cp will work just
as well.

2. From a terminal:

$ cd /opt
$ sudo /bin/sh ./jmf-2_1_1e-linux-i586.bin

Accepted/yes to all except the last where it recommends that you enter
"no" on the last question.

That creates the /opt/JMF-2.1.1e folder/directory

$ export JMFHOME=/opt/JMF-2.1.1e
$ export
CLASSPATH=$JMFHOME/lib/jmf.jar::$JMFHOME/lib/sound.jar:.:${CLASSPATH}
$ export LD_LIBRARY_PATH=$JMFHOME/lib:${LD_LIBRARY_PATH}

3. Opened OOo: Tools/Options/Java/Class Path, click on 'Add Archive' &
_browse_ to: /opt/JMF-2.1.1e/lib and click on jmf.jar - click OK.

Repeat step 3 for StarOffice 8.

Sound now works in both standard OOo and StarOffice 8! :-) Man... I've
been fighting with this for nearly a year now. The problem that I had in
the past is that I neglected to click on the *jmf.jar* file and was only
adding the /opt/JMF-2.1.1e/lib path.

[1] The Ubuntu'ized OOo from the repos has sound working by default
using gstreamer - standard OOo and StarOffice 8 do not, so JMF is required.





More information about the ubuntu-users mailing list