How to auto run python application on bootup

Hi,

We have a GUI based python application which is working fine. We want it to run on bootup.
We tried some solutions but its not working.

Please provide some solutions.

Hello,

Maybe you can try the following:

Create a .desktop file inside this folder:

mkdir -p /home/$USER/.config/autostart/

For example:
app.desktop

With this content:

[Desktop Entry]
Type=Application
Exec=<your_app_script>
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=<name_of_your_app>
Comment=<comments_of_your_app>

Then login again.

Best regards,
Roberto Gutiérrez
Embedded Software Engineer

Hi Roberto Gutiérrez,

Thanks for the reply.
I tried above steps, its running the application after desktop window. can you please provide some suggestion to run the application without loading the desktop window.
I am expecting my Jetson Nano to run only my GUI application.