Automatically Startup Applications For All Users in Ubuntu 11.10 2


This brief tutorial shows you how to automatically startup programs in all user profiles in Ubuntu 11.10. Sometimes you may want a program to automatically launch for all users upon logon to Ubuntu without manually starting it. Ubuntu has a program called ‘Startup Applications’ that lets you automatically start programs, however, it will only work for the user who configured it and won’t work for all other user accounts.This method works great in Ubuntu 11.10

 

 

Objectives:

  • Auto start programs for all users in Ubuntu 11.10
  • Enjoy!

 

To get started, copy the program you wish to automatically startup everytime a user logs in from  /usr/share/applications/program.desktop to /etc/xdg/autostart   folder.

 

autostart_oneiric

 

For example, if you wish to auto start Firefox automatically when you login, copy firefox.desktop from /usr/share/applications/firefox.desktop to the /etc/xdg/autostart. folder.

sudo cp /usr/share/applications/firefox.desktop /etc/xdg/autostart

autostart_oneiric

 

To remove it, run the command below:

 

sudo rm /etc/xdg/autostart/firefox.desktop

 

Remember to copy programs that end with the .desktop extensions.

 

That’s it!


Please share if you like it on:



Leave a Comment

Your email address will not be published. Required fields are marked *

2 thoughts on “Automatically Startup Applications For All Users in Ubuntu 11.10

  • f0olyc0oly

    Hi,

    I found this very helpful. When I boot my Ubuntu mint it now opens Firefox upon startup but it goes to this site http://www.%u.com.

    Is there a way to set it to open a different URL instead? Appreciate your advice.
    Thanks in advance.

  • f0olyc0oly

    Okay, I edited the firefox.desktop and looked for a %u in the lines then changed it to my preferred URL.

    Problem now is when firefox launches it shows “Server not found” because the connection to the Wifi hasn’t established yet.

    Is there a way to delay the startup of firefox for a few seconds (maybe around 5 s) in order for the machine to establish an internet connection first?