搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Open Firefox in fullscreen mode from comand line?

  • 5 回覆
  • 5 有這個問題
  • 8 次檢視
  • 最近回覆由 lili_2014

more options

I want to open firefox from the comand line in fullscreen mode. Is their any way like in Google Chrome to add a --kiosk, or anything like that?

Here is my command: /usr/bin/firefox -foreground -new-window www.google.com

I don't want to install any add-ons or things like that, because these command should work also on other pcs.

I want to open firefox from the comand line in fullscreen mode. Is their any way like in Google Chrome to add a --kiosk, or anything like that? Here is my command: /usr/bin/firefox -foreground -new-window www.google.com I don't want to install any add-ons or things like that, because these command should work also on other pcs.

所有回覆 (5)

more options

Hi, It looks like you have a linux x11, do these commands apply to you? I am not sure how Display works, but this may be a good place to start https://developer.mozilla.org/en-US/d.../Command_Line_Options#X11_options

And if it does not exist already, there is also a suggestion to make this a preference: https://support.mozilla.org/en-US/que.../1009174

more options

Thank you for your help. Yes I'm working on a Linux x11, but i also had this problem on windows 7. For now I'm working with -chrome and set the height and the width based on java variables witch i read out. This is not a very clean solution, but the only i have at this time.

由 lili_2014 於 修改

more options

Should be the same situation. "C:/Program Files (x86)/Mozilla Firefox/firefox.exe" -url "https://.." -fullscreen (I am not sure if that fullscreen preference will always work)

more options
more options

This is the problem, only "-fullscreen" never works...