On 8/13/19 4:18 PM, Ken Moffat via blfs-dev wrote:
On Tue, Aug 13, 2019 at 02:29:35PM -0500, Bruce Dubbs via blfs-dev wrote:
On 8/13/19 2:11 PM, Ken Moffat via blfs-dev wrote:
I got LO installed with the options I think we should be using :
enable gtk3 and disable gtk (i.e. gtk2), and system epoxy - gtk3 is
supposed to enable system cairo, which it does, and system epoxy,
but it doesn't.

For once, I'm using a DE (old xfce-4.12) so I'm trying to use the
desktop files.  Disaster, each one produces a message dialog

   Failed to execute command "libreoffice6.3 --writer %U".

   Failed to execute child process
   “libreoffice6.3” (No such file or directory)


The odd thing is that the desktop files appear to be unchanged, e.g.
calc.desktop ends

Exec=libreoffice --calc %U

I'm guessing that we can change these files with a sed, to e.g.

For an older version of LO I have:

$ ll /usr/bin/libreoffice
lrwxrwxrwx 1 root root 56 Jul 15 17:31 /usr/bin/libreoffice ->
/opt/libreoffice-6.2.5.2/lib/libreoffice/program/soffice

Do you have an equivalent link of libreoffice -> soffice ?

ken@plexi ~ $ls -l /usr/bin/libreoffice
lrwxrwxrwx 1 root root 36 Aug 13 18:18 /usr/bin/libreoffice ->
/usr/lib/libreoffice/program/soffice

What about libreoffice6.3?  That's what the desktop file is looking for.
Also, a 'not found' problem is sometimes cured with running ldconfig.

It also occurs to me that this _might_ only happen on some machines,
or some DEs, and could perhaps better be handled in a 'configuring'
section after install (as root) ?

We don't install the .desktop files directly. Reviewing our current instructions, it appears to me that what we have now is better in the installing section where we are just creating symbolic links. Was there something else?

  -- Bruce



--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to