2

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?

asked Feb 24, 2013 at 2:22
3
  • have you written the application already? Commented Feb 24, 2013 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. Commented Feb 25, 2013 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. Commented Feb 25, 2013 at 21:31

3 Answers 3

1

Also you can add a line to ~/.xinitrc

mono programName parameters_if_any

this will get executed eacht time startx is called.

answered Mar 13, 2014 at 6:32
0
1

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]

answered Feb 28, 2013 at 14:23
1

You can use "mono-service" to run programs in the background.

You can run your compiled code like so:

mono-service /home/pi/Desktop/StartBrowser.exe

By default, this creates a lockfile in /tmp. You can change this by using the -l: option. In this way your service is running in the background

answered Mar 18, 2017 at 13:32
1
  • okay, that sounds cool too, gotta try that at some point. Thanks Commented Aug 25, 2017 at 19:42

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.