-1

Actually I have went through this stack answer and followed the 3rd Type for running the script on startup, and It works like a charm for previous version of NOOBS. Today I downloaded the latest zip file

NOOBS OS Version 
Version:3.0.1
Release date:2019-04-08

I tried to put my scripts inside my ~/.config/lxsession/LXDE-pi path but unfortunately there is not folder called lxsession inside the .config folder

enter image description here

when using .bashrc method enter image description here bashrc method runs the script while opening new terminal like that.

Is there any solution to run my python script after startup ?

1 Answers1

0

NOOBS is not an OS

The link you listed is for an obsolete OS, and has no relevance the current Raspbian GUI or to Linux systemd.

You need to list your script to get a definitive answer, it depends on what it does.

https://www.raspberrypi.org/documentation/linux/usage/systemd.md shows how to start a general (non GUI) script.

Milliways
  • 62,573
  • 32
  • 113
  • 225