How to unlock file answer is as clear as mud

To disable file locking, edit the soffice script and change the line "export SAL_ENABLE_FILE_LOCKING" to "# export SAL_ENABLE_FILE_LOCKING"

Relative to Libre Office 5.1.3 installed under Windows XP Pro, 7 Ultimate, 8.1 Pro, and 10 Pro -- What is the name of the soffice script file where this parameter is changed and where is it located?

edit retag close merge delete

Have you a problem with file locking using LibO on a Windows system? As the answer stated, the SOFFICE script file is typically located on a Windows system at C:\Program files (x86)\LibreOffice 4.x\program. You should use your standard text editor to look at if if you need to. I use notepad on my Linux Mint system if I need to look at the file.

( 2016-06-14 18:14:13 +0100 )edit

Sort by » oldest newest most voted

You must still be having problems since the post is moved up.

On the left is my file manager and the actual name of the file you want is soffice in the location already mentioned - C:\Program files (x86)\LibreOffice 5.1\program. Open that file with any text editor - again such as notepad. I opened the file twice to show a before and after. The line you are looking for is about 25 lines down. Change:

export SAL_ENABLE_FILE_LOCKING to # export SAL_ENABLE_FILE_LOCKING and save the file. That's it. The # comments out the line so it is ineffective.

more