搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Porting Thunderbird from Windows to Linux

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 dshein1

more options

Any insight or solutions will be gratefully received.

Trying to move my Thunderbird activity from Windows to Ubuntu 21.04 and can't seem to migrate my existing Thunderbird data over there. Here's what has been done so far:

Installed Thunderbird on the Linux machine. Copied the Thunderbird directory and subdirectories to a thumb drive. Attached the thumb drive to the Linux machine. Copied the Thunderbird directory over the existing one, merging and replacing everything. Started Thunderbird. It presents as an empty, i.e., new installation. None of the old files appear in the folder pane, and under Troubleshooting/Profile it indicates that it is still using the default profile from the installation. It does not seem to be aware of the one that was imported.

Can anyone shed light on what is happening and, more importantly, how to fix it?

Any insight or solutions will be gratefully received. Trying to move my Thunderbird activity from Windows to Ubuntu 21.04 and can't seem to migrate my existing Thunderbird data over there. Here's what has been done so far: Installed Thunderbird on the Linux machine. Copied the Thunderbird directory and subdirectories to a thumb drive. Attached the thumb drive to the Linux machine. Copied the Thunderbird directory over the existing one, merging and replacing everything. Started Thunderbird. It presents as an empty, i.e., new installation. None of the old files appear in the folder pane, and under Troubleshooting/Profile it indicates that it is still using the default profile from the installation. It does not seem to be aware of the one that was imported. Can anyone shed light on what is happening and, more importantly, how to fix it?

所有回覆 (4)

more options

First, try to have the same version installed on both computers. Copy the profile folder from the Windows PC onto a thumb drive. Help/Troubleshooting, Profile Folder, Open Folder to open the profile folder. On the Linux computer, Help/Troubleshooting, Profile Folder, Open Directory, to open the current, active profile. Close TB, delete the contents of this folder (not the folder itself), and copy in the contents (not the folder) of the profile folder on the thumb drive. Delete pkcs11.txt so the saved logins are read on the Linux computer (the file is recreated on restart). Launch TB on Linux, and you should see all your data. You may have to change things like the default apps for opening attachments (or delete handlers.json from the profile to reset the settings).

more options

Very helpful, and thanks!

99% of the way there—everything but the last sentence concerning default apps and handlers.json.  Can you expand a bit on what those do; particularly handlers.json and the effect of deleting it?  Thunderbird now starts and as far as I can see looks absolutely normal.
more options

Edit/Preferences/General/Files & Attachments (TB 91) shows the apps that are defined to open different types of attachments. If you have Windows apps defined there to open e.g. jpg files, those associations probably don't apply in Linux. Deleting handlers.json removes all the entries, and you can re-define them by opening attachments on the Linux computer.

more options

Interesting. Ubuntu and Libre Office are evidently very smart. I did not delete handlers.json, and attachments open correctly anyway—at least for .jpg, .docx and .pdf; only ones I've tried so far. I'll file a mental note so If I hit snags further on I'll remember to go back and revisit this.

Thanks again for the assistance clearing this roadblock.