You can configure applications or scripts to execute when log in to your GNOME session. If you require your application or script to launch regardless of your desktop environment or even before you're logged in, you can use other methods such as systemd or crontab.
This method works for any Linux distributions as long as GNOME is the user's desktop environment. Some of the Linux distributions with GNOME as the default desktop environment are Ubuntu, and CentOS / Red Hat.
This method creates an autostart config file that GNOME uses to launch your application or script. It does not require the installation of third-party tools such as GNOME Tweaks.
Make sure the user has execute permission on the script or application.
Related: How to set file and folder permission on Linux
Comment anonymously. Login not required.