MakeOOOListening

From Dokeos

Jump to: navigation, search

In Dokeos 1.8, a new feature permits to turn PowerPoint documents into learning path. To enable this feature, you have to install OpenOffice.org 2.x on the web server.


Contents

Debian

  • To do this in console mode on a Debian (or any Debian-derived distributions such as Ubuntu) installation, you have to enter the following commands :
sudo apt-get install xvfb openoffice.org


  • Once the latest version of OpenOffice.org is installed, edit the configuration file (on Debian : /usr/lib/openoffice/share/registry/data/org/openoffice/Setup.xcu) and add the following property :
<prop oor:name="ooSetupConnectionURL">
<value>
socket,host=localhost,port=2002;urp;StarOffice.ServiceManager
</value>
</prop>
  • If xvfb-run is available :
xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore
  • Else, launch Xvfb manually :
Xvfb :99 -screen scrn0 800x600x16 & 
  • And then launch OpenOffice.org on this fake display :
ooffice -headless -display :99

No matter the errors displayed, OpenOffice.org is started.

The following initscript will start it all as a regular user (currently "dlc"), using xvfb-run. It has already been tested successfully on Debian Etch and Ubuntu Dapper & Edgy. Just copy it to /etc/init.d and create a link to it in /etc/rc2.d. OOoServerInitscript

  • Quick hint: If you get fixed font not found error, please use this command on Debian based systems, saves life really:

apt-get --reinstall install xfonts-base

Windows

  • Once the latest version of OpenOffice.org is installed, edit the configuration file (Program Files\OpenOffice.org x.x\share\registry\data\org\openoffice\setup.xcu) and add the following property :
<prop oor:name="ooSetupConnectionURL">
<value>
socket,host=localhost,port=2002;urp;StarOffice.ServiceManager
</value>
</prop>
  • Start OpenOffice.org.

Start OOo once with the appropriate user

OOo creates its configuration directory at successful first start. It is recommended then to start OOo first once as the user to get it created fine.

On the Dokeos platform

-> Administration -> PowerPoint2LearningPath -> Host : localhost, User : leave empty, password, leave empty (useful for remote service only).

For Voice Recorder and Player to work, also configure the -> Path to LZX files: /lps-latest/dokeos/videoconference/ppt2lprecorder.lzx


It should work !

Personal tools