run on startup ubuntu code example
Example 1: run command at startup ubuntu
Put a script containing the command in your /etc directory. Create a script such as "startup.sh" using your favorite text editor. Save the file in your /etc/init.d/ directory. Change the permissions of the script (to make it executable) by typing "chmod +x /etc/init.d/mystartup.sh"
Example 2: auto start application ubuntu 18.04
Open Startup Applications in 'UBUNTU' Linux.
First you can press 'Alt + F2' and run
'gnome-session-properties' command...