[Libreoffice-bugs] [Bug 100307] Problem installing libreoffice extension as shared
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 1 14:15:57 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=100307
Justin L <jluth at mail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #7 from Justin L <jluth at mail.com> ---
I do this all the time, but yes - you can't run LibreOffice as sudo, otherwise
the users files are owned as root. Here is the bash code that I use to install
shared extensions as part of my machine rollout:
#
------------------------------------------------------------------------------
# Set LibreOffice defaults with extension
#
------------------------------------------------------------------------------
if [ -z "$(pgrep soffice)" ]; then
LO_EXTENSION=LanguageTool-3.5.oxt
if [ -e ${LO_EXTENSION} ]; then
echo Adding ${LO_EXTENSION} extension
unopkg add --shared ${LO_EXTENSION}
else
echo " ... unable to find ${LO_EXTENSION}"
fi
else
echo " ... LibreOffice is running, so skipping adding any extensions"
fi
Marking as works for me. I've been doing this since 4.x, and most recently on
5.4.2. See the help file for how to install shared extensions at
https://help.libreoffice.org/Common/Extension_Manager
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171101/94b72eb5/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list