Start of OpenOffice.org

using shell with parameters

OOo=`which OOo`
if test -z "$OOo"
then
OOo=soffice
fi
$OOo "-accept=socket,host=localhost,port=2002;urp;" "" &

without parameters or using the desktop icon

In file (/usr/lib/ooo-1.1|$HOME/.ooo-1.1|/or/where/ever)/share/registry/data/org/openoffice/Setup.xcu after <node oor:name="Office"> insert the following lines:
<prop oor:name="ooSetupConnectionURL" oor:type="xs:string">
   <value>socket,host=localhost,port=2002;urp</value>
</prop>
After having done this OpenOffice.org can be started without parameters.

start unospection

To start the unospection tool, you have to do the following:

set LD_LIBRARY_PATH:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/ooo-1.1/program:.

use ld.config (at least on SuSE Linux)

below directory /etc/ld.so.conf.d for example create a file OpenOffice.conf with the following contents:
/usr/lib/ooo-1.1/program
afterwards (as root) execute: ldconfig

set variable auto_path for Tcl

If the package tcluno0.0 is not in the default path (below lib directory of Tcl installation) and has not been saved in the current directory, you have to modify the following line in the Tcl scripts:

lappend auto_path ...

appropriately.

start of the unospection tool

tclsh unospection.tcl