Open Firefox in fullscreen mode from comand line?
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)
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.
Изменено
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)
other options I also found: http://askubuntu.com/questions/36287/how-to-start-firefox-in-fullscreen-m...
This is the problem, only "-fullscreen" never works...