I would like to add a command at the rc.d system by which, when ubuntu starts it will run different program at different workspaces.I.e:workspace 1: chrome,workspace 2:thunderbird.How could this be achieved?Is there any tool?
even though you could actually write some script to auto-start any application you want in different X sessions, you may want to have a look at the confgiuration files of your wm (which is?).
to do exactly what you asked, eg, with xmonad (my wm) you simply have to write a few lines, like
className =? "Icedove" --> doShift "3:mail"
if you use compiz, i think there's a plugin to put an application in a specific workspace. so all you have to do is simply to auto-start them.
so please specify your wm :)