How to auto run a python script after booting in Nano 2G?

Hi,

I can do the auto boot in my Nvidia nano 4G, that is my previous post.

However, how can do it in my 2G?
I cannot find, “Startup Application Preference”, and I did try to add ./config/autostart/myscript.desktop
by following this post, but no luck… thx

[Desktop Entry]
Encoding=UTF-8
Name=myscript
Comment=myscript
Icon=gnome-info
Exec=python /your/path/script.py
Terminal=false
Type=Application
Categories=

X-GNOME-Autostart-enabled=true
X-GNOME-Autostart-Delay=0

Hi,
Please check Jetson Nano FAQ

Q: How to autorun an app or commands at startup?

Dear DaneLLL,

Yes,
I added a line in ~/.xsessionrc and it works.
Thx

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.