Bug 65793 - command not found when calling libreoffice or libreofficedev
Summary: command not found when calling libreoffice or libreofficedev
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
4.1.0.0.beta1
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-15 14:18 UTC by A. Fakhouri
Modified: 2020-07-12 17:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Fakhouri 2013-06-15 14:18:28 UTC
When installing LibreOffice 4.1.0.0beta1-1 on Mint 14 (Nadia) with Cinnamon GUI, LibreOffice isn't shown in the menu (bug #65791). When running libreoffice or libreofficedev in the terminal, it reports: command not found.

When calling libreoffice or libreofficedev:
Expected behavior: running libreoffice or reporting an internal error.
Actual behavior: Error: command not found.
Workaround: calling /opt/libreofficedev4.1/program/soffice will run libreoffice

Affected platform: I can only confirm it on Mint 14 / Cinnamon X86_64 (and probably any Ubuntu based distro running Cinnamon).

I don't remember facing this problem on previous releases installed on Fedora/Gnome3.

P.S.: No other Libreoffice installation exists on the same machine.
Comment 1 Thomas Hackert 2013-06-20 07:08:59 UTC
Hello A. Fakhouri, *,
are you sure, Cinnamon has added /opt to its default paths to search? May I ask you to post the relevant lines from your Cinnamon config file and/or ~/.bashrc? Have you tried it with a newer version than LO 4.1.0.0.beta1, or with GNOME or any other DM/DE as well? Does it work there?

Sorry for the inconvenience
Thomas.
Comment 2 Thomas Hackert 2013-06-26 05:23:38 UTC
Hello A. Fakhouri, *,
sorry, forgot to set the status to "NEEDINFO", so catching up on it ...;)

Sorry for the inconvenience
Thomas.
Comment 3 A. Fakhouri 2013-06-26 12:14:45 UTC
@ Thomas,
Hi Again :)

This doesn't explain why simply callig libreoffice, libreofficedev or soffice from the terminal doesn't work though.
Shouldn't the packages create (at least) a symlink somewhere in /usr/bin or /usr/local/bin or so?
Comment 4 Thomas Hackert 2013-07-03 15:07:53 UTC
Hello A.Fakhouri, *,
(In reply to comment #3)
> This doesn't explain why simply callig libreoffice, libreofficedev or
> soffice from the terminal doesn't work though.

it should only be soffice, as this is the script, which calls "soffice.bin" ... ;) And yes, I'm wondering myself, why /opt isn't added as a default path in Linux Mint ... :(

> Shouldn't the packages create (at least) a symlink somewhere in /usr/bin or
> /usr/local/bin or so?

No. The usual way to install not really used packages is, to install them to /opt instead somewhere below /usr (I only forgot, where this was defined ... :( ). But maybe something has changed here, what I am not aware of ... ;)
Thanks for your answer
Thomas.
Comment 5 Jean-Baptiste Faure 2013-08-15 15:57:44 UTC
Generally there is no system integration for beta versions. For these beta version I use my own script to launch LibreOffice.

Do you have the same problem with the current stable version (4.1.0.4)?

Best regards. JBF
Comment 6 Jean-Baptiste Faure 2013-11-09 18:37:46 UTC
No answer from reporter. Closing as NotABug.

Please, feel free to reopen if I am wrong.

Best regards. JBF
Comment 7 Prabesh432@gmail.com 2019-12-30 16:15:02 UTC
Version: 6.3.4.2
Build ID: 1:6.3.4-0ubuntu0.19.10.1
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded


Same problem here in Ubuntu 19.10 when I try to open the document from Desktop (not the Desktop folder).

But when I use File manager and go to Desktop folder, then I can open it normally.
Comment 8 Jean-Baptiste Faure 2020-01-12 16:52:15 UTC
(In reply to Prabesh432@gmail.com from comment #7)
> Version: 6.3.4.2
> Build ID: 1:6.3.4-0ubuntu0.19.10.1
> CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: gtk3; 
> Locale: en-US (en_US.UTF-8); UI-Language: en-US
> Calc: threaded
> 
> 
> Same problem here in Ubuntu 19.10 when I try to open the document from
> Desktop (not the Desktop folder).
> 
> But when I use File manager and go to Desktop folder, then I can open it
> normally.

Please, be more specific. Which command do you use when you "try to open the document from Desktop (not the Desktop folder)" ?

Status has been set to NEEDINFO, please set it back to UNCONFIRMED once requested information has been provided.

Best regards. JBF
Comment 9 QA Administrators 2020-07-11 03:42:11 UTC Comment hidden (obsolete)
Comment 10 Jean-Baptiste Faure 2020-07-12 17:09:48 UTC
No answer from commenter #7 -> closing back to NotABug.

Best regards. JBF