How to auto start an application on Raspbian for Raspberry PI 2 or 3
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.
Great tip. Check out this guide if you need to modify as raspberry pi image before flashing.