You can write a script to do that, but it looks like this would work.www.thegeekstuff.com/.../ubuntu-open-applications-automatically-durin\g-system-startup/