X
點擊此處開啟此網站的行動版。

技術支援討論區

Problem with `--search` command line option

已張貼

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!
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 32.0 r0

應用程式

  • User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

更多資訊

cor-el
  • Top 10 Contributor
  • Moderator
17267 個解決方法 156055 個答案

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 ?

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 <b>-P profile</b> ?
這篇文章有幫助嗎?
引用

提出問題者

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.

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.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題