On Tue, Aug 13, 2019 at 04:35:09PM -0500, Bruce Dubbs via blfs-dev wrote:
> 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:
> > >
> > > 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.
>
I've now tried ldconfig (thanks for suggesting it - on /usr packages
(my choice) where things have not needed it in the past I tend to
not think about it. Made no difference.
For libreoffice6.3 - nothing like that. The native LO libs are
mostly unversioned (except for e.g. pyuno libs), but hte libs with
versions are all .so.1 or .so.3, not a full version.
And all the libs are in /usr/lib/libreoffice/program/ - the only '6'
in there is libt602filterlo.so which is part of the latest install.
Looking again at the desktop files, they actually have two entries
with Exec= - first, I suppose for drag-and-drop or opening a
document fro ma file manager, has '%U' at the end, second (labelled
'new document') lacks that, so just 'Exec=libroffice --calc'. That
is what I would be running from the menu, and it works if I run it
directly. Only running from xfce's menu is giving a problem.
I saved this mail, then came out of xfce which had been running (with
LO-6.2) while I built 6.3.
The desktop files that I had not altered now work from the xfce menu.
Solved, but I have no idea what changed.
Retaining my further comments below.
> > 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.
Indeed we do not, the package installs them. I got this installed a
few hours ago, and all the files in /usr/lib/libreoffice/share/xdg/
were updated at that time. Since then, I've copied calc.desktop and
edited it to test if changing it after install worked (it did).
> 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
>
No changes to that. If it works, fine. I'm suggesting (if needed) a
configuration setion to edit the fiels in-place with sed.
Update: and clearly not needed now.
Thanks for the suggestions, I wish I'd just kept using icewm like I
normally do ;-)
ĸen
--
Adopted by dwarfs, brought up by dwarfs. To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
Captain Carrot Ironfoundersson (in The Fifth Elephant)
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page