Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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

Your Answer


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.