This is rather popular question among people who switched to Ubuntu recently or who just take the first steps in this operating system: How to add certain program to autostart or startup? Thankfully in latest versions of Ubuntu (e.g. Lucid Lynx or Maverik Meerkat) the answer is really simple.
1. Go to System –> Preferences –> Startup Applications, you will see something like this dialog window:
2. Go to Ubuntu menu keeping this dialog opened and drag-n-drop necessary application to Startup Application Preferences. In our example I’ve added Banshee media player to startup:
3. Press Close button and that’s it! Now every time Ubuntu boots it will also open the application you just added.