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!

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Problem with `--search` command line option

  • 2 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av 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!

Alla svar (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.