[vc_row][vc_column width=”1/1″][vc_column_text]Sometimes you may want to launch a program automatically when you log in to your Linux desktop. Such start-up programs can conduct system-wide configuration (e.g., auto proxy) or user-specific desktop customization (e.g., Conky), at the time you log in to your desktop.
Most Linux desktop environments have their own GUIs that allow users to configure user-specific auto-start programs or services.
In this tutorial, I will describe how to start a program automatically in pcDuino Ubuntu desktop environments.
LXDE Desktop Environment
To configure a start-up program on LXDE desktop environment, run the following commands in a terminal.
$ touch ~/.config/lxsession/Lubuntu/autostart
$ leafpad autostart
Then add the following entry to the created autostart file:
Here, “lxterminal” is the name of the CLI command that I want to auto-run upon log in.