element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Learning Center
  • Learn
  • More
Learning Center
Blog Autostart Applications | Raspberry Pi | crontab | rc.local & more
  • Blog
  • Documents
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Learning Center to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: oksbwn
  • Date Created: 11 Aug 2016 5:23 AM Date Created
  • Views 1257 views
  • Likes 1 like
  • Comments 1 comment
  • rc.local raspberry pi
  • getting_started
  • crontab raspberry pi
  • how_to_video
  • tutorials
  • feature_tutorial flag
  • autorun app lication raspberry pi
  • getting_to_know
  • feature
  • autostart application raspberry pi
  • feature_tutorial
Related
Recommended

Autostart Applications | Raspberry Pi | crontab | rc.local & more

oksbwn
oksbwn
11 Aug 2016

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

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 : http://goo.gl/gM134X

 

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

___________________________________________

Blog :http://goo.gl/8BTy4z

Twitter : http://goo.gl/1UVHjG

GIT: https://goo.gl/L71Oct

  • Sign in to reply
  • volly
    volly over 9 years ago

    oksbwn, Nice touch....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube