Ask Your Question
0

How to unlock file answer is as clear as mud

asked 2016-06-14 16:08:59 +0100

dkwalton gravatar image

updated 2016-06-18 02:22:21 +0100

The answer at https://ask.libreoffice.org/en/questi... lacks specific details. It states --

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 flag offensive close merge delete

Comments

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.

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

1 Answer

Sort by » oldest newest most voted
0

answered 2016-06-18 03:42:38 +0100

Ratslinger gravatar image

updated 2016-06-18 03:46:18 +0100

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

image description

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.

edit flag offensive delete link more

Comments

how about on a mac? my version of the soffice file is in mach-o, and I'm not sure how to find the right line let alone comment it out

smulloy gravatar imagesmulloy ( 2016-11-01 02:12:54 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-06-14 16:08:59 +0100

Seen: 165 times

Last updated: Jun 18 '16