Thursday, September 28, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  521] [ 0]  / answers: 1 / hits: 806882  / 1 Year ago, fri, june 17, 2022, 7:55:26

How can I make an application automatically start when I have logged in?

More From » autostart


20.04 and later

  1. If not yet done by default install gnome-startup-applications

  2. Search and open "Startup Applications"


  3. click add to enter the command including options of your application as you would run it from terminal (you may have to give in the full path if it runs from a non-standard location)


  • This will add a .desktop file in your ~/.config/autostart


14.04 and later

  1. Open the Dash and search for "Startup Applications"


  2. Now click on Add and give in the command to run the application. This can be found in Main Menu if installed (see below)

Using Main Menu (alacarte) to find the terminal command to run a given program:

  1. Firstly open the program 'Main Menu' (type Menu in the Dash)


  2. Now select the program which you want to add to startup and click on properties .


  3. Now note the command for that program .


Non GUI approach

Advanced users may want to manually put a .desktop file in ~/.config/autostart to run applications after a user login. This may have following content:

[Desktop Entry]
Name=<Name of application as displayed>
Exec=<command to execute>
Icon=<full path to icon>
Comment=<optinal comments>

You may have to give this file execute permission.

[#44669] Friday, June 17, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 271
Total Questions: 90
Total Answers: 112

Location: Zambia
Member since Wed, Dec 16, 2020
3 Years ago
anoalk questions
Wed, Mar 15, 23, 04:06, 7 Months ago
Fri, Sep 24, 21, 02:59, 2 Years ago
Sat, Mar 5, 22, 02:33, 2 Years ago
Tue, Mar 22, 22, 07:19, 2 Years ago