Ubuntu – Adding program booting options to the OS

12.10bootstartup

I am building a flight simulator box, off of Ubuntu 12.10, but I am trying to make the OS essentially invisible, I just want the machine to boot into the Flight Sim, which, that part isn't really that difficult, just a matter of adding a startup item, but I would like to make it a bit more seemless, and in-addtion to that, I would like maybe a 3-5 second countdown where you could opt-out of the flight sim from starting, if you need to troubleshoot the OS, or the flight sim itself, and I have no idea how that would be accomplished

Best Answer

Write a short shell script which is in your autostart (you seem to have solved that bit). The script could look like:

#!/bin/bash
echo launching in 5, press ctrl+c to abort
sleep 5
myFlightSimCommand