I managed to build my own ubuntu liveCD which can boot up a PC successfully.

What is the way to start an app automatically? I know I have to create an file under /home/ubuntu/.config/autostart/. But where is that place when I build the liveCD? In my root system, I can't even find /home/ubuntu directory. It must be copied over at runtime from somewhere else. Any pointers?

Thanks.