I am running Raspbian, and I am trying to setup a "kiosk mode" box. I have successfully done this with midori, but midori does not support html5. so I wanted to try the new beta "web browser" (seems to run epiphany-browser).
my current setup is like this: /etc/xdg/lxsession/LXDE/autostart
:
@xset s off
@xset -dpms
@xset s noblank
@midori -e Fullscreen -a http://www.playr.biz/23612/15122
this new web browser is discussed here
but when I look at the manpage, it does not say much about CLI options.
man epiphany-browser
so, my question is: how can I start the epiphany-browser in full screen mode, and start a specific URL like I have done with midori above? (if possible at all).
update: I followed advice and I tried the following in file /etc/xdg/lxsession/LXDE/autostart
@epiphany-browser http://www.playr.biz/5dd1/1ddd5
@sleep 2s
@echo key F11 | xte
but it did not make it full screen, so I tried to run xte manually, but got an error " Unable to open display 'default'"
so, I did two things, I changed the file /etc/lightdm/lightdm.conf
and I looked for this line:
xserver-command=X -s 0 dpms
then I changed it to:
xserver-command=X -s 0 dpms :0
to define the display/screen as :0 (localhost number 0)
now, if I run this
echo key F11 | xte -x:0
the screen goes full screen.
but, when I update the /etc/xdg/lxsession/LXDE/autostart
like this:
@epiphany-browser http://www.playr.biz/5ddd/1dddd
@sleep 60s
@echo key F11 | xte -x:0
PS: I tried 2s, 10s, 60s and 120s, but that did not help.
So I guess the @sleep 60s might not work.