How to auto start an application on Raspbian for Raspberry PI 2 or 3

in #unify7 years ago

There are many ways to start a script but an application not so easy so I have written this guide on how to go about it and very easy todo.

Run "sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart"

This will open the editor and you need to add your start script just above like this...

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@/home/pi/wallets/unify-source/unify-qt
@xscreensaver -no-splash
@point-rpi

Hit Ctrl X, Y then Enter and this will save the file.

That is it in the example below I am auto starting the UNIFY crypto currency wallet just in case the Pi crashes and reboots this will auto start and carry on stacking.

p.s. For UNIFY users you would need to have your wallet unlocked for this to work.

Coin Marketplace

STEEM 0.15
TRX 0.17
JST 0.028
BTC 69075.42
ETH 2475.71
USDT 1.00
SBD 2.35