libreoffice converstion of egistrymodifications.xcu user items to systemwide xml registry share

Jelle de Jong jelledejong at powercraft.nl
Thu Apr 11 19:17:37 UTC 2019


Hello everybody,

I am trying to convert changes to 
/home/$USER/.config/libreoffice/4/user/registrymodifications.xcu into 
systemwide configuration for users that start libreoffice for the first 
time under linux with systemwide settings.

I tried placing a xml file in 
/usr/lib/libreoffice/share/registry/registrymodifications-system-wide.xcu 
but I can not seem to get the syntax right.

I found the schema here, not sure how to use them to create my own 
configuration: 
https://cgit.freedesktop.org/libreoffice/core/tree/officecfg/registry/schema/org/openoffice

Can somebody give me example for a system wide registrymodificaton or 
look at the attachments and help me out with these few settings.

Kind regards and best wishes,

Jelle de Jong (GNU/Linux Consultant)

-------------- next part --------------
<item oor:path="/org.openoffice.Office.Common/Save/Document"><prop oor:name="WarnAlienFormat" oor:op="fuse"><value>false</value></prop></item>
<item oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.text.TextDocument']"><prop oor:name="ooSetupFactoryDefaultFilter" oor:op="fuse"><value>MS Word 2007 XML</value></prop></item>
<item oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.presentation.PresentationDocument']"><prop oor:name="ooSetupFactoryDefaultFilter" oor:op="fuse"><value>Impress MS PowerPoint 2007 XML</value></prop></item>
<item oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.sheet.SpreadsheetDocument']"><prop oor:name="ooSetupFactoryDefaultFilter" oor:op="fuse"><value>Calc MS Excel 2007 XML</value></prop></item>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: registrymodifications-registry-system-wide.xcu
Type: text/xml
Size: 1630 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20190411/84a548a1/attachment.xml>


More information about the LibreOffice mailing list