Bug 108768 - Make it possible to generate all settings in registrymodifications.xcu
Summary: Make it possible to generate all settings in registrymodifications.xcu
Status: RESOLVED DUPLICATE of bug 108787
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-25 15:47 UTC by David Hedlund
Modified: 2017-06-26 11:39 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Hedlund 2017-06-25 15:47:08 UTC
[This issue can be applied to any Libreoffice software. I use Libreoffice Calc here as a demonstration.]

$libreoffice --calc

For example, the command adds these settings (but not limited to) to ~/.config/libreoffice/4/user/registrymodifications.xcu

<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="AddNonBreakingSpace" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="CapitalAtStartSentence" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="ChangeDash" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="ChangeOrdinalNumber" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="ChangeUnderlineWeight" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="CorrectAccidentalCapsLock" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="DoubleQuoteAtEnd" oor:op="fuse"><value>0</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="DoubleQuoteAtStart" oor:op="fuse"><value>0</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect/Exceptions"><prop oor:name="CapitalAtStartSentence" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect/Exceptions"><prop oor:name="TwoCapitalsAtStart" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="RemoveDoubleSpaces" oor:op="fuse"><value>false</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="ReplaceDoubleQuote" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="ReplaceSingleQuote" oor:op="fuse"><value>false</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="SetInetAttribute" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="SingleQuoteAtEnd" oor:op="fuse"><value>0</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="SingleQuoteAtStart" oor:op="fuse"><value>0</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="TwoCapitalsAtStart" oor:op="fuse"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/AutoCorrect"><prop oor:name="UseReplacementTable" oor:op="fuse"><value>true</value></prop></item>

I need them to be added so I can modify them with a Bash script instead of copying an outdated registrymodifications.xcu.
Comment 1 David Hedlund 2017-06-25 15:48:43 UTC
Typo above, it should be:

For example, the command do not add add these settings (but not limited to) to ~/.config/libreoffice/4/user/registrymodifications.xcu
Comment 2 Eike Rathke 2017-06-25 16:39:10 UTC
registrymodifications.xcu contains only items that have values different from the default values (hence *modifications*), which is the reason why they are not added.

Anyway, why don't you just create the settings you need if the file doesn't exist or a modified setting doesn't exist?
Comment 3 David Hedlund 2017-06-25 16:51:20 UTC
I want to be able to make everything safely customized from scratch from the terminal.
Comment 4 David Hedlund 2017-06-26 11:39:56 UTC
Not all setting is displayed even with libreoffice --calc. Which means that not all settings can be modified with a bash script.

*** This bug has been marked as a duplicate of bug 108787 ***