-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 ?

  • there is not folder called lxsession inside the .config folder ... what is preventing you from creating the folder? – jsotola Jun 11 '19 at 17:40
  • The methods you are trying are not to start a script on startup. They are used to start a script at login. What do you want to do? – Ingo Mar 08 '20 at 09:21

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
  • 59,890
  • 31
  • 101
  • 209