SliTaz SliTaz Forum

You are not logged in.

#1 2017-05-20 06:52:53

terrybull
Member
Registered: 2011-11-06
Posts: 127

Another Libre Office issue

I have recently installed Slitaz 4. I have installed Libre Office from the get-libre office in package manager and it is installed but nothing shows in the menu. I can lauch it from usr/bin office.so

I know there has been this issue raised before here:

http://forum.slitaz.org/topic/libreoffice-53-very-imperfect-installation#post-44607

but I do not understand. Can someone spell out in very basic terms how I can get the office application into the menu please.

Thanks

Offline

#2 2017-05-20 08:32:27

wb-slitaz
Member
Registered: 2017-01-26
Posts: 19

Re: Another Libre Office issue

I use slitaz-rolling-core

and used these commands in terminal as root after installation of get-LibreOffice:

rm -f /usr/share/applications/libreoffice-*

cd /usr/share/applications

ln -s /usr/lib/libreoffice5.3/share/xdg/base.desktop          libreoffice-base.desktop

ln -s /usr/lib/libreoffice5.3/share/xdg/impress.desktop       libreoffice-impress.desktop

ln -s /usr/lib/libreoffice5.3/share/xdg/writer.desktop        libreoffice-writer.desktop

ln -s /usr/lib/libreoffice5.3/share/xdg/calc.desktop          libreoffice-calc.desktop

ln -s /usr/lib/libreoffice5.3/share/xdg/math.desktop          libreoffice-math.desktop

ln -s /usr/lib/libreoffice5.3/share/xdg/draw.desktop          libreoffice-draw.desktop

ln -s /usr/lib/libreoffice5.3/share/xdg/printeradmin.desktop libreoffice-printeradmin.desktop

chmod +x /usr/lib/libreoffice5.3/share/xdg/*.desktop

cd /usr/bin

rm -f /usr/bin/soffice /usr/bin/libreoffice5.3

ln -sf /usr/lib/libreoffice5.3/program/soffice /usr/bin/libreoffice5.3

Good luck

Offline

#3 2017-05-20 12:13:24

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: Another Libre Office issue

Thanks for the reply but it has not resolved the issue. No menu entries. I pasted every line into root terminal. When I paste this

ln -s /usr/lib/libreoffice5.3/share/xdg/base.desktop libreoffice-base.desktop

and the other similar entries I get a text 'file already exists'

I can still launch LibreOffice from user/lib.

Where do I go now.

Offline

#4 2017-05-20 13:12:40

wb-slitaz
Member
Registered: 2017-01-26
Posts: 19

Re: Another Libre Office issue

after that command:

rm -f /usr/share/applications/libreoffice-*

be shure that all files with the beginning with libreoffice- are deleted in /usr/share/applications

or delete first only libreoffice-writer.desktop manually

and try then

ln -s /usr/lib/libreoffice5.3/share/xdg/writer.desktop libreoffice-writer.desktop

Then writer should appear in the menue

when the menue is complete then again

rm -f /usr/bin/soffice /usr/bin/libreoffice5.3

ln -sf /usr/lib/libreoffice5.3/program/soffice /usr/bin/libreoffice5.3

Offline

#5 2017-05-20 17:21:34

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: Another Libre Office issue

No joy. Done the above and still no menu. I just tried it with writer and nothing showing in the menu. I have /usr/lib/libreoffice/program/swriter

for example and when I go to this in file manager it opens writer

Offline

#6 2017-05-20 21:28:20

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: Another Libre Office issue

Just a bump on this. I really would like to get libre office working properly. Surely this cant be too hard for those who know what they're doing. I dont.

Thanks

Offline

#7 2017-05-23 19:05:54

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Another Libre Office issue

Switch to 5.0 and i think your Problems are gone.......

4.0 is to old

Offline

#8 2017-05-25 06:25:11

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: Another Libre Office issue

I'm having to do a network boot as this machine only has a floppy. When I try to boot 5 it just hangs after a while. I don't have the knowledge to troubleshoot this. I'd be happy with 4 if I could just get LibreOffice working. I have installed LO 3. From a tazpkg I used on slitaz 3 and that's gone on fine and created menu entries fine. However a newer version would be good if only I could get the menu entries or desktop shortcuts.

Offline

#9 2017-05-25 07:52:47

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: Another Libre Office issue

Hi terrybull

I run 4.0 with LibreOffice 5.3 and it works prefect.

Steps

1) check the PATH launcher files. Open Sakura:

cd /usr/lib/libreoffice/share/xdg

ls

base.desktop

calc.desktop

draw.desktop

impress.desktop

math.desktop

qstart.desktop

startcenter.desktop

writer.desktop

xsltfilter.desktop

2) as root

# cd /usr/share/applications

# ls -la libreoffice-*

[attachment=44677,2493]

3) Solve symbolic link. First delete link

# rm libreoffice-writer.desktop

Create new symbolic link

# ln -s /usr/lib/libreoffice/share/xdg/writer.desktop libreoffice-writer.desktop

Check your menu!

[attachment=44677,2494]

Offline

#10 2017-05-25 20:31:52

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: Another Libre Office issue

Thanks rerivero. I'll have another go over the weekend.

Offline

#11 2017-05-28 11:39:08

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: Another Libre Office issue

I sat down this morning to go through the replies and try and solve my LibreOffice issue when I saw this post from rerivero

http://forum.slitaz.org/topic/get-libreoffice-patched

So I ran it and it automatically removed the previous installation and reinstalled LibreOffice, correctly creating the menu enteries so thanks rerivero I now have it installed. Will this make it to the repository so get libre office works in the future?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]