firefox line - starts firefox with url and detaches from terminal ("&"). "&" is required, otherwise following script won't execute while firefox exits.
xdotool line searches window with partial name "Firefox" (partial name of running app window can be determinated by xwininfo), activates firefox window, sends key F11 to Firefox.
This code is bit better than YumYumYum's solution (sending key only when firefox actualy started. sleep is not really usable approach, cause can miss firefox on slow/overloaded computers or too late on fast computers)
Many useful plugins mentioned in other answers, but not many that work on Firefox 57 (Quantum). If you're stuck, try ForceFull. For bonus points, it goes fullscreen instantly on startup by default. No config necessary to get that behavior.
Real Kiosk is a Firefox extension that defaults to full screen, disables all menus, toolbars, key commands and right button menus. Alt+Home still takes you home.
I cannot install xdotools, and for me, starting firefox in kiosk mode alone did not open it in fullscreen and still showed bars and the list of open tabs.
firefox -kiosk -private-window [URL]
does the trick for me, it shows the website I enter in fullscreen mode.
Even though I was starting firefox in kiosk mode, I sometimes received a firefox popup on the things that were updated (new colortheme etc). Launching firefox with the flag --new-window helped me avoid these messages:
on Linux (works on debian jessie):
firefox line - starts firefox with url and detaches from terminal ("&"). "&" is required, otherwise following script won't execute while firefox exits.
xdotool line searches window with partial name "Firefox" (partial name of running app window can be determinated by xwininfo), activates firefox window, sends key F11 to Firefox.
This code is bit better than YumYumYum's solution (sending key only when firefox actualy started. sleep is not really usable approach, cause can miss firefox on slow/overloaded computers or too late on fast computers)
sorry for late answer (missed 6 years)
Create a new profile by running:
Run firefox with the new profile, move to full screen using F11 and then close it by alt + f4
Each time you will use this profile it will be opened in full screen.
Many useful plugins mentioned in other answers, but not many that work on Firefox 57 (Quantum). If you're stuck, try ForceFull. For bonus points, it goes fullscreen instantly on startup by default. No config necessary to get that behavior.
Command Line
Firefox command line option
-fullscreen
didn't work for me:Extension
But the use of R-kiosk 0.9.0 extension by Kimmo Heinaaro works like a charm.
Also you can try to use the following command:
firefox -kiosk 'http://your.url'
https://support.mozilla.org/en-US/kb/firefox-enterprise-kiosk-mode
If you're using firefox 3 you can use this extension. It allows fullscreen on start. Tons of others do as well, see here.
I'm not aware of a command-line switch though.
Full-screen me dad!
You may try R-KIOSK with work really good.
I used the useful solution of @Zero in Raspberry PI 3b.
It works well, but sometimes the Firefox is not "ready" to receive the F11 keypress event.
Then I did a little change: a delay before Window activation and F11 key press:
I cannot install
xdotools
, and for me, starting firefox in kiosk mode alone did not open it in fullscreen and still showed bars and the list of open tabs.does the trick for me, it shows the website I enter in fullscreen mode. Even though I was starting firefox in kiosk mode, I sometimes received a firefox popup on the things that were updated (new colortheme etc). Launching firefox with the flag
--new-window
helped me avoid these messages:Tested with Mozilla Firefox 103.0.1.