Sunday, March 4, 2007

更改firefox配置文件和bookmark的位置

由于装了powershadow,每次更改firefox设置都无法保存,因此需要更改firefox配置文件和书签的位置。
profile的默认位置是:C:\Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\\
修改目录中的profile.ini文件,(从网上摘引)
1. Create a new, empty folder in the desired profile location with the name you wish to use for the new profile, for example, D:\Mozilla\Firefox\Profiles\newprofile
2. Copy the entire contents of the Firefox or Thunderbird profile folder you are moving into the new profile folder you just created.
3. If you do the copy via a CD, remove the write-protection from the copied files.
4. Find the Firefox or Thunderbird profiles.ini file (it will be located in the Firefox or Thunderbird default profile folder path) and open it in a text editor.
○ (Optional) Change the "Name=" line to the name of the new profile folder you created, e.g., Name=newprofile
○ Change "IsRelative=1" to "IsRelative=0"
○ Change the "Path=" line to the actual location of the new profile folder, e.g., Path=D:\Mozilla\Firefox\Profiles\newprofile.
5. If you are moving a profile from its default location, the original profile folder can now be removed.
6. Open Firefox or Thunderbird, to test if the profile move was successful.
我将配置文件放在D:\firefox\profiles目录

修改书签的位置:
打开firefox,地址栏输入about:config
右键新建一个字符串,名为 browser.bookmarks.file
然后输入字串值为“新路径名\书签文件名”即可。比如 D:\My bookmarks\bookmarks.html
我把书签放在D:\firefox\bookmarks目录

存在的问题:
FEBE所备份的书签位置还是默认的位置,因此书签无法更新备份。

No comments: