We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can't restore UI layout from previous profile.

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

I've just put together a new computer. Fresh install of everything. I wanted to get my firefox up and running as it was before. So, I thought I'd copy over some relevant files from the old profile folder (I have it on a usb stick) to the new one. saved passwords: copied fine bookmarks: copied fine ui/layout: no cigar. I was told it's the localstore.rdf file but it seems to do absolutely nothing when I copy it over; furthermore I can change the layout in my new firefox and it doesn't affect the localstore.rdf file in its profile folder. What gives?

Old install was win7-64, new install is arch-linux-64

I know i have the right folders (at least in theory) because the passwords and bookmarks did copy over correctly and work fine.

I've just put together a new computer. Fresh install of everything. I wanted to get my firefox up and running as it was before. So, I thought I'd copy over some relevant files from the old profile folder (I have it on a usb stick) to the new one. saved passwords: copied fine bookmarks: copied fine ui/layout: no cigar. I was told it's the localstore.rdf file but it seems to do absolutely nothing when I copy it over; furthermore I can change the layout in my new firefox and it doesn't affect the localstore.rdf file in its profile folder. What gives? Old install was win7-64, new install is arch-linux-64 I know i have the right folders (at least in theory) because the passwords and bookmarks did copy over correctly and work fine.

All Replies (2)

more options

I also read that after FF v34, localstore.rdf was deprecated in favour of xulstore.json

So I copied that over too. Still no dice.

more options

You need the browser.uiCustomization.state pref as saved in the prefs.js file to restore the toolbar layout.

It is best only to recover user_pref() lines that you really need and copy them to the prefs.js file in the current Firefox profile folder. Don't use a user.js file because that way you can't make changes to the customization because the user.js is processed on every Firefox start.