Hi,
i would like to start my custom graphical application on linux startup just like in this video - http://www.youtube.com/watch?v=iKhnoQMwjmQ
where do i start ? thanks for any help
App loading at linux boot
5 posts
- Posts: 26
- Joined: Mon Jun 18, 2012 8:44 pm
unnamed7 wrote:Hi,
i would like to start my custom graphical application on linux startup just like in this video - http://www.youtube.com/watch?v=iKhnoQMwjmQ
where do i start ? thanks for any help
The file (shell script) /etc/rc.local gets run by the startup scripts when the system has been initialised and before it does the last thing which is to print the prompt and allow you to login.
You can put something in there... But whwn your program ends, then the system will carry on and print the login prompt, etc. so you might want to make sure your program never ends, or does a shutdown...
-Gordon
thanks, but i know this, actually i was rather thinking about how to write app that will start as visual app from command line withouth starting xwindows.
what language should i choose, what libs, maybe any how to's ?
sorry for my poor english, pretty hard for me to explain what i'am thining about
what language should i choose, what libs, maybe any how to's ?
sorry for my poor english, pretty hard for me to explain what i'am thining about
- Posts: 26
- Joined: Mon Jun 18, 2012 8:44 pm
unnamed7 wrote:thanks, but i know this, actually i was rather thinking about how to write app that will start as visual app from command line withouth starting xwindows.
what language should i choose, what libs, maybe any how to's ?
sorry for my poor english, pretty hard for me to explain what i'am thining about
Well, I have written an app. that starts this way without X. It uses the SDL graphics libraries. It's a 2D type of graphics library. Very low level. However you can run 3D apps. using Open GL and it's varianta that are supported on the Pi. e.g. have a look at the hello_triangle demo - it doesn't need X.
-Gordon
ok, so i'am gonna try with sdl 
from the other angle, can someone explain to me how xbmc is written to boot like in the video above ?
from the other angle, can someone explain to me how xbmc is written to boot like in the video above ?
- Posts: 26
- Joined: Mon Jun 18, 2012 8:44 pm