Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I want to develop a software that will take over my raspberry pi computer, or just for simplicity's sake, any computer running a lightweight linux OS, to serve a single function. Run a Ruby/Java or some other type of GUI application. I want this application to be full screen, and run instantly on bootup, and when closed, have the computer shut down.

How could I go about simplifying the Linux OS to run one application?

I intend to use this method of creation:

  1. Use the recommended Linux Distro
  2. Install dependencies onto distro
  3. Add application, and modify, based on response to the question, so that it only runs one application
  4. Create imagefile
  5. Duplicate

I also might need to run a second, background process written in a different language to watch for certain messages.

share|improve this question
up vote 2 down vote accepted

I'd look into the inittab file. You edit it to configure what runs on bootup. Check the /etc/inittab on the distro that you use to see what is currently set up to run on your distro.

You could always run it from /etc/init.d/ and /etc/rc*.d/

One advantage to inittab is you can configure it to respawn if it crashes.

If I were you I'd migrate this to a more topic specific stackexchange site. Both UNIX/Linux and RaspberryPi specific forums exist.

share|improve this answer
How can I migrate a question? – macintosh264 Feb 22 '13 at 19:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .