pepiho
Posts: 4
Joined: Tue Mar 15, 2016 3:09 pm

browser

Tue Mar 15, 2016 3:25 pm

I have PI3 with latest Raspbian Jessie connected to my wifi network.
After start Raspbian i install KWEB and next i write to terminal : kweb -JFK www.my_site.xxx
Web browser is openned on full screen mode and all function well.
My problem: i need to start this "kweb -JFK www.my_site.xxx" afret start Raspbian.
I try write this row to last position file /etc/xdg/lxsession/LXDE-pi/autorun but never start this ....
Please, help my with systax to start this browser.
PS sorry to my english ......

gkreidl
Posts: 6335
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: browser

Tue Mar 15, 2016 4:07 pm

pepiho wrote:I have PI3 with latest Raspbian Jessie connected to my wifi network.
After start Raspbian i install KWEB and next i write to terminal : kweb -JFK http://www.my_site.xxx
Web browser is openned on full screen mode and all function well.
My problem: i need to start this "kweb -JFK http://www.my_site.xxx" afret start Raspbian.
I try write this row to last position file /etc/xdg/lxsession/LXDE-pi/autorun but never start this ....
Please, help my with systax to start this browser.
PS sorry to my english ......
Read the manual. It contains examples. There's one little difference, though, on Jessie: you have to add a
sleep 10
(maybe even a higher value)
to rc.local, before the line starting with xinit.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: browser

Tue Mar 15, 2016 4:25 pm

pepiho wrote: My problem: i need to start this "kweb -JFK http://www.my_site.xxx" afret start Raspbian.
I try write this row to last position file /etc/xdg/lxsession/LXDE-pi/autorun but never start this ....
"/etc/xdg/lxsession/LXDE-pi/autorun" is the wrong location, and the wrong file name.

Add the line to the users autostart file

Code: Select all

nano ~/.config/lxsession/LXDE-pi/autostart

pepiho
Posts: 4
Joined: Tue Mar 15, 2016 3:09 pm

Re: browser

Tue Mar 15, 2016 5:56 pm

JimmyN thanks, function perfect.
Petr.

pepiho
Posts: 4
Joined: Tue Mar 15, 2016 3:09 pm

Re: browser

Thu Mar 17, 2016 8:40 am

I added this line to autostart and works well if I am connected to the LAN. If I connect to wifi, the browser is started before connecting.
It is possible to add autostart "wait to connection"?
Thank you very much.

pepiho
Posts: 4
Joined: Tue Mar 15, 2016 3:09 pm

Re: browser

Fri Mar 18, 2016 6:25 am

... pls , help me...

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: browser

Fri Mar 18, 2016 11:51 am

Using the autostart file it doesn't start the browser until the desktop comes up, and the network should be up by then. Maybe yours is slow to connect. Try using the raspi-config "Wait for Network at Boot" option.

Code: Select all

sudo raspi-config

Return to “Troubleshooting”