Share Netscape between Linux and Windows
Warning, information here are for the 4.75 version of Netscape. Files could slightly differs from one version to another.
Introduction
You should, after the reading of the page relative to windows cohabitation, have installed your Netscape user directory on the data partition. You can choose this location during the first launch of Netscape under Windows, when creating a new user profile.
We will store all data here, and link the ~user/.nestcape directory under Linux to this location on the FAT16 partition. You will so be able to access your mail, bookmarks and address book under Linux or Windows without problems.
Have the same bookmarks
You just have to edit the file ~user/.netscape/preferences.js and modify the line user_pref(“browser.bookmark_file”, “[path to the data partition]/bookmark.htm”);
If, like me, you prefer Internet Explorer, please see my page about the BkmToolbar
Have the same address book
You just have to delete the ~user/.netscape/pab.na2 file, and to link this file with the one on your data partition. In your Linux ~user/.netscape directory, type :
ln -s [path to the Netscape Home directory on you data partition]/pab.na2 pab.na2
Have the same filter rules
You just have to delete the ~user/.netscape/mailrule file, and to link this file with the one on your data partition. In your Linux ~user/.netscape directory, type :
ln -s [path to the Nescape Home directory on your data partition]/mailrule mailrule
Have the same mailbox
You have two different means to do that :
- Enter the data partition path in Edit->Preferences->Mail->Mail Servers->Local MailDirectory
- Link each directory.
I made a little script that implements the second method and update all the directories of your mailbox on the Linux partition (your mailbox is not modified). Just modify the vars DEFSOURCE
and DEFTARGET
in the script, and execute it : ./updatemail
(after having typed chmod +x updatemail)