On Thu, Jan 24, 2013 at 02:57:02PM -0500, doug wrote:
> 
> >The applications are launched by shell scripts in
> >/opt/openoffice.org3/program
> >
> >Base: /opt/openoffice.org3/program/sbase
> >Calc: /opt/openoffice.org3/program/scalc
> >Draw: /opt/openoffice.org3/program/sdraw
> >Impress: /opt/openoffice.org3/program/simpress
> >Math: /opt/openoffice.org3/program/smath
> >The StartCenter: /opt/openoffice.org3/program/soffice
> >Pritner admin.: /opt/openoffice.org3/program/spadmin
> >Writer: /opt/openoffice.org3/program/swriter
> >
> >But better try installing the desktop-integration package.
> >
> >
> >Regards
> I would like to install the desktop integration package,
> but my previous post shows what happens when I do.
> 
> Now, trying to run any of the pieces of OO from a
> command line doesn't work either, and I don't understand why.
> The files are marked executable by anybody, but apparently
> not by me--even from root.  Here'sa portion of the directory,
> and the output:
> 
> -r-xr-xr-x 1 root root   3916 Aug 13 10:43 soffice*
> -r-xr-xr-x 1 root root   9672 Aug 13 10:43 soffice.bin*
> -r--r--r-- 1 root root    180 Aug 13 10:43 sofficerc
> -r-xr-xr-x 1 root root   2638 Aug 13 10:43 spadmin*
> -r-xr-xr-x 1 root root   1002 Aug 13 10:40 swriter*
> -r-xr-xr-x 1 root root   1618 Aug 13 10:43 unoinfo*
> -r-xr-xr-x 1 root root   2834 Aug 13 10:43 unopkg*
> -r-xr-xr-x 1 root root   9672 Aug 13 10:43 unopkg.bin*
> -r--r--r-- 1 root root    467 Aug 13 10:43 versionrc
> [root@Dell program]# soffice.bin
> bash: soffice.bin: command not found
> [root@Dell program]# soffice
> bash: soffice: command not found
> [root@Dell program]# swriter
> bash: swriter: command not found

All these are missing the ./ before the script name, otherwise the
script is searched in /usr/bin $HOME/bin /usr/local/bin etc.

As this directory is not on the path, you have to use the full path to
the script:

/opt/openoffice.org3/program/swriter

or, cd to the dictory containing the script, and execute the script
with dot slash script, for example ./swriter

cd /opt/openoffice.org3/program/
./swriter


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpDOXmNJsf1o.pgp
Description: PGP signature

Reply via email to