Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hello Eric

You may also have a look at Server installation Gui [1], which may optimize your process a bit, and some hands-on video [2]. Once you worked with that, you can use the "fake it as a bundled extension" tip from Stephan before actually deploying on your clients.

And you can ask for help in french on discuss@fr.libreoffice.org, they are many regional authority admins there who may help.

HTH



[1]: http://extensions.libreoffice.org/extension-center/libreoffice-server-installation-gui
[2]: http://flosmind.wordpress.com/libreoffice-server-install-gui/

Le Wed, 05 Jun 2013 18:14:48 +0200, Stephan Bergmann <sbergman@redhat.com> a écrit:

De: eric.ficheux <bureautiquelibre@nantesmetropole.fr>

I'm currently working on a LibreOffice deployment for 5K users and I want to give the users access to corporate document templates + a few custom tweaks
like keyboard shortcuts, macro security level and so on.

The only way we found to do it is through the registrymodifications.xcu file
in the user profile.

It is a 2 step process:
1: LibreOffice is downloaded and installed to the computers (with admin
profile)
2:  After reboot, the user profile is removed and the
registrymodifications.xcu file is put in place before LibreOffice is started (we do this after a reboot so the current user profile is updated, we can't do it at step 1 because it runs under admin profile and we can't easily find
the current user profile)

The process isn't very elegant, it looks more like a hack than industrial
deployment:

The .xcu file contains a lot of things, the only way I found to build a
custom one is to apply the settings "by hand" first and then find the lines added in the .xcu file to build a "clean" one with only the lines required. Keeping only our settings seems OK but we lose all user configuration in
the process
It also requires a reboot which some users don't do often to avoid wasting
time with slow machines.


Is there a best way to apply a company-wide configuration that wouldn't
require reboot and would keep individual user settings?

The recommended way to do this is to create a LibreOffice extension (.oxt file, see documentation linked off <https://wiki.documentfoundation.org/Development/Extension_Development>) that contains an .xcu file with all the relevant settings. (That way, if you want, you can even finalize certain settings so that the users cannot override them---not easily from the UI at least, that is.)

There are various options how to deploy that extension (bundled, shared, or per user). If you had a central installation of LibreOffice (shared via NFS or SMB, say), the best option would probably be to deploy it as a shared extension into the shared installation. But as you describe that you individually install LibreOffice onto each machine, you could either afterwards (under the admin profile) deploy it as a shared extension (via "unopkg --shared", or from LibreOffice's "Tools - Extension Manager..."), or even fake it as a bundled extension, by unpacking the .oxt file into the shared/extensions directory of the LibreOffice installation, which might be easier to automate.

I'm not sure about the reboot part of your mail---I don't see why you need a reboot with the process you describe.

Feel free to come back with any further questions,
Stephan


--
Mat M

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.