Auto-starting a GUI application in BeagleBone black over debian distribution


New Member

I'm trying to launch my application at startup. Its a GUI application, so my usual go to of crontab isn't a good idea. I also require to export a variable DISPLAY as 0 before the python application is run.

I've tried using following script in /home/debian/.config/autostart/fileName.desktop, but no joy
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
export DISPLAY=:0
@lxterminal -e /usr/bin/python3 ~/path/to/the/
Please suggest on what I can do here.

Members online

Latest posts