On 07/23/2014 03:20 PM, JD wrote:
> On Wed, Jul 23, 2014 at 4:08 PM, Andrea Pescetti <[email protected]>
> wrote:
>>
>> On 23/07/2014 JD wrote:
>>>
>>> in /usr/bin, I have:
>>> $ ls -l /usr/bin/*office*
>>> lrwxrwxrwx 1 root jd      32 Jul 23 12:18 /usr/bin/ooffice ->
>>> /opt/openoffice4/program/soffice
>>>
>>
>> This is a symlink you put there, right?
> 
> YES.
> Reason is that libreoffice has already stolen soffice in /usr/bin,
> and believe it or not, it has also stolen ooffice. Both of which link
> to libreoffice. So I broke the link /usr/bin/oofice -> libreoffice
> and made it link to
> /opt/openoffice4/program/soffice.

Actually it is only the distro LO install that creates soffice links in
the /usr/bin.

distro maintainers leave/use:
$ ls -l /usr/bin/*office*
lrwxrwxrwx 1 root root 34 Jun 18 06:02 /usr/bin/libreoffice ->
../lib/libreoffice/program/soffice
-rwxr-xr-x 1 root root 53 Jun 18 04:25 /usr/bin/loffice
lrwxrwxrwx 1 root root 34 Jun 18 06:02 /usr/bin/soffice ->
../lib/libreoffice/program/soffice

The direct install of LO leaves:

$ ls -l /usr/bin/*office*
lrwxrwxrwx 1 root root 35 Jul 25 14:22 /usr/bin/libreoffice4.3 ->
/opt/libreoffice4.3/program/soffice

I recommend just using the desktop file provided:

<code>
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=/opt/openoffice4/program/logo.png
Name[en_US]=OpenOffice
Comment[en_US]=ApacheOpenOffice
Exec=/opt/openoffice4/program/soffice
Name=OpenOffice
Comment=ApacheOpenOffice
Icon=/opt/openoffice4/program/logo
</code>

and file a bug report against:
/opt/openoffice4/program/soffice
line 119:
"$sd_prog/$sd_binary" "$@" &


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to