I'm trying to run Firefox in kiosk mode.
Here, how to point the browser to a webpage?
Example - for Chromium we use this-
@chromium-browser --kiosk http://google.com/
firefox --help seems to give this option:
--kiosk Start the browser in kiosk mode.
I have tried with
firefox --kiosk https://www.ghacks.net/2019/10/07/firefox-71-new-kiosk-mode-for-the-browser/, alas, this is only from version 71 up, that will take some time to land in ESR/IceWeasel.
So, unfortunately, there doesn't seem to be an easy way to do that, currently.
It is possible to run Firefox in kiosk mode on RPi. You’ll need a small hack to emulate hitting the F11 key though.
sudo apt install firefox-esr
Then you’ll need to install
xdotool, which is a tool to do fake keyboard input, among others.
sudo apt install xdotool
Then, in your autostart file you add the following:
firefox -kiosk -private-window "http://localhost/" &
xdotool search --sync --onlyvisible --name firefox key F11
This will launch Firefox with the desired URL. Then, after ten seconds (you might need a bit more if it takes a longer time to start Firefox)
xdotool will set focus to Firefox and hit the F11 key. The
& behind the URL is essential.
You can install
firefox-esr on RPi now
sudo apt-get install firefox-esr -y
and you can run it in kiosk mode - at least from the browser (F11)
/[install directory]/firefox -kiosk -private-window [target URL] should do it but I've not been able to make that work right now