How to Autostart Applications in Ubuntu

Most programs don't come with the option to autostart during the PC boot process. Here's how you can add an app to the startup manager in Ubuntu.

If you have a specific set of applications that you open every day regularly, you might want to try setting up autostart programs that will be executed after every PC boot process. For instance, I usually add a few applications like email, Shutter, Skype, and Color Picker apps to the startup list so that these will autostart after logging on to the PC.

Doing so, although it uses some PC resources, is a time-saver tweak for commonly used applications regularly. Some software comes with the auto-start feature in their respective “Preferences (if there is one)”, but generally, most won’t have it. Hence, here we go, let’s get started with this tutorial, which I hope will come in handy for you.

Autostarting Apps on Ubuntu

Before proceeding to the actual process to add an application to the startup list, you need first to know the command-line way of launching your app. By default settings, Ubuntu stores all the applications shortcuts in the following path:


Hence, please navigate to the path and search for the program name in the search box.

Step 1. Find out the command line for launching an application. For example, if my case, I want to add the “Transmission” app to the startup.

Step 2. Right-click on the application and select ‘Properties’. Copy the ‘Command’ row content. For my example, it is “transmission-gtk %U”. This is the actual terminal command that launches the program.

Finding the Command line of an Application
Finding the Command line of an Application

Step 3: Now that you know the command-line to execute, let’s configure and add it to the Startup Applications. We shall break the tutorial into two sections. Firstly, Ubuntu 16.04 and older that uses the Unity desktop environment, and secondly, the newer Ubuntu versions with the GNOME desktop.

On Ubuntu 16.04 LTS and Older (with Unity)

Launch the ‘Startup Applications’ from the Unity Dash menu. You can begin with typing “startup” for the result to appear.

Launch Startup Applications
Launch Startup Applications

Click ‘Add’ and paste the copied command in the ‘Command’ section. You can give ‘Name’ and ‘Comment’ whatever you want. Click ‘Add’.

Startup Applications - Add Program
Startup Applications – Add Program

The program will get added to the Startup Applications.

Startup Applications
Startup Applications

On Ubuntu 18.04 LTS and newer (with GNOME)

Click on “Activities”, look for “startup” and click on “Startup Applicatications” from the results.

Ubuntu 20.04 Activities Menu
Ubuntu 20.04 Activities Menu

Click on the ‘Add’ button and paste the command-line that you copied earlier into the ‘Command’ section. You can fill the optional ‘Name’ and ‘Comment’ fields with whatever you want. When done, click ‘Add’.

Startup Applications - Add Program
Startup Applications – Add Program

That’s it!┬áNext time you restart your Ubuntu PC, you should see the added programs start automatically.

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities, especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. I hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


  1. HI, thank you

    any idea wyhy sometimes I cannot change the startup applications in 16.04? I add one and remove the SSH Keyring, save it, close it…on reopen its back to SSH Keyring only, my entry is lost…

    Any idea how to amend that and is there a workaround?


    • Mabye the autostart client doesn’t accept ~/… paths. f.e. to mount the google drive ocamlfuse I need to add: “google-drive-ocamlfuse start /home/IngosLaptop/googledrive”

      instead of “google-drive-ocamlfuse start ~/googledrive”

    • Hi Dan, for me it was the same. Finally I had to manually create a file to do the job (which is what the startup applications tool should do). Just search for ‘manually create .desktop file ubuntu’ or something similar and you will find posts like this one:

      It is actually easy. I didn’t even write half of the lines in the file (i.e. the one for the icon) and it works fine. I think the most important line is the one starting with “Exect=” where you have to add the same path described in this article.


    • You need to first create a .desktop file in ~/.config/autostart/ diectory. Then add this content to that file with the command you want:

      cat << EOF >> ~/.config/autostart/yourcommandname.desktop
      [Desktop Entry]

  2. Hi Kiran,

    Thanks for nice article. Does application run as root? and they start after all system and gpu drivers are loaded?


Leave a Reply to Bob Cancel reply

Please enter your comment!
Please enter your name here




Mastering the SQLite Database in Python

SQLite is a relational database management system based on the SQL language; it is a serverless, Zero-configuration database engine. It is one of the...

Basics of Working with the SQLite Database in Python

A database is one of the most useful and popular files for storing data; they can be used to store any kind of data, including text, numbers, images, binary data, files, etc. SQLite is a relational database management system based on the SQL language. It is a C library, and it provides an API to work with other programming languages, including Python. It does not require a separate server process to be run as needed in large database engines like MySQL and Postgresql.

5 Ways to Check the Linux Version

When most people talk of Linux, they are always referring to a Linux distribution. However, this is not the case. Linux itself is a kernel which acts as a bridge between user applications and the hardware. When we talk of a Linux distribution, we refer to an operating system developed from the Linux kernel. A distribution comes with a package manager, pre-installed applications, a Desktop Environment, and several more features.

Getting Started with Linux Operating System

The Linux operating system brings forth a vibrant mix of features and security, making it the best alternative to macOS or Windows operating systems. In this post, we will give you a master guide on Getting started with Linux systems - taking you from a complete beginner to a level where you can begin testing the various Linux distributions available with much ease.

How to Create a Comprehensive Mail Server on Ubuntu

Postal is a free and open-source mail server used to send and receive emails. It comes loaded with tons of excellent features and functionalities, making it extremely popular among large organizations as well as in enterprise settings.

The 10 Best Linux Performance Monitoring Tools

Do you want to monitor the performance of your Linux system? Are you looking for some powerful performance monitoring tools to help you out? If you agree, it's your day as we have put together a detailed list of the ten best Linux performance monitoring tools.


Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

6 Essential Command-Line Utilities Every Linux User Should Know

Last week, we shared with you several "cool and fun" commands to get comfortable and confident with the Linux command-line. In our quest to further aid Linux users with mastery of the command line, or CLI, we present you with a variety of command-line utilities essential for all Linux users, regardless of proficiency level.

Top 20 must-have apps for your Ubuntu PC

OK, this one is going to be a long one, so grab a cup of coffee and scroll through the best apps that we think are must-have for your Ubuntu PC. We have hand-picked each one of these considering the most common categories that suit an average Linux user.

Enabling GameMode on Linux for best gaming performance

GameMode is a combination of various libraries and daemons that allows all the users to improve the gaming performance on the Linux system. Developed by games publisher Feral Interactive, it improves gaming performance by requesting a group of options that will be applied temporarily to the Linux system.

13 ways to use the copy command in Linux (with examples)

Being a Linux user, copying files and directories is one of the everyday tasks that you have to carry out. It can be copying a file to make a backup or copy it to another partition, directory, or external storage drive.