Sharing Firefox/Thunderbird with Linux/Windows


Recommended Posts

There alredy are many tutorials about the actual installing of linux and how to make it a dual booting system, so this tutorial is not about that. Instead it continues on from there and covers how to setup a common shared partition and have firefox and thunderbird share the same profiles and settings, and email from both platforms.

So you have just installed a flavor of nix you read about, got it dual booted with xp, set up your Internet, email, etc etc. and you start using it. But you still like to use windows as well, you soon realize the pain it is when you find that you have downloaded a bunch of stuff in nix or windows but you can't use or read it from one or the other. You can burn it to cd or copy to thumb drive, and that works for a while. Then you start bookmarking sites you visit, no problem you can export firefox's bookmarks to said cd or thumb drive an re import them to windows but "the pain". Then comes email, well you can set your email client in Linux to not delete email from your provider's server so it is there in windows, but that is a sloppy way of doing things, and i guess there is gmail and the like, but that never really suited me.

Fortunately the folks at mozilla have made these inconveniences an unnecessary experience. However a little fore thought is needed before you setup that dual booting system, or you will have to add another hard drive or edit your existing partitions on an existing dual boot.

First thing to do is to partition your system so that you have a VFAT partition, both windows and linux can read and write to FAT. There are window's drivers that will allow you to read and write to ext2 and ext3 file systems, but writing to ext2 or 3 from windows is not highly recommended, though i have had no issues with it why bother when trusty old FAT is here. So create your partition either when installing nix or create a 32 gig FAT partition from an existing large enough partition that hasn't any valuable data on it yet. then edit your /etc/fstab to include your mount point and permissions. My example is my newly installed PC Linux (nice little distro that installers from a live cd that you can download with nvidia or ati drivers and tonnes of software from apt for rpm). Any way it automatically mounted the FAT partition I keep my mozelle profiles in as C, I think because it is my primary ide drive and i have 2 sata drives the first is actually my C drive in windows, any way it still works and applies for this tutorial, though your system will be different.

fstab9gb.th.jpg

You now have a partition with a file system that both Windows and Linux can read and write to.

profilechanges18rg.th.jpg

mozillaprofiles19ac.th.jpg

Now to share the same profile (bookmarks, themes, extensions, etc) you will need now to copy your \documents and settings\user(usualy your name)\application data\mozilla folder to the new FAT partition and perhaps rename it "Mozilla Profiles" or whatever it realy dosen't matter, the screeny above shows mine, and the folder containing my mozilla profiles,you also need to enable hidden files and folders, from the tools, folder options, view menu .

Now back to your origional \documents and settings\user(usualy your name)\application data\mozilla folder and open it, you will see your firefox folder, open it and you will see your profile.ini file. you need to edit it to point to the new location where you have your profile. So open it and change the line to include the new directory path in my case I have tto change the line,

"Path=56fqcw6x.default" to "Path=F:\mozilla Profiles\firefox\56fqcw6x.default" and the line "IsRelative=1" to "IsRelative=0"

mozillaorg27fv.th.jpg

Now when I open Firefox when in Windows it will use the profile that is in my F:\mozilla Profiles\firefox\56fqcw6x rather than the default location in my application data folder.

Now boot into Linux and again enable "show hidden files and folders" from your home folder go to view, show hidden files and folders. (this is similar in gnome however I am not as familiar with gnome)

From your home folder open your .mozilla folder, then the firefox folder and edit the profile.ini folder in the same maner as you did in windows, to point to the same profile in your FAT partition. You may find it easier to browse to the location using konqueror and copy the location from the top of the window.

profilechanges18rg.th.jpg

profilechanges1bt.th.jpg

When you run Firefox from Linux you will have the same bookmarks, extensions, themes, etc. however one small point, as the directories for downloading will be different in windows and linux I find it better to simply set downloads so that I am prompted each time as to where I download them to, or you can have firefox in one os to download to the partition and folder of your choice, and the other to the desktop. This is a small price to pay IMO.

Next is email, thunderbird can be setup to use the same email inbox in one easy step. first we will do windows. Simply go back to your FAT partition and create a folder and in my case i call it mail, you can se it in the second last screenshot above. Now run thunderbird and click on the tools menu and select "account settings" then "server settings" near the bottom you will see the path to the folder where email is stored and a browse button you can use to change this to another directory. The screen shots are from linux however it is the same in windows except the menu is in tools rather than edit,

thunderbirdsetup4ip.th.jpg

thunderbirdsetup17dx.th.jpg

thunderbirdsetup23qz.th.jpg

thunderbirdsetup39no.th.jpg

Now copy your \documents and settings\user\application data\thunderbird folder to the folder you have the mozilla profiles in in your FAT partition and edit the profile.ini file in your \documents and settings\user\application data\thunderbird folder to point to it, the same way you edited your firefox profile.ini file and again all your extensions, themes and addressbook will be the same accross both platforms. Also note the directory path is differnt in the thunderbird shots because they are from my SUSE install not the pclinux install.

I hope new dual booters will find this usefull. There are other apps that are on both patforms that can also be edited in this way, however I felt that email and web browsing were the two most important to anyone dual booting. :cool:

Update, new drivers for reading and writing to ntfs may in the near future make the necesity of a vfat partition obsolete. However to date this driver is for 32 bit usage only. There is also a windows driver that will allow you to read and write to ext2 and 3 partitions and it works quite well, ext22 and 3 are of course already supported in linux has all here know.

ntfs from linux

http://sourceforge.net/mailarchive/forum.p...p;forum_id=2697

ext2 and 3 from windows

http://www.fs-driver.org/

Edited by betamaxman

This is a great guide for those wanting to share their Firefox/Thunderbird accounts whether in Windows or Linux, but perhaps the thread title should be changed to reflect that point? :ermm:

Also, a question: When updating Firefox or Thunderbird, is it possible to have problems with the application data being potentially updated, then when you reboot into your other OS have issues? If so, then you might want to consider backing up your data before updating.

Actually, backing up should be a regular part of every good user's computing practice - however, I am a bit out-of-date myself, and I am sure others are, too.

  markjensen said:

This is a great guide for those wanting to share their Firefox/Thunderbird accounts whether in Windows or Linux, but perhaps the thread title should be changed to reflect that point? :ermm:

Also, a question: When updating Firefox or Thunderbird, is it possible to have problems with the application data being potentially updated, then when you reboot into your other OS have issues? If so, then you might want to consider backing up your data before updating.

Actually, backing up should be a regular part of every good user's computing practice - however, I am a bit out-of-date myself, and I am sure others are, too.

There is always a potential for extensions problems when updating firefox and thunderbird, though themes usualy give me the most problems so i avoid them. However both firefox and thunderbird are almost flawless now at shutting down problematic themes or extensions. And on the second point. Agreed. :cool:

I have been doing this for almost 2 years now and have little issues with it, currently my profiles are shared between 3 flavors of linux and xp and vista. The screen shots however are xp, ubuntu was for some reason a bit reluctent to except the profile but settled down, not sure what the issue was though but it dissapeared quickly enough.

It is great to bookmark a page in one os and find it right where you put it when booted into any of my other OSs. I gotta stop doing this though it is like I am collecting operating systems or something.

You can also share email between 2 or more operating systems by simply doing the folder path step as shown in the screen shots, and not share extensions and such. Might also be a better way fore some.

Also just editing the profile.ini will work and email will be stored in the profile folder on the shared partition. So in other words there are actualy two ways to setup thuderbird. I do both as I have been doing the first step alone for two years now and have a bit of email in the mail folder, and only recently have been sharing extensions as well.

Edited by betamaxman
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Malwarebytes 5.3.6.205 by Razvan Serea Malwarebytes is a high performance anti-malware application that thoroughly removes even the most advanced malware and spyware. Malwarebytes version 5.xx brings comprehensive protection against today’s threat landscape so that you can finally replace your traditional antivirus. You can finally replace your traditional antivirus, thanks to a innovative and layered approach to prevent malware infections using a healthy combination of proactive and signature-less technologies. While signatures are still effective against threats like potentially unwanted programs, the majority of malware detection events already come from signature-less technologies like Malwarebytes Anti-Exploit and Malwarebytes Anti-Ransomware; that trend will only continue to grow. For many of you, this is something you already know, since over 50% of the users already run Malwarebytes as their sole security software, without any third-party antivirus. What's new in Malwarebytes 5.xx: Unified user experience - For the first time, Malwarebytes now provides a consistent experience across all of our desktop and mobile products courtesy of an all new and reimagined user experience powered by a faster and more responsive UI all managed through an intuitive dashboard. Modern security and privacy integrations - Antivirus and ultra-fast VPN come together seamlessly in one easy-to-use solution. Whether you’re looking for a next-gen VPN to secure your online activity, or harnessing the power of Browser Guard to block ad trackers and scam sites, taking charge of your privacy is simple. Trusted Advisor - Empowers you with real-time insights, easy-to-read protection score and expert guidance that puts you in control over your security and privacy. Malwarebytes 5.3.6.205 changelog: Improved the onboarding experience with minor usability enhancements. Updated My subscription page design for better clarity. Added text explaining Scan notifications settings in Notifications page. Updated firewall filtering profile colors in Windows Firewall Control feature for Windows 11 users. Fixed minor UI issues with Windows Firewall Control feature for Windows 11 users. Fixed various localization and usability glitches. Download: Malwarebytes 5.3.6.205 | 403.0 MB (Free, paid upgrade available) Links: Malwarebytes Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • https://shop.royalmail.com/special-stamp-issues/monty-python
    • Microsoft disables a key graphics feature in Edge by Paul Hill Microsoft has released its new security baseline for its Edge browser version 139, it includes the addition of one setting and the removal of one other. For those that are unaware, these security baselines allow admins to set an organization’s Edge browser settings to the default that Microsoft recommends at any one time. You can download the new package from the Security Compliance Toolkit. With this update, the company is enforcing the default to disable the EnableUnsafeSwiftShader policy. This will help to mitigate potential risks as malicious web content could exploit vulnerabilities in the renderer. SwiftShader is a software-based renderer that serves as a fallback for WebGL in environments without GPU acceleration, such as virtual machines. With Microsoft’s disabling of it, it seems as though this compatibility tool is now seen as a liability. The disabled SwiftShader was the most relevant in virtual machines which are widely used in enterprises, so this change poses the risk of causing a bit of disruption. While the move is a good one for security, those who it affects may want to deviate away from Microsoft’s security baselines. The security baseline announcement also mentions a new Edge for Business security connectors feature which is designed to integrate the browser with security software for DLP and authentication. Microsoft said that these connectors can close critical gaps in enterprise security. You can learn more on the feature’s landing page. Microsoft doesn’t seem to have made the change to SwiftShader due to existing vulnerabilities, instead the move seems to be a proactive security improvement. If you rely on it with your virtual machines, feel free to deviate away from Microsoft’s security baseline, but understand you’re no longer following the company’s security advice.
    • Edge 139 is out with big performance boost, password improvements, and more by Taras Buria Microsoft has released Edge 139 to all users in the Stable Channel. The latest version (139.0.3405.86) introduces some notable changes to the browser, performance improvements, and bug fixes. It also removes some of the existing features, as Microsoft strives to streamline the browser and its features. Microsoft Edge 139 brings a reworked Settings section, which is now built with WebUI2. This enables significant improvements in performance and responsiveness, which Microsoft recently detailed in a blog post. Additionally, Microsoft optimized Settings for a more cohesive user experience by simplifying the number of pages and reorganizing various options. Though it also disables an important graphics feature with this update. Wallet in Settings is discontinued. It now redirects users to the new "Passwords, Payment, and Personal Information" experience in settings. Speaking of passwords, the built-in password manager now has real-time notifications for compromised passwords. If one of your passwords is found in a known data breach, Edge will prompt you to take immediate action and create a new password. Other changes in Edge 139 include the following: Open external links in another profile when recommended by external applications. When Microsoft Edge is set as the default browser to open external links from applications, Microsoft Edge must determine which profile to open the links. Introducing a new policy that can enable/disable Microsoft 365 Copilot Chat in Edge for Business from showing in the toolbar. Edge for Business now has a dedicated policy, Microsoft365CopilotChatIconEnabled, to enable and disable Copilot in Edge from showing in the Edge toolbar. New Autofill Personal Information Settings Configuration. A web form field collection consent toggle will be available in Autofill settings (edge://settings/autofill/personalInfo). This allows users to consent to Microsoft Edge collecting web form field labels (e.g., "First Name," "Email") to improve Autofill suggestion accuracy. Web AI APIs for prompt and writing assistance. Microsoft Edge now implements the Writing Assistance APIs and the Prompt API (for Edge extensions) with a local language model, Phi-4-mini, that is built into the browser. These easy-to-use JavaScript APIs are made available via Edge flags (set to Enabled, by default only for the Summarizer and Prompt API for extensions) so that sites and extensions can apply AI capabilities on the web. Enhancements to Performance and Secure network. Browser essentials is now separated into two distinct experiences (Performance and Secure Network) - both available from the Settings and more menu (“…” on the menu bar). Reset Microsoft Edge enterprise sync. For users having problems syncing browsing data across other signed-in devices, they can reset sync data from the Microsoft servers via Edge Settings edge://settings/profiles/sync/reset. Update to Microsoft AutoUpdate policy. The MAUEnabled policy allowed admins to continue using Microsoft AutoUpdate on macOS. Finally, Edge 139 contains eight security fixes for vulnerabilities originating from Chromium. Microsoft also published a security guideline with details about a key graphics feature, which is now disabled. You can update to Microsoft Edge 139 by heading to edge://settings/help. By the way, if you uninstalled the browser and do not know how to get it back, check out this guide.
  • Recent Achievements

    • One Month Later
      chiptuning earned a badge
      One Month Later
    • Week One Done
      harveycoleman123 earned a badge
      Week One Done
    • First Post
      EzraNougat earned a badge
      First Post
    • One Month Later
      westDvina earned a badge
      One Month Later
    • Community Regular
      Bern@rd went up a rank
      Community Regular
  • Popular Contributors

    1. 1
      +primortal
      667
    2. 2
      +FloatingFatMan
      196
    3. 3
      ATLien_0
      154
    4. 4
      Xenon
      132
    5. 5
      wakjak
      102
  • Tell a friend

    Love Neowin? Tell a friend!