Fayaz Fayaz - 4 months ago 28
Linux Question

Auto start up midori browser is not working on Raspberry pi

I am trying to start browser in Raspberry Pi, on boot. These are the steps I've followed so far:


  1. I have edited the
    .bashrc
    file from the root folder using this command:




sudo nano /home/pi/.bashrc



  1. Added the following line at the end the file.




midori -e Fullscreen -a http://www.google.com



  1. I restarted Raspberry Pi.




sudo reboot


It does not open the browser, on boot. How ever if I manually click on Terminal, it opens the browser.

Answer

I got the solution .

In new versions it is not supporting in this autostart file

sudo nano /etc/xdg/lxsession/LXDE/autostart

I changed the code to the below autostart file.

sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Comments