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
Please suggest on what I can do here.
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.