Friday, January 22, 2016

autostart - How do I start applications automatically on login?


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



14.04 and later



  • Open the Dash and search for "Startup Applications"


    enter image description here


  • Now click on Add and give in the command to run the application. This can be found in Main Menu if installed (see below) or as shown in this question.


    enter image description here





Using Main Menu (alacarte Install alacarte)



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


    enter image description here


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


    enter image description here


  • Now note the command for that program .


    enter image description here





Non GUI approach


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


[Desktop Entry]
Type=Application
Name=
Exec=
Icon=
Comment=
X-GNOME-Autostart-enabled=true

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...