Friday, October 24, 2008

openSUSE: OpenOffice 3 presenter screen extension

We have been hearing and reading about the cool new presenter screen extension for OpenOffice 3 Impress.
This would result in impress displaying the presentation fullscreen on a projector, with the current and next slides plus notes on your laptop screen. Great for people who give a lot of presentations (as we @ moosy do for a living).

So after installing the new office version, we wanted to give this a try. Unfortunately the installation requires quite some work, by default it gave us a library error. Here are the steps for configuring the extension on openSUSE 11.

Step 1 - Prepare OOo libraries
Add this file as root:
/etc/ld.so.conf.d/ooo3.conf
with this line as content:
/usr/lib/ooo3/ure/lib

Afterwards run ldconfig

Step 2 - Install STL library
Still as root, install the stl library from sourceforge:
rpm -ivh ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/w/wi/witme/STLport-4.5.3-9064.i386.rpm

Alternatively, you may install the openoffice devel package, which is 627 MB. Hm, maybe not.

Step 3 - Download extension
Go to extensions.services.openoffice.org to find the right package, or click here to download the 1.0.1 version for 32-bit linux directly.

Optional Step - Check dependencies [expert]
You can choose to open the download with the OpenOffice extension manager or you can save it. When you want to manually check if everything is OK, save it first and follow this step.
In a shell, go to the directory where you downloaded the file.
Run: unzip sun-presenter-screen-linuxintel.oxt, this will result in a lot of files, don't worry.
Now run
ldd PresenterScreen.uno.so
Check the output for "Not found" messages, it should look like this:
linux-gate.so.1 => (0xffffe000)
libuno_cppuhelpergcc3.so.3 => /usr/lib/ooo3/ure/lib/libuno_cppuhelpergcc3.so.3 (0xb7de0000)
libuno_cppu.so.3 => /usr/lib/ooo3/ure/lib/libuno_cppu.so.3 (0xb7db3000)
libuno_sal.so.3 => /usr/lib/ooo3/ure/lib/libuno_sal.so.3 (0xb7d70000)
libdl.so.2 => /lib/libdl.so.2 (0xb7d6c000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7d53000)
libstlport_gcc.so => /usr/lib/libstlport_gcc.so (0xb7c8d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b9d000)
libm.so.6 => /lib/libm.so.6 (0xb7b77000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b69000)
libc.so.6 => /lib/libc.so.6 (0xb7a26000)
libuno_salhelpergcc3.so.3 => /usr/lib/ooo3/ure/lib/libuno_salhelpergcc3.so.3 (0xb7a20000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb79ea000)
/lib/ld-linux.so.2 (0xb7f7b000)

Step 4 - Install extension
If you skipped the optional step of making sure that everything is OK, you are already in the extension manager. Otherwise, start it from the commandline:
/usr/bin/unopkg gui ./sun-presenter-screen-linuxintel.oxt

Follow the simple instructions from the extension manager and you're done.

Now configure a dual-head monitor setup, or attach your projector.
Start OpenOffice, open a presentation and go to the menu Slide Show / Slide Show Settings...
The Multiple Monitors section is activated and you can choose a presentation monitor. Start the presentation (F5) and (click image)...

8 comments:

Thomas Thym said...

Thanks a lot for that excellent discription. I could install the extension without difficulties.
And I further could manage with YaST an edit of xorg.conf (insert of virtual 1280 1568) and "xrandr --output VGA --auto --pos 0x800" to get an extended screen (sometimes KDE4/Plasma dosn't crash). If I start OOo and start a prenstation I can see the presenter console on the Notebook and then OOo crashed.
Do you have a tip for me where I can find more information? Is the xinerama setting the right way or do I need "independed screens"?
I would be really great I you could give me a hint. I'm on this for weeks now and haven't found a soultion in the web.

I'm using a Thinkpad R61 with X3100 graphiccard, OpenSUSE 11 KDE4 with some factory and community repositories and OOo 3.0.0.3.5

iMark said...

Hi Thomas,

I have been noticing OOo crashes with this extension as well.

Your X settings seem allright - I've tested it with both xinerama and separate X screens (:0.0 and :0.1).

My guess is, it's the STL library, you probably do need to install the OOo devel package. Update after my tests :)

iMark

Thomas Thym said...

Hi Mark,

thanks for your answer. I will try to install the package and try again.

So long.

Cheers,
Thomas

Thomas Thym said...

Hi again,

now I can start the presentation and it works perfectly until I try to exit presentation mode. In this case OOo crashes. It's not nice, but I can live with that. I will report it on the OOo extension page.

Thanks for your help!

Thomas

Thomas Thym said...

And here I am again.

I tried to deinstall the STL, installed the devel pack again, but now I can't install the extension. What did I make wrong? Do I have to change something more?

Cheers,
Thomas

Thomas Thym said...

I wrote a bug report at the OOo website. They advised to install original version from their website and I did it. Unfortunately I lost many nice features from the OpenSUSE version (3D-slide-effects, KDE-desktop integration, ...) but know the presenter screen works fine.
Thanks for your time.

Thomas

Gold Guide for World of Warcraft said...

good post :)

WOW GOLD said...

WOW GOLD, nice blog. its worth reading. I liked it very much