Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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
Read this answer in context 👍 0

All Replies (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!