This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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 replies
  • 1 has this problem
  • 13 views
  • Last reply by 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!

Chosen solution

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

Chosen Solution

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!