Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. 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

I would like to make this as userfriendly as possible, so my MONO application is going to be a fullscreen application that runs automatically when the OS and startx is done loading.

How do I run a MONO.exe on startup?

share|improve this question
have you written the application already? – abolotnov Feb 24 '13 at 7:22
but ofcause - no I have written a simple Monotest.exe that I will see if I can run on boot, because this would open up a lot of possibilities for me regarding development and usage. – BerggreenDK Feb 25 '13 at 21:30
@abolotnov - I dont expect it to take me long to write the first "fullscreen" application, once I figure out where to put the bootstrap. – BerggreenDK Feb 25 '13 at 21:31
up vote 1 down vote accepted

Also you can add a line to ~/.xinitrc

mono programName parameters_if_any

this will get executed eacht time startx is called.

share|improve this answer
nice, thanks for input. will try that next time. – BerggreenDK Mar 13 '14 at 17:12

I believe I have found the correct answer now.

You can use something called "mono-service" to run programs in the background or you can place the program in the boot scripts.

All you need is to call the program with either mono-service [program path and name] or mono [program path and name]

share|improve this answer

Your Answer


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.