Fresh firefox profile while keeping bookmarks

From LWP-Wiki
Jump to: navigation, search

Fresh firefox profile while keeping bookmarks

Steps to reset all firefox settings without losing your bookmarks:

  1. Click firefox menu "Show all bookmarks"
  2. In the newly opened window titled "Library"
    • Click menu "Import and Backup"
    • Click menu-item "Backup"
    • Chose a suitable folder (directory) to save the .json bookmarks backup file.
    • Remember the name of the folder and file name.
    • Click button "Save".
  3. Close the window titled "Library"
  4. Exit firefox
  5. Open a terminal emulator window (xterm, gnome-terminal,...) and enter the following command:
    mv ~/.mozilla/firefox ~/.mozilla/firefox-$(date +%F_%R)
  1. Start Firefox again.
  2. Again, click menu "Show all bookmarks"
  3. And again in "Library" window do:
    • Click menu "Import and Backup"
    • Click menu-item "Restore" --> "Choose file"
    • Select the .json bookmarks backup file you saved earlier.
    • Click button "Open" and click "OK" to confirm you want the bookmarks backup to replace the current bookmarks.