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!

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

Problem with `--search` command line option

  • 2 پاسخ
  • 1 has this problem
  • 1 view
  • آخرین پاسخ توسّط dakota.peck

more options

I often launch Firefox from the command line and make heavy use of the `--search` option. Recently, the `--search` option has only been working when a Firefox window is already open. Basically, when there's already a Firefox window open, `--search` works exactly as expected, but when there's not a window open, Firefox ignores the `--search` command and opens my homepage instead.

I'm using Firefox 67.0 on Fedora 29. Any help is greatly appreciated!

I often launch Firefox from the command line and make heavy use of the `--search` option. Recently, the `--search` option has only been working when a Firefox window is already open. Basically, when there's already a Firefox window open, `--search` works exactly as expected, but when there's not a window open, Firefox ignores the `--search` command and opens my homepage instead. I'm using Firefox 67.0 on Fedora 29. Any help is greatly appreciated!

All Replies (2)

more options

Do you see error messages in the console if you use that to do the search? Does it help if you specify the profile as well via -P profile ?

more options

I tried `firefox --search "test"` and `firefox -P default --search "test"` in a console just now. Both opened my homepage without searching, and neither produced any console output.