You are not logged in.

#1 2022-06-04 00:49:14

rafaellancas
Member
Registered: 2022-05-31
Posts: 86

[SOLVED] Libre Office: no shortcuts created in the launcher

So I have  a recent installed Arch on my machine and I want to install libreoffice on it, but no matter how I try to do it, pacman or yay, it does not add any shortcuts to the launcher.

I don't know if it has anything to do with it, but I'm on KDE/Plasma and recently I had to install gnome-keyring to make Vscode sincronize with github. For some reason, I think perhaps gnome-keyring is messing up with the permissions on the system, making pacman and yay buggy. I tried to install different programs like clementine and they all got their shortcuts added to the launcher normally.

Last edited by rafaellancas (2022-06-29 03:00:35)

Offline

#2 2022-06-05 08:43:11

philo
Member
Registered: 2015-01-26
Posts: 275

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

Offline

#3 2022-06-05 15:04:34

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

Output of:

ls -l /usr/share/applications/libre*

And

kbuildsycoca5 --menutest | grep libre

?

Try restarting plasma if you haven't...

Last edited by frabjous (2022-06-05 15:05:12)

Offline

#4 2022-06-05 17:54:42

rafaellancas
Member
Registered: 2022-05-31
Posts: 86

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

frabjous wrote:

Output of:

ls -l /usr/share/applications/libre*

And

kbuildsycoca5 --menutest | grep libre

?

Try restarting plasma if you haven't...

Thank you! I ended up making the links by myself, but these are the outputs of the commands you mentinoned:

 [rafael@pc ~]$ ls -l /usr/share/applications/libre*
lrwxrwxrwx 1 root root 43 Jun  2 15:10 /usr/share/applications/libreoffice-base.desktop -> /usr/lib/libreoffice/share/xdg/base.desktop
lrwxrwxrwx 1 root root 43 Jun  2 15:10 /usr/share/applications/libreoffice-calc.desktop -> /usr/lib/libreoffice/share/xdg/calc.desktop
lrwxrwxrwx 1 root root 43 Jun  2 15:10 /usr/share/applications/libreoffice-draw.desktop -> /usr/lib/libreoffice/share/xdg/draw.desktop
lrwxrwxrwx 1 root root 46 Jun  2 15:10 /usr/share/applications/libreoffice-impress.desktop -> /usr/lib/libreoffice/share/xdg/impress.desktop
lrwxrwxrwx 1 root root 43 Jun  2 15:10 /usr/share/applications/libreoffice-math.desktop -> /usr/lib/libreoffice/share/xdg/math.desktop
lrwxrwxrwx 1 root root 50 Jun  2 15:10 /usr/share/applications/libreoffice-startcenter.desktop -> /usr/lib/libreoffice/share/xdg/startcenter.desktop
lrwxrwxrwx 1 root root 45 Jun  2 15:10 /usr/share/applications/libreoffice-writer.desktop -> /usr/lib/libreoffice/share/xdg/writer.desktop
lrwxrwxrwx 1 root root 49 Jun  2 15:10 /usr/share/applications/libreoffice-xsltfilter.desktop -> /usr/lib/libreoffice/share/xdg/xsltfilter.desktop
[rafael@pc ~]$ 
[

and

[rafael@pc ~]$ kbuildsycoca5 --menutest | grep libre
kbuildsycoca5 running...
kf.service.services: The desktop entry file "/home/rafael/.local/share/applications/Office.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/home/rafael/.local/share/applications/Office.desktop"
Education/Mathematics/  libreoffice-math.desktop
Education/Science/      libreoffice-math.desktop
[rafael@pc ~]$ 

Offline

#5 2022-06-05 20:21:03

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

kbuildsycoca5 is reporting errors; you should run it without the grep and see all the error messages and fix what you can; not sure whether or that's the reason for your previous problem...

Offline

#6 2022-06-06 00:06:26

rafaellancas
Member
Registered: 2022-05-31
Posts: 86

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

frabjous wrote:

kbuildsycoca5 is reporting errors; you should run it without the grep and see all the error messages and fix what you can; not sure whether or that's the reason for your previous problem...

Thank you! It showed me the same errors as before with the grep:

kf.service.services: The desktop entry file "/home/rafael/.local/share/applications/Office.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/home/rafael/.local/share/applications/Office.desktop"

I tried to look for them on Google but no success. Any idea on how I can resolve these?

Offline

#7 2022-06-06 00:08:24

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

What is the contents of /home/rafael/.local/share/applications/Office.desktop

Offline

#8 2022-06-07 16:13:22

rafaellancas
Member
Registered: 2022-05-31
Posts: 86

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

loqs wrote:

What is the contents of /home/rafael/.local/share/applications/Office.desktop

Thank you for your answer! I deleted the file and it stopped showing the errors. The only bad part was that I had to create the shortcuts all by myself, but this is a office only bug, so it's ok.

Offline

#9 2022-06-07 19:30:15

philo
Member
Registered: 2015-01-26
Posts: 275

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

Would you mark the title of your thread as [SOLVED]?

Offline

#10 2022-06-09 19:01:33

rafaellancas
Member
Registered: 2022-05-31
Posts: 86

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

philo wrote:

Would you mark the title of your thread as [SOLVED]?

How do I do that? When I try to edit, it does not allow me to type anything on the title.

Offline

#11 2022-06-09 21:17:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,275

Re: [SOLVED] Libre Office: no shortcuts created in the launcher

might be too long, shorten it a little to actually reflect the issue you had to fix. You can also only edit the title in the first post.

Last edited by V1del (2022-06-09 21:18:15)

Offline

Board footer

Powered by FluxBB