[Slackbuilds-users] LibreOffice and libreoffice-langpack

Niels Horn niels.horn at gmail.com
Mon Jan 3 21:28:19 UTC 2011


On Mon, Jan 3, 2011 at 2:59 PM, Niels Horn <niels.horn at gmail.com> wrote:
> On Mon, Jan 3, 2011 at 2:22 PM, Larry Hajali <larryhaja at gmail.com> wrote:
>> I just installed libreoffice and also had a corresponding
>> openoffice.org installation as well.  I noticed that after installing
>> libreoffice that opening any openoffice.org application opened
>> libreoffice instead.  After removing openoffice.org from my system I
>> saw these lines from removepkg.
>>
>> Removing package /var/log/packages/openoffice.org-3.2.1_en_US-i586-1_SBo...
>> Removing files:
>>  --> /usr/bin/sbase (symlink) was found in another package. Skipping.
>>  --> /usr/bin/scalc (symlink) was found in another package. Skipping.
>>  --> /usr/bin/sdraw (symlink) was found in another package. Skipping.
>>  --> /usr/bin/simpress (symlink) was found in another package. Skipping.
>>  --> /usr/bin/smath (symlink) was found in another package. Skipping.
>>  --> /usr/bin/soffice (symlink) was found in another package. Skipping.
>>  --> /usr/bin/spadmin (symlink) was found in another package. Skipping.
>>  --> /usr/bin/swriter (symlink) was found in another package. Skipping.
>>  --> /usr/bin/unopkg (symlink) was found in another package. Skipping.
>>
>> You might want to rename the symlinks with changes in their
>> corresponding .desktop items so there isn't a conflict.  Or at least
>> say that libreoffice conflicts with openoffice.org in the README.
>>
>> Regards,
>> Larry
>>
>
> Hi Larry,
>
> Yes, the two packages "conflict" in this sense. But as LibreOffice is
> a "fork" of OpenOffice, this is to be expected.
> I don't think too many people will have both office suites installed
> at the same time :)
>
> I did investigate this when I adapted the SlackBuild and I think it
> can be solved by changing the .desktop files in OpenOffice, that point
> to the symlinks instead of the real executable files, like the
> LibreOffice .desktop files do.
>
> I might put a small note in the README for the next submission...
>
> --
> Niels
>

Better still, I wrote a small script to patch the .desktop files of
OO.o so that both can live happily together.
I'll include it with the next submission, but for those who can't
wait, feel free to get it here:

http://www.nielshorn.net/_download/prog/bash/open-libre-together.sh

--
Niels


More information about the SlackBuilds-users mailing list