Ubuntu

How to Autostart Applications in Ubuntu

How to Autostart Applications 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:

/usr/share/applications/

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

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

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

The program will get added to the 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

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

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

Gamecube & Wii için en yeni Dolphin Emulator'ı Linux'a yükleyin
Dolphin Emulator, seçtiğiniz Gamecube & Wii oyunlarını Linux Kişisel Bilgisayarlarda (PC) oynamanıza izin verir. Ücretsiz olarak kullanılabilen ve aç...
Linux'ta GameConqueror Cheat Engine Nasıl Kullanılır
Makale, Linux'ta GameConqueror hile motorunu kullanma hakkında bir kılavuzu kapsar. Windows'ta oyun oynayan birçok kullanıcı, oyun deneyimini geliştir...
Linux için En İyi Oyun Konsolu Emülatörleri
Bu makale, Linux için kullanılabilen popüler oyun konsolu öykünme yazılımını listeleyecektir. Öykünme, oyun konsollarının, komut setlerinin ve ilgili ...