https://bugs.documentfoundation.org/show_bug.cgi?id=100307
Justin L <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #7 from Justin L <[email protected]> ---
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs