Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

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

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od 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!

Wybrane rozwiązanie

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
Przeczytaj tę odpowiedź w całym kontekście 👍 0

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

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!