I have a RPi running raspbian jessie which I use in kiosk mode: I start in
/usr/bin/xinit /opt/domotique/xinitrc > /root/xinitrc-errors 2>&1
date > /tmp/date.txt export DISPLAY=':0' xset s off xset -dpms xset s noblank setxkbmap fr /usr/bin/matchbox-window-manager -use_titlebar no -use_cursor no & # wait for the window manager to start sleep 10 rm -fr /root/.config /root/.cache /usr/bin/firefox http://127.0.0.1:8081/infoscreen/infoscreen.html & # let the browser start sleep 10 /usr/bin/xte 'mousemove 10000 10000' sleep 2 /usr/bin/xdotool key F11 date >> /tmp/date.txt sleep 40000000
The idea is to start a minimal window manager, then firefox and then programatically move the mouse away and press
F11 to go fullscreen.
Everything works fine, except that the
F11 key is not "pressed" - I am left with firefox together with its chrome.
If I ssh to the host and run at the root prompt
export DISPLAY=':0' /usr/bin/xdotool key F11
then firefox is correctly switched to full screen. Same if I use
xte. The control file
/tmp/date.txt has two date lines and there are no errors in
What could be the reason for this strange behaviour?