Run any Program in Raspberry Pi at Startup Automatically : The Easiest Way

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • In this video, I have showed how you can run any program in Raspberry pi at startup in the easiest way.
    Commands used in this video:
    sudo nano /etc/rc.local
    python home/pi/Desktop/blink.py &
    For future updates follow us on facebook: / sparklers2018

ความคิดเห็น • 54

  • @davidvlk8625
    @davidvlk8625 ปีที่แล้ว +2

    Bro is simply publishing pure gold.

  • @electrobean
    @electrobean 3 ปีที่แล้ว +8

    I’m using Unity to make a VR UI environment that I want to be an operating system, but that’s not how it works so I have been searching the internet how to so this so thank you.
    Edit: i have given up

    • @imsteven3044
      @imsteven3044 2 ปีที่แล้ว

      Hiii could you solve it? I want to run my unity executable in a RaspBerry pi but hen I run the executable open the program but it doesn’t show anything

  • @JontheRippa
    @JontheRippa 3 ปีที่แล้ว +5

    Thank you, you make a good job 👏✌️

  • @subbuaccu2075
    @subbuaccu2075 4 ปีที่แล้ว +2

    Friend, I have subscribed...
    Excellent work on GPS TRACKER PROJECT..
    There's one request :
    1) would you make another video for same project with ANY OPEN SOURCE MAP APPLICATION ? maybe pi os based or linux based map.
    OR
    2) Saving all data in text file locally on pi zero as well as later viewing it offline as on the map so we can just copy tht text over network and draw map using gps coordinates on remote machine without google !
    That will be gr8.
    Please look into it, If possible gr8 🙏✌🏼
    P.S : Another reason for those requests is .... Why handout our personal gps data to google !?
    Thats why.

  • @canalv3rgsv90
    @canalv3rgsv90 6 หลายเดือนก่อน

    TU canal vale oro gracias amigo!!!

  • @realxd553
    @realxd553 2 ปีที่แล้ว

    YES EXACTLY WHAT I NEED NOW MY IRON MAN HUD WILL WORK I AM SUBBING 100%

  • @psyronYt
    @psyronYt 2 ปีที่แล้ว +1

    Will it work for .exe type files
    for running on startup

  • @alankritsharma2764
    @alankritsharma2764 3 ปีที่แล้ว

    i have raspberry pi 3b and want to start zoom on it automatically for my grandma for her yoga classes. how can i do it? pls help

  • @techy9912
    @techy9912 ปีที่แล้ว +1

    but how will you stop the program running

  • @alhapidzteguhgumilar
    @alhapidzteguhgumilar ปีที่แล้ว

    Thanks, how to change to run another program? do i just repeat what you teach? or i ineed to delete something first ?

  • @hutfris1532
    @hutfris1532 11 หลายเดือนก่อน

    I have a question, How do you stop the program after?

  • @WilliamMelton617
    @WilliamMelton617 3 ปีที่แล้ว +1

    Thank you! Very helpful video.

  • @jamesvincentapita1000
    @jamesvincentapita1000 ปีที่แล้ว

    hi, so i have a python program that runs tensorflow object detection, do u have an idea how i can run it on startup without the ide?

  • @Jokamutta
    @Jokamutta 3 ปีที่แล้ว

    So I want to run a program that starts with a command for example ./command
    Will this method in the video work?

  • @johannespralle6831
    @johannespralle6831 3 ปีที่แล้ว +1

    Great help. Thank you so much.

  • @johnjayveec.alindayo9278
    @johnjayveec.alindayo9278 2 ปีที่แล้ว

    Hello i did this steps, so how i can go back to the normal start up?

  • @nuraisyah4305
    @nuraisyah4305 2 ปีที่แล้ว

    Hi Sir, May I ask.. the IP address you write in the putty, is that your static IP address?

  • @sucharithaanumula1849
    @sucharithaanumula1849 2 ปีที่แล้ว

    Works perfectly
    Thankyou so much

  • @mistervaso
    @mistervaso 11 หลายเดือนก่อน

    Can you please make a new one using a sh. file and on Debian 12.2 Bookworm ? Thank you

  • @sathishrajendiran9336
    @sathishrajendiran9336 3 ปีที่แล้ว

    I written code in c language in geany... I followed these steps but didn't work what do i do?

  • @shingrutashish5639
    @shingrutashish5639 3 ปีที่แล้ว

    how to blink that led for the infinite time I mean until pi switches off.
    like flashLED(5) - This will blink for 5 times how to blink this for infinite time.

  • @prashantvasala6765
    @prashantvasala6765 2 ปีที่แล้ว

    When we write a python code which has error and add it in rc.local file, the raspberry pi won't boot up right. So my question is that how can we undo this in rc.local. Can someone help me with this?

  • @xHexon_
    @xHexon_ ปีที่แล้ว

    How do you open programs like a mp4 file?

  • @GurpreetSingh-jz3rx
    @GurpreetSingh-jz3rx 2 ปีที่แล้ว

    Hi, thanks for your video, this really worked.
    But, I ran into a problem.
    I am running a PyQt GUI program in full screen after boot, which works fine. But the thing is that the desktop screen is visible before the program starts running and so it doesn't look professional.
    My aim is to boot the raspberry pi to my app directly and not to desktop.
    I also tried using a splash screen in PyQt but got same result.
    Can you please help me with this? I am stuck with this for days.
    Thank you so much😃

    • @redgarpro
      @redgarpro 2 ปีที่แล้ว +1

      You should probably just make your own Linux distribution if you want a custom screen

  • @boostaholic9174
    @boostaholic9174 ปีที่แล้ว

    Thank you so much!!!

  • @jrltroll
    @jrltroll 3 ปีที่แล้ว +1

    in the case of a c++ script instead of python home/pi/Desktop/blink.py & what I should put? :((((((((((((((((((((((

    • @sejungsong
      @sejungsong 3 ปีที่แล้ว

      Did you figure this out?

  • @gajjarbhavesh8214
    @gajjarbhavesh8214 3 ปีที่แล้ว

    Thank You So Much My Bro

  • @saitamapreetsingh3057
    @saitamapreetsingh3057 2 ปีที่แล้ว

    Thank you Bro ! I Subscribed 🤙

  • @Steve-ct1yr
    @Steve-ct1yr 3 ปีที่แล้ว

    led script may work fine, but I have a script using [requests, bs4, smtplib, decouple] libraries and it does not start on reboot.
    The script itself works fine if I start it manually
    I thought it was because of the .env variables, but I bypassed that and it still won't work...
    Any ideas why that might be?

    • @kagansenkeser4357
      @kagansenkeser4357 2 ปีที่แล้ว

      hi I have the same issue did you find a solution

  • @mattcero1
    @mattcero1 ปีที่แล้ว +1

    Thanks man. Password lost here. mine is in semi-headless mode as I have the small LCD screen on my 3 B+ and it displays the system and PiHole stats after bootup. I need to reset the password and editing the cmdline.txt file isn't working. What keyboard commands can I send to it to stop the automatic script and break out into a terminal/command line so I can type in the commands to change my password using the very small screen? Thanks mate!

  • @realxd553
    @realxd553 2 ปีที่แล้ว

    You are amazing

  • @littledemon4893
    @littledemon4893 3 ปีที่แล้ว

    Bro you said "there are many ways" what are others

  • @benzene15
    @benzene15 2 ปีที่แล้ว

    Great video!!!

  • @hossammagdy6974
    @hossammagdy6974 3 ปีที่แล้ว

    good video thank u

  • @tonyvarghese75
    @tonyvarghese75 4 ปีที่แล้ว +1

    Nice

  • @Ayiamus7
    @Ayiamus7 3 ปีที่แล้ว

    Thanks 😊

  • @techv4413
    @techv4413 4 ปีที่แล้ว

    Hello bro,
    I run a simple python program when raspberry pi bootup it works, but i run a face recognition program using opencv it doesn't open when raspberry pi bootup
    Please help me to solve this problem

  • @bhavanbhavan6135
    @bhavanbhavan6135 2 ปีที่แล้ว

    This is working for raspberry pi zero w

  • @Sapao.com.b
    @Sapao.com.b ปีที่แล้ว

    Let’s do one to get money out of the atm I’ll do it and share the money with u lmk lmk

  • @dudess76
    @dudess76 ปีที่แล้ว

    Nothing happened

  • @talibsan1573
    @talibsan1573 3 ปีที่แล้ว

    hello sir. my rc.local file is unwritable. how can i change to permissions for rc.local. thanks

    • @詹正偉
      @詹正偉 3 ปีที่แล้ว

      start at 4:10 is the answer

  • @mr.awesome5109
    @mr.awesome5109 3 ปีที่แล้ว

    1000th viewer

  • @dfmayes
    @dfmayes 3 ปีที่แล้ว +2

    I think adding "@reboot python /home/pi/Desktop/blink.py" to crontab is easier.

    • @krizz5825
      @krizz5825 ปีที่แล้ว

      But didn't worked for me