Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem
Arhivirano

Open Firefox in fullscreen mode from comand line?

lili_2014 odgovorjeno
lili_2014

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.

Vsi odgovori (5)

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

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.

Spremenil lili_2014

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)

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