Windows profile copy to MX Linux?

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
Garland
Moonbather
Moonbather
Posts: 56
Joined: 2023-09-26, 20:39

Windows profile copy to MX Linux?

Post by Garland » 2025-09-12, 00:08

I would like to save some effort in copying my Pale Moon configuration (with 10 add-ons) from my Windows PC to my new MX Linux live USB. I used Steve Pusser's Deb installer for Pale Moon on MX Linux 23.6-ahs. Is Pale Moon platform-independent enough that I can just copy the whole profile folder?

I understand that I will have to do manual changes to any setting that uses C: and/or backslashes. In about:config, I searched for the backslash character. There were Windows paths in browser.download.dir, extensions.bootstrappedAddons and extensions.xpiState. Can I just edit the prefs.js file in the copied profile folder to fix these, and that's it?

Thank you to the Pale Moon team for putting in the Help|Troubleshooting Information. That's how I found the profile folder in Linux even though I am a newbie. I haven't been able to find the Firefox profile in MX Linux yet. I would appreciate some help on this too!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38408
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Windows profile copy to MX Linux?

Post by Moonchild » 2025-09-12, 05:48

Please don't do this.
The incompatible path issue extends to many more files including various databases, session information, etc. and paths isn't the only platform-specific information that is in the profile.

I suggest you use Pale Moon Sync instead to get your data across to save time. That will allow you to transfer profile data in a way that avoids OS specifics.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Garland
Moonbather
Moonbather
Posts: 56
Joined: 2023-09-26, 20:39

Re: Windows profile copy to MX Linux?

Post by Garland » 2025-09-12, 18:15

Thanks for the quick help Moonchild. I will heed your warning and not copy the whole profile.

Pale Moon Sync sounds very convenient. However, I need an offline method for now. For a Linux newbie like me, this is the only way I know what changed on my live USB before I manually persist all changes. I use a USB flash drive to copy files between computers.

After I install all 10 add-ons, can I just copy places.sqlite, ublock0.sqlite and ematrix.sqlite to the Linux profile? This is the data that would take the longest to re-create.

I seem to remember from Firefox 52 that 3 files are needed to copy bookmarks from one profile to another. But if the sqlite files are vacuumed just before the transfer, then only places.sqlite needs to be transferred. I could install this for vacuuming: https://addons.palemoon.org/addon/swabby/

I have Pale Moon automatically delete all history at exit, so I only want to transfer the bookmarks in places.sqlite. Would it be simpler (no need to vacuum) to just backup bookmarks to the bookmarkbackups folder and then copy the latest .jsonlz4 file over to the new Linux profile?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38408
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Windows profile copy to MX Linux?

Post by Moonchild » 2025-09-12, 18:20

You can't copy places.sqlite because the places db will have Windows-specifics in it (e.g. download paths).
I don't know about extension-specific databases being OS agnostic or not.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5542
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Windows profile copy to MX Linux?

Post by Night Wing » 2025-09-12, 19:22

@ Garland

This is just a "shot in the dark", but I thought of the link below since you mentioned "persistent". In MX Linux, there is "pesristance" when using a USB drive. It is a long read, but it might be what you are looking for. And there are pictures to guide you if this is what you want.

https://blog.ctms.me/posts/2025-01-28-p ... -mx-linux/
MX Linux 25 (Xfinity) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 13.1 (Trixie) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
Garland
Moonbather
Moonbather
Posts: 56
Joined: 2023-09-26, 20:39

Re: Windows profile copy to MX Linux?

Post by Garland » 2025-09-12, 19:54

I can export bookmarks as HTML and import them as HTML in Linux Pale Moon. But this flattens the folding folder structure I have and possible shortens labels. Can I backup bookmarks to the bookmarkbackups folder and then copy the latest .jsonlz4 file over to the bookmarkbackups folder in the new Linux profile?

I answered my own question about where the Firefox profile is stored in Linux. about:profiles has the info, just like Pale Moon. Good to knock some rust off my knowledge.

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5542
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Windows profile copy to MX Linux?

Post by Night Wing » 2025-09-12, 20:13

Garland wrote:
2025-09-12, 19:54
I can export bookmarks as HTML and import them as HTML in Linux Pale Moon. But this flattens the folding folder structure I have and possible shortens labels. Can I backup bookmarks to the bookmarkbackups folder and then copy the latest .jsonlz4 file over to the bookmarkbackups folder in the new Linux profile?
You export your bookmarks as HTML and import them as well in HTML, but I export my bookmarks as JSON and import them as JSON. I do not know if they well act the same, but I suspect they should.

As for backing up your bookmarks to the boarkmarksbackups and (to make this short which is yada, yada, yada), in your new Linux profile; I do not know if it will work or not work. Just try it and see what happens.

In my travels in the linux distro world, "trial & error" is a good learning tool.
MX Linux 25 (Xfinity) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 13.1 (Trixie) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
Garland
Moonbather
Moonbather
Posts: 56
Joined: 2023-09-26, 20:39

Re: Windows profile copy to MX Linux?

Post by Garland » 2025-09-12, 20:30

How do you export and import as JSON? If I go to Bookmarks>Organize Bookmarks>Import and Backup>Export Bookmarks to HTML..., I don't get an option to export to JSON -- only to HTML.

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5542
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Windows profile copy to MX Linux?

Post by Night Wing » 2025-09-12, 20:41

Garland wrote:
2025-09-12, 20:30
How do you export and import as JSON? If I go to Bookmarks>Organize Bookmarks>Import and Backup>Export Bookmarks to HTML..., I don't get an option to export to JSON -- only to HTML.
Close, but no cigar. ;)

Bookmarks> Organize Bookmarks>Import and Backup. When the Library window opens up, click on "Backup". When the Backup window opens, look down at the "bottom of the right hand corner of the window" and you will see word "json". And then click on "save" and the backups are saved as a json file.
MX Linux 25 (Xfinity) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 13.1 (Trixie) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38408
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Windows profile copy to MX Linux?

Post by Moonchild » 2025-09-12, 20:55

Garland wrote:
2025-09-12, 19:54
Can I backup bookmarks to the bookmarkbackups folder and then copy the latest .jsonlz4 file over to the bookmarkbackups folder in the new Linux profile?
That might work; it should only contain bookmarks entries. Definitely worth a shot if you can't use PM Sync. History will be lost in that case, but if you only care about bookmarks that should work.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Garland
Moonbather
Moonbather
Posts: 56
Joined: 2023-09-26, 20:39

Re: Windows profile copy to MX Linux?

Post by Garland » 2025-09-12, 23:18

Garland wrote:
2025-09-12, 19:54
Can I backup bookmarks to the bookmarkbackups folder and then copy the latest .jsonlz4 file over to the bookmarkbackups folder in the new Linux profile?
This worked! The nested folder structure was preserved. Copying ublock0.sqlite and ematrix.sqlite to the Linux profile also worked!

I have Pale Moon 33.8.2 in Windows and MX Linux. In Linux, doing a bookmark backup gives a dialog for saving to a JSON file, and no option to save to the bookmarkbackups folder in jsonlz4 format. In Windows, doing a bookmark backup saves to the bookmarkbackups folder in jsonlz4 format, with no option for saving to a JSON file. Wouldn't it be better to offer both options on both platforms to cover various scenarios? As it is, I can't backup the current bookmarks in Linux and restore to Windows.