Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have been editing my-file.ods almost daily using LibreOffice. Today it hanged at one point. I had to reboot the laptop. Now the file cannot be edited. When it is opened for editing, a warning is issues: Document file is locked for editing by unknown user.

If I open the file for editing despite the stated hiccup and edit it and then try to save it, I am prompted to save it under another name. But I don't want to change the name.

share|improve this question
add comment

1 Answer 1

LibreOffice is creating a "lock file" which looks something like that:

.~lock.FileName.xls#

If you remove it, you will be able to open your document just fine. To display it, you need to either make Nautilus show hidden files (menu View -> Hidden Files or CtrlH), or open a terminal and type

ls -la

You should see the lock file. Remove it.

Also in terminal you could find them all with:

locate -e .~lock
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.