Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.