为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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...