Datacom1
Posts: 2
Joined: Mon Jul 30, 2018 3:29 am

Re: Auto open browser on boot

Mon Dec 10, 2018 9:53 pm

Super Nathan, open box is exactly what I was looking for.

ricardoaraujo00
Posts: 3
Joined: Tue Dec 10, 2019 5:47 pm

Re: Auto open browser on boot

Thu Jul 02, 2020 9:01 am

You just have to edit this file
sudo nano .config/lxsession/LXDE-pi/autostart

Add this command to run a script (in this example is called shboot.sh)

@lxterminal -e /home/pi/shboot.sh

Inside that script(shboot.sh) put what you want and make it executable with "sudo chmod 755 filename"
I put those kind of scripts(shboot.sh) in my home folder..

Now it will run on LXDE desktop startup

Return to “Beginners”