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

bhoot123

New Member
Joined
Mar 26, 2020
Messages
1
Reaction score
0
Credits
0
Hi,

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
Code:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
export DISPLAY=:0
@lxterminal -e /usr/bin/python3 ~/path/to/the/file.py

Please suggest on what I can do here.
 


You can set startup applications in the settings of your desktop envoirment.
 

Members online


Top