How to manage startup programs in Ubuntu Linux

Contents

Ubuntu Focal Fossa logo from your desktop background.

Many applications are automatically configured to start when you log into your Linux desktop. You may also want to add your own favorite programs to the startup procedure.. Next, We show you how to control what Ubuntu starts when you log in.

We carry out this procedure in Ubuntu 20.04 LTS with your default GNOME desktop. The steps will be similar on other Linux distributions with a GNOME desktop, but you may need to use a different configuration tool in other desktop environments.

How to start the GNOME Startup Manager

To start the startup manager, open the list of applications by clicking the “Show apps” on the dashboard in the lower-left corner of your screen. Find and launch the tool “Startup apps”.

Launching the Startup Applications tool in Ubuntu.

You can also press Alt + F2 to open the Run a command dialog and run the following command:

gnome-session-properties

Run gnome-session-properties from the Run a command dialog.

If the Startup Tools tool doesn't appear in the application menu for some reason, you can open a Terminal window and use the following command to start it:

sudo apt install gnome-startup-applications

Installing the GNOME Launch Applications Tool on Ubuntu.

How to prevent programs from starting automatically in Ubuntu

The Startup Application Preferences window will open. You will see a list of programs that start automatically when you log into your graphical desktop. Each application has a name and, optionally, A description.

To prevent a program from starting automatically, just uncheck the checkbox to the left of the program. Unselected programs will not load at startup.

You can also click on choose a program and click on “Delete” to remove it from the list here, but unchecking the program accomplishes the same and will allow you to more easily re-enable the launcher in the future, If you wish.

Disable a startup program in Ubuntu.

If you are not sure what a program is, you can search your name on the web. As an example, if you search im-launch, you will find that this is the command you launch whatever input method you need.

You can also choose a program and click on “Edit” to view the full command that runs when you log on.

Editing a startup program on Ubuntu's GNOME desktop.

How to add your own startup programs in Ubuntu

To add a startup program, you will want to know your full path. You can find this with the which command in a Terminal window.

As an example, let's say you want to run firefox. First, launch a Terminal window and run the following command:

which firefox

It will tell you that the Firefox binary is located at /usr/bin/firefox . This is the path you need to enter in the Command field in the Add startup program window.

Click the button “Add” in the Preferences window of the startup application and enter the full path to the program you want to start in the Command field.

In addition, you must enter a name for the program and, optionally, a comment. Both fields will only show in the Launch Applications Preferences window.

Add a custom startup program in Ubuntu.

When it's over, click on “Add”. You will see your custom launcher shown here. As long as it has a checkbox and it appears in this list, the GNOME desktop will start it every time you log into Ubuntu.

Firefox as a custom startup application in Ubuntu 20.04 LTS.


By the way, many applications that start at startup offer a built-in option to change this. As an example, you can prevent Dropbox from starting automatically on Linux using its alternatives window, just like you can on Windows and Mac.

Despite this, Launcher App Preferences tool lets you see everything your desktop automatically opens and control it from one place.

setTimeout(function(){
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq = n;n.push=n;n.loaded=!0;n.version=’2.0′;
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s) } (window, document,’script’,
‘https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’, ‘335401813750447’);
fbq(‘track’, ‘PageView’);
},3000);

Subscribe to our Newsletter

We will not send you SPAM mail. We hate it as much as you.