First time here? Check out the FAQ!
I use both a laptop and a desktop computer. Both have the latest version of LibreOffice installed and both run Windows XP Pro, SP3. However, this has been a problem from when I first started using the laptop about a year ago, so it spans multiple versions of LibreOffice.
My files are on a flash drive. When I edit files in Writer on my laptop computer it locks them so they cannot be edited on my desktop computer. I have looked everywhere I can to find out how to turn this feature off. How can I turn off the lock feature in Writer (or Office?)
You might edit main.xcd [path: program_files\LibreOffice\share\registry\main.xcd]:
Modify the following default <value>true<value> ...
<prop oor:name="UseDocumentSystemFileLocking" oor:type="xs:boolean" oor:nillable="false">
<value>true</value>
</prop>
<prop oor:name="UseDocumentOOoLockFile" oor:type="xs:boolean" oor:nillable="false">
<value>true</value>
</prop>

... to customized <value>false<value>
<prop oor:name="UseDocumentSystemFileLocking" oor:type="xs:boolean" oor:nillable="false">
<value>false</value>
</prop>
<prop oor:name="UseDocumentOOoLockFile" oor:type="xs:boolean" oor:nillable="false">
<value>false</value>
</prop>

Save main.xcd. Backup and reset your LibreOffice user profile, restart LibreOffice.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-07-20 17:56:55 +0200
Seen: 146 times
Last updated: Jul 21 '12
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
Do you closed the files before extract the flash drive?
mariosv ( 2012-07-20 18:48:35 +0200 )editYes, I close the file and click on the safe removal icon in the taskbar.
Newshawk ( 2012-07-24 02:59:55 +0200 )edit@Newshawk -- Did @manj_k's answer help you? Are you still looking for an answer here?
qubit ( 2013-03-13 10:27:55 +0200 )edit