I have a problem.
My goal is that the browser will automatically start up in fullscreenmode and don't go to screensaver mode when I reboot the Pi.
The Pi OS: Raspbian Jessie Version: September 2016 Kernel Version: 4.4
I already tried with:
Adding:
@/usr/bin/chromium --kiosk --ignore-certificate-errors --disable-restore-session-state "http://www.domain.com"
to the end of ~/.config/lxsession/LXDE-pi/autostart
and
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
@chromium –kiosk http://www.domain.com
@xset s noblank
@xset s off
@xset –dpms
But nothing worked. And everything I found doesn't work :(
Can someone help me pls.
To make Chromium launch full screen you just need to add --kiosk or use xautomation to send F11. Careful : with this solution, the desktop can be disabled. To keep the desktop on background, you are probably using NOOBs, so you may need to use the LXDE-pi folder : sudo nano /etc/xdg/lxsession/LXDE-pi/autostart.
Okay I fixed it like this now:
sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
@xset s noblank
@xset s off
@xset –dpms
@chromium-browser --incognito --kiosk http://www.domain.com
and it works. The funnyest thing is: I tried this allready but then it didn't work. xD
cp /etc/xdg/lxsession/LXDE-pi/autostart /home/pi/.config/lxsession/LXDE-pi/autostart
sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
Edit it as
#@xscreensaver -no-splash # comment this line out to disable screensaver
@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --incognito --kiosk http://localhost/
Then, reboot it.
sudo reboot
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With