libreoffice-online/loolkitconfig.xcu
Pranav Kant 831c79c0ac lookitconfig.xcu: Set a work path which is valid in chroot
Since the variables are set outside of chroot, workdir directory is
wrongly picked up as /home/username/Documents or something else. But it
is not guarranteed that this directory would exist in the chroot. Any
attempt to access such an invalid directory, eg. during filepicker
button in hyperlink dialog, freezes the dialog.

Change-Id: I83bfc5787a4f3bd66d8abd30b6204cb1e74e5287
2018-01-03 16:39:14 +05:30

16 lines
987 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- tdf#106488 - reverse hostname lookup can go badly wrong -->
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="UseLocking" oor:op="fuse"><value>false</value></prop></item>
<!-- Enable spell-checking by default -->
<item oor:path="/org.openoffice.Office.Linguistic/SpellChecking"><prop oor:name="IsSpellAuto" oor:op="fuse"><value>true</value></prop></item>
<!-- Save memory by avoiding collecting autocompletion words -->
<item oor:path="/org.openoffice.Office.Writer/AutoFunction/Completion"><prop oor:name="Enable" oor:op="fuse"><value>false</value></prop></item>
<!-- Set a work path which is valid in chroot -->
<item oor:path="/org.openoffice.Office.Paths/Variables"><prop oor:name="Work" oor:op="fuse"><value>file:///home</value></prop></item>
</oor:items>