and then make a openbox config file with

Code: Select all
mkdir -p ~/.config/openbox && cp /etc/xdg/openbox/* ~/.config/openbox

Then edit the autostart to openthe browser at boot

Code: Select all
nano ~/.config/openbox/autostart

remove all the code and past this in:

Code: Select all
# Autostart script
#will sleep to make sure everything else loads
sleep 5s && midori –inactivity-reset=120 -e Fullscreen –app=/PATH/TO/HOMEPAGE/FILE.html

that will make it run with fewer options auto resetting after 2 minutes inactivity
echo „Something Useful“ > /dev/null

.bashrc
sleep 1
rm /home/pi/.config/midori/config
cp /home/pi/sap/CustomAuthKlipFolio/config /home/pi/.config/midori/
sleep 2
midori -e Fullscreen

[settings]
default-encoding=ISO-8859-1
javascript-can-open-windows-automatically=true
enable-universal-access-from-file-uris=true
enable-site-specific-quirks=true
last-window-width=636
last-window-height=429
last-panel-page=2
load-on-startup=MIDORI_STARTUP_HOMEPAGE
homepage=file:home/pi/sap/CustomAuthKlipFolio/index.html
location-entry-search=https://duckduckgo.com/?q=%s&t=raspberrypi
enable-html5-database=true
proxy-type=MIDORI_PROXY_NONE
identify-as=MIDORI_IDENT_FIREFOX
user-agent=Mozilla/5.0 (X11; Linux; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Midori/0.4
Fullscreen=true

unclutter paslepia cursoriu