-
Notifications
You must be signed in to change notification settings - Fork 4
Home
LibreOffice 4.2 introduced the ability to control LibreOffice settings via registry keys. In so doing, it allows Group Policy to set LibreOffice settings.
Unfortunately, LibreOffice have not provided much documentation on their main.xcd file, so it's hard to know exactly what registry key you need to create in order to set a particular setting.
With this admx file, hopefully it will be easy for you to set LibreOffice settings, without trying to figure out where the particular setting is stored in main.xcd.
LibreOffice provided the documentation on how to create the registry key that corresponds to the xml here.
This project provides a stub admx and adml file for LibreOffice and has been tested against 4.2, 4.3 and 4.4.
In late April 2015, Collabora released an ADMX for LibreOffice that is available here: https://libreoffice-from-collabora.com/windows-group-policy-admx/. Since then this project has not been maintained. It is recommended that you use the ADMX provided and maintained by Collabora.
Follow the instructions in the Group Policy page to install the Group Policy is the correct location.
Unfortunately LibreOffice group policy reads from the Computer Configuration so it is difficult to target specific users. The Group Policy will apply to all users of a computer.
If you are having issues, check out the Troubleshooting page.
You will find that many of the settings also have an Enforce check-box, this can do 1 of 2 things:
- Disable changing the setting and grey it out
- Allow changing of the setting, but it will be reverted when LibreOffice next starts up.
Unfortunately, LibreOffice makes it difficult to know how settings are enforced.
Some settings such as Trusted Path Locations may have multiple values, you have to be very careful setting these settings as if you do not enter in the value correctly they will not be correctly applied. The following rules need to be followed:
- LibreOffice uses spaces to split values
- Replace the spaces you want to keep with %20
- File Paths need to begin with file:///
- S:\macro documents\safe
- S:\shared
file:///S:/Macro%20Documents/safe file:///S:/shared
Sometimes it's better to avoid Group Policy in some scenarios. Some issues can be better tackled at installation time or via other configuration methods.
- User Data
- Quickstater
ADDLOCAL=ALL REMOVE=gm_o_Quickstart
- Online Update
ADDLOCAL=ALL REMOVE=gm_o_Onlineupdate
Right now this Group Policy is very limited in the settings it configures, if you would like to help out this page goes over how to edit a custom group policy.