[AIOT] Tinker Board 2 Run the Application at Startup in Debian

Applications can be automatically started in a couple of ways:

1. Via GUI

1-1. Click “Default applications for LXSession” from start menu

       Startup → Preferences → Default applications for LXSession

1-2. Click “Autostart”

1-3. Add application name starts with @ in “Manual autostarted applications”

       For example: Add LXTerminal app on startup, enter “@lxterminal” in the field

1-4. Click “+Add” button to add application to autostart

2. Via config file

1-1. Edit autostart file

$ vim ~/.config/lxsession/LXDE/autostart
 

1-2. Add application name starts with @

       For example: Add LXTerminal app on startup, enter “@lxterminal” in the end of the line

Reference: http://wiki.archlinux.org/title/LXDE#Autostart