Raspberry Pi - Autostart Application with Splash Screen

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 71

  • @kamugishajoseph6467
    @kamugishajoseph6467 9 месяцев назад +1

    I have been looking for videos like this. Thanks 💪💪

    • @cmtg4471
      @cmtg4471 5 месяцев назад

      Did it work?

  • @CanoDesigns
    @CanoDesigns Год назад +1

    How can I let the user configure the WiFi without having access to the Linux system, only in my program?

  • @chase_h.01
    @chase_h.01 2 года назад +6

    Can your splash screen image be a moving gif? Will the gif actually work and move?

    • @chase_h.01
      @chase_h.01 2 года назад +2

      Nevermind, i found out mp4 works. Just make yourself a quick 20 second video

    • @shashanktanwar
      @shashanktanwar Год назад +3

      @@chase_h.01 can I directly replace splash.png with video.mp4? or do i need to change the command in splashscreen.service as well ? please help

    • @aliyaabeldinova8706
      @aliyaabeldinova8706 6 месяцев назад +2

      ​@@shashanktanwarhey ! Did you find a way to do it? If yes, can you please help me with advice 🙏

    • @ruvenrey786
      @ruvenrey786 3 месяца назад

      Give us the gas ​@@chase_h.01 Please 😢

  • @KritilabsDev2022
    @KritilabsDev2022 Год назад

    it works, but after 15-20 seconds only magicmirror ui start opening, where to resolve it?

  • @pearinnovation1419
    @pearinnovation1419 2 месяца назад

    can we use video instead of image as a splash screen

  • @djmisturada
    @djmisturada 2 года назад +1

    Nice video. Can this be used if I have volumio installed but want to keep the raspberry home screen? Thanks

    • @vigasan
      @vigasan  2 года назад

      Sorry, I don’t know volumio

  • @creativearts4917
    @creativearts4917 10 дней назад

    then how to revert back to normal ?

  • @aliyaabeldinova8706
    @aliyaabeldinova8706 6 месяцев назад

    Thank you for the tutorial! It was the only one that helped me to change a splash screen image. 🤗
    Now I need to change it for a video. Omxplayer is no longer available. Do you have any advice?🙏

  • @egginkstudios
    @egginkstudios Год назад +2

    Can you put the code in the comments or description it’s hard to see, please reply when updated

  • @joshinjoy123
    @joshinjoy123 2 года назад +1

    Thankyou man. Saved my day

  • @Yudos100
    @Yudos100 Год назад

    this is just normal start up, right? you can still close the app in case something went wrong on dev

  • @syahrulramadhan4759
    @syahrulramadhan4759 4 года назад +3

    How to to make your logo stand still in a few second?

    • @vigasan
      @vigasan  4 года назад +1

      I don't set time about splash screen is shown. Simply when boot is finished it starts application

    • @seifeddineomari4962
      @seifeddineomari4962 3 года назад

      If do you have answer can you help me ?

    • @sc0or
      @sc0or Год назад

      @@seifeddineomari4962 I suppose you finally got an idea to start your Qt app with an exact splash screen )

    • @garry5280
      @garry5280 6 месяцев назад

      ​@@seifeddineomari4962bit late to the party, but when editing the /etc/rc.local file just put,
      sleep 10
      before the su calling your application, this will pause for 10 seconds.

  • @adingatmagamilang1021
    @adingatmagamilang1021 3 года назад +1

    pardon me, can i make my own application start automaticly with spalshscreen?, my application is like ms paint, so when the raspberry power on then my app automatic start, its possible or not?, i'm noob on "raspberry pi" but my last project is about that, please help, thanks a lot

    • @vigasan
      @vigasan  3 года назад +2

      The video shows exactly what you are asking. Follow it.

    • @adingatmagamilang1021
      @adingatmagamilang1021 3 года назад +1

      @@vigasan thanks i can custom the splash screen now. But can i change it to video format?

  • @kionmahuermicio9860
    @kionmahuermicio9860 2 года назад

    It can be done with ARMbian too?

  • @guruabyss
    @guruabyss 4 года назад +2

    Odd, when it boots I have a blank screen for a good 5 seconds then loads into my OS. I made sure my file was named 'splash' and it's a PNG. What am I doing wrong?

    • @vigasan
      @vigasan  4 года назад +1

      Hi Guru, is your system start with rasbian Desktop?

    • @guruabyss
      @guruabyss 4 года назад +1

      @@vigasan Running Raspberry Pi OS (32-bit) - May 2020 - 2020-05-27

    • @vigasan
      @vigasan  4 года назад +1

      Check rights on splash.png file

    • @guruabyss
      @guruabyss 4 года назад +1

      @@vigasan I'm a noob, how does one check the rights? Once I do depending on what it says what will I have to do next?

    • @vigasan
      @vigasan  4 года назад +4

      It seems that your png has some problem, so check if you can see it on your raspberry display.
      Anyway if you are working on Raspberry 3B+ check these steps:
      In the file /boot/config.txt add disable_splash=1
      In the file /boot/cmdline.txt add consoleblank=0 loglevel=1 quiet splash logo.nologo console=tty3
      Install fbi with sudo apt install fbi
      Create file /etc/systemd/system/splashscreen.service with this content
      [Unit]
      Description=Splash screen
      DefaultDependencies=no
      After=local-fs.target
      [Service]
      ExecStart=/usr/bin/fbi -d /dev/fb0 --noverbose -a /etc/splash.png
      StandardInput=tty
      StandardOutput=tty
      [Install]
      WantedBy=sysinit.target
      Copy your splash.png on /etc/ folder
      then enable service
      systemctl enable splashscreen

  • @pawejanowiec5987
    @pawejanowiec5987 3 года назад

    Application i QT was written in C? How about python application written in QT designer? Should I change something in command in 8:24?

    • @vigasan
      @vigasan  3 года назад

      Hi Pawel, sorry but I never used python with Qt designer.
      About command in 8:24, it defines the application that will be launched at boot.

    • @pawejanowiec5987
      @pawejanowiec5987 3 года назад

      @@vigasan ok, but what does "-c " mean in this command?

    • @vigasan
      @vigasan  3 года назад

      @@pawejanowiec5987 "-c" means a specific command as the specified user not C language

    • @pawejanowiec5987
      @pawejanowiec5987 3 года назад

      @@vigasan thanks! So there is no trouble to try with my application in PYQT5😉

    • @pawejanowiec5987
      @pawejanowiec5987 3 года назад

      @@vigasan unfortunatelly it's not owrking with my PYQt5 application. System starting seems simiraly to your toutorial (only one view is different because my raspberry starts with wite screen and information "for recovery mode hold Shift"). After splashscreen image screen changed into grey colour for 2-3 seconds and after that I have normal desktop instead my GUI view. I don't know what to do

  • @chaitanya6798
    @chaitanya6798 3 года назад

    can this technique work for raspberry pi zero???

    • @vigasan
      @vigasan  3 года назад

      I never tried on Rpi zero but I think it should work

  • @jameshanley2400
    @jameshanley2400 3 года назад

    Is it possible to play a short video, I’m trying to have it play the Link Start intro from Sword Art Online

    • @vigasan
      @vigasan  3 года назад

      Yes you can! Use omxplayer with your video in roc.local file

    • @jameshanley2400
      @jameshanley2400 3 года назад

      @@vigasan sorry I’m kinda new and like to go above and beyond. Can you make a tutorial

  • @kionmahuermicio9860
    @kionmahuermicio9860 2 года назад

    eres el mejor bro, sí funcionó en ARMBIAN

  • @zhankongjian
    @zhankongjian 6 месяцев назад

    Perfect 😃 that's what I'm just thinking

  • @eduardmoreratorres9679
    @eduardmoreratorres9679 Год назад

    Hi @Vigasan! What a great video!
    I tried it out, but something went wrong in my case. Following the steps, I acheived to change the splash image, and any messages appear at the console when booting up. However, the RPi boots to the desktop and not to a PySide GUI I've created for that purpose (please not that the GUI works just fine when running it from the python console, for example).
    I've got my file in /home/pi/Folder1/app1.py, which path I included in the rc.local. As I mentioned, it is a PySide2 GUI. I don't understand if I should make anything different because of that or something. Does anyone tried something similar or has any recommendation?
    Thanks!

    • @vigasan
      @vigasan  Год назад

      If your application needs Desktop to be executed the system doesn't work. It works by disabling desktop at boot and directly running application.

    • @eduardmoreratorres9679
      @eduardmoreratorres9679 Год назад

      @@vigasan Hi! Thank you for your response :).
      Okei, so I suppose I should set the auto-login on console from "sudo raspi-config" in order to disable the desktop. Once I do this, the RPi boots up to the console, but the GUI does not start yet. Then, in order to directly run the application on boot up every time the RPi is turned on, should I set a specific command in any file?
      If I try to run the GUI code in the console like: "python 3 /home/pi/App.py, the following error pops up:
      qt.qpa.screen: QXcbConnection: Could not connect to display. Could not connect to any X display
      Any idea on how could I go around this error?

  • @2011emmarae
    @2011emmarae 4 года назад

    Will this work with openauto to change the splash screen?

    • @vigasan
      @vigasan  4 года назад

      I haven't tried it on openauto but it might work

  • @matejkosynologytrontelj
    @matejkosynologytrontelj 2 года назад +1

    Did you tried to run gta 5 with wine And buy a new graphics card?

  • @sc0or
    @sc0or Год назад

    This is strange that Google knows nothing about “how to turn f startup debug messages off” (I think this information cannot be monetized). Now I know ) Thank you very much that dig that mammoth’s sh.. t

  • @behzadabf
    @behzadabf 2 года назад +1

    thanks sooo much...

  • @GeoffPritchett
    @GeoffPritchett 2 года назад

    i tried replacing the extension in rc.local to point to my application /home/pi/Documents/dash/bin/dash & but it does not start my application. from the terminal, If i run ~$ sudo /home/pi/Documents/dash/bin/dash it starts my application. any suggestions to get the rc.local execute to work?

    • @vigasan
      @vigasan  2 года назад

      Hi Geoff, it seems you have some right access problem. Have you tried with command
      su - pi -c /home/pi/Documents/dash/bin/dash &

    • @GeoffPritchett
      @GeoffPritchett 2 года назад

      @@vigasan yes that doesnt work for me

  • @sreejith510i
    @sreejith510i 4 года назад +1

    How to show pyqt5 app before log screen. Before enter the password

    • @vigasan
      @vigasan  4 года назад +1

      You can’t show your app before log screen. You can hide log screen and show an image during boot. Raspberry needs to load kernel and others modules before to start any app

    • @sreejith510i
      @sreejith510i 4 года назад +1

      Ok...thanks Mr.vigasan ....but can I hide all my apps and desktop from others.

    • @sreejith510i
      @sreejith510i 4 года назад +1

      And can I show a pyqt5 app on a raspberry pi lite operating system from terminal..... Pls help me!

    • @vigasan
      @vigasan  4 года назад +1

      You need to start your system from CLI and not with Rasbian Desktop. After you can follow procedure on video to start your pyqt5 app

    • @sreejith510i
      @sreejith510i 4 года назад

      Ok thank you 😊

  • @kumuthinikulanthavel8110
    @kumuthinikulanthavel8110 3 года назад +1

    Bro are you using QT free version or paid version?

    • @vigasan
      @vigasan  3 года назад +3

      It’s the free version

  • @abba5102
    @abba5102 2 года назад

    Very very good