3

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.

1 Answer 1

3

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.

1
  • How can I migrate a question? Feb 22, 2013 at 19:16

You must log in to answer this question.

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