-
sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
-
And paste this :
@xset s noblank
@xset s off
@xset –dpms
@chromium-browser --incognito --kiosk http://reservasi.lp.if.its.ac.id
- If want auto refresh, add this :
@nohup /home/pi/Desktop/reservasi/run.sh & </dev/null
- run.sh
#!/bin/bash
while true
do
bash /home/pi/Desktop/reservasi/refresh.sh
sleep 60
done
- refresh.sh
WID=$(xdotool search --onlyvisible --class chromium|head -1)
xdotool windowactivate ${WID}
xdotool key ctrl+F5
- sudo raspi-config
- Internationalization options
- Change Time Zone
- Select geographical area
- Select city or region.
- Reboot your pi.