As the title states - I accidentally deleted the two files above and now Chrome is unable to sync when I open it. I've tried to Add password keyring in the Password manager application, but it does not allow me.

It seems that the user.keystore file was automatically replaced, however it is empty.

What should I do to be able to have my chrome settings stored locally again? The files I rm'd were in ~/.local/share/keyrings

Thanks in advance

2 Answers 2


I suggest creating a new profile for "Chrome", it should work however if you want to recover the files then:

First install testdisk:

sudo apt install testdisk

Then run it:

sudo testdisk

From the Items select "Create", then select your home partition, select "None" then "Advanced" and move the selected item on list:

enter image description here

Now it lets you to go into directories, go to the ~/.local/share/keyrings and see if it show "keyrings" file to you:

Directory /ravexina/.local/share

 drwxr-xr-x  1000  1000      4096 18-May-2017 22:44 .
 drwxr-xr-x  1000  1000      4096 11-May-2017 20:59 ..
 drwxr-xr-x  1000  1000      4096 12-May-2017 12:11 xorg
>drwx------  1000  1000      4096 11-May-2017 21:26 keyrings

Press c to recover it.

  • Hey! Perfect, this worked! Thanks a lot for the help.
    – chactas
    Jun 18, 2017 at 19:42
  • You're welcome, I'm glad that It was helpful to you :)
    – Ravexina
    Jun 18, 2017 at 19:48

You can try extundelete and hope they haven't been overwritten. boot from a live CD if you have it to minimize the chance of the files being overwritten.

To install:

sudo apt install extundelete

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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