Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

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.