We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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!