Jay Lozier wrote:
On 02/09/2013 05:16 PM, Girvin R. Herr wrote:
Jay Lozier wrote:
<snip>
Tom
I confirm the CLI libreoffice gives the error missing
libreoffice-common run sudo apt-get libreoffice-common.
This was using LO 4.0 (direct download) and Mint 13 Maya. All the
features have beens installed including help-pack and SDK
LO 4.0 does run when menu or file is clicked.
What is the CLI entry to run LO 4.0 in Linux I think is the question.
Jay,
Have you tried "soffice" or unambiguously:
"/opt/libreoffice<version>/program/soffice"?
soffice is a legacy name from the StarOffice days. Some day, it will
be changed, but I am not sure 4.x is it yet. I have not installed
4.x yet, so I am not sure of that.
Note that "soffice" is a script which does a lot of setup. It
eventually invokes "soffice.bin", which should not be invoked
directly from the command line.
Hope this helps.
Girvin Herr
I did try soffice but not the full path. soffice did not work and when
I tried "/opt/libreoffice4.0/program/soffice it worked.
Jay,
That means you need to add the "/opt/libreoffice4.0/program" path to
your $PATH environment variable. Dan has already mentioned that in this
thread. You can try "export PATH=/opt/libreoffice4.0/program:$PATH" to
add it until you log out. However, to permanently add it when you log
in, you will need to add the statement to your ".bash_profile" script in
your home directory. This is, of course, if you are using the bash
shell. If you are using another shell, then it will be slightly different.
Another trick I do so I don't have to keep changing these each time I
update, is to create a "/opt/bin" directory and then create a symlink in
that directory which points to the soffice script. That way all I need
to change is what the symlink points to when I install a new LO version,
leaving "/opt/bin" unchanged in the $PATH variable. Another advantage
to this is that you can have several different symlinks in /opt/bin
pointing to different versions of LO or other programs, without changing
$PATH.
Girvin
--
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted