搜尋 Mozilla 技術支援網站

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

了解更多

How to create a Firefox 3 profile from the command line?

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 pisymbol

more options

I would like to create a new profile under a FreeBSD 7.2-amd64 machine using Firefox 3.5 under the CONSOLE.

When I type:

firefox3 -CreateProfile "foobar" Error: no display specified

Is there NO way to create a profile without having a viable display set? What I don't understand is why does Firefox care about a display if I am just creating a profile? Is there any work around?

Again I want to create the ~/.mozilla/firefox/<profile> without a display (this is for unattended install, after firefox3 gets added, I want to create a custom profile, add extensions, etc. etc.).

Thanks!

I would like to create a new profile under a FreeBSD 7.2-amd64 machine using Firefox 3.5 under the CONSOLE. When I type: firefox3 -CreateProfile "foobar" Error: no display specified Is there NO way to create a profile without having a viable display set? What I don't understand is why does Firefox care about a display if I am just creating a profile? Is there any work around? Again I want to create the ~/.mozilla/firefox/<profile> without a display (this is for unattended install, after firefox3 gets added, I want to create a custom profile, add extensions, etc. etc.). Thanks!

被選擇的解決方法

That script may not support command line parameters

This works for me with the official release.

#!/bin/sh

cd /usr/local/firefox-NI
./firefox -CreateProfile foobar
從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

That script may not support command line parameters

This works for me with the official release.

#!/bin/sh

cd /usr/local/firefox-NI
./firefox -CreateProfile foobar
more options

What version? I am using a slightly older version of Firefox, 3.0.10. I assume this was a bug in an older release (I will search around Bugzilla).

Thanks!