Autostart Applications on Pi using crontab and more | Raspberry Pi #10

Опубликовано: 17 Октябрь 2024
на канале: WGLabz
13,446
42

This tutorial demonstrates 4 different methods to run GUI/ Non-GUI based application when the Raspberry Pi boots up.
1. Crontab
2. rc.local
3. _file_.desktop
4. init.d folder
test.jar application used in the tutorial : https://goo.gl/tO4sWg
########################
Commands::
1. Crontab:
$ sudo nano cronatb -e
Add the following lines
@reboot /usr/bin/java -jar /home/pi/Desktop/test.jar
2. rc.local
$sudo nano /etc/rc.local
3. _file_.desktop
Contents:. https://goo.gl/Zbe5uS
4. init.d folder:
$cd /etc/init.d
$sudo nano app
app Contentes: https://goo.gl/GjDxiB
$sudo chmod +x app
$sudo rc-update.d app defaults


********************************************************************
Subscribe YouTube : https://goo.gl/FhfdL7

Guys Subscribe to my channel for latest contents into your inbox.
Support me to keep going.
___________________________________________

Website : http://www.weargenius.in
Twitter :   / geekybikash  
YouTube :    / weargenius  
Instagram :   / weargenius  
GIT : https://github.com/oksbwn
_______________________________________________________________
Crimson Sky by Arc North   / arcnorth  
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music provided by Audio Library    • Crimson Sky – Arc North (No Copyright...  

~-~~-~~~-~~-~
Guys you can buy your products from Amazon by using the following link. Wach product you buy we will get some tip out of it. And for this you don't need to pay anything extra and offers will remain same. This will help us to make videos like this and maintain the channel.

Thanks
Team WG

Amazon: http://amzn.to/2wd4isr
~-~~-~~~-~~-~