Haiku KIOSK
Hey all
im looking to use Haiku as a kiosk that launches web positive and only runs a single web application application, is there a init like functionality in haiku? how would i go about auto starting an application (preferably without starting the desktop environment )
p.s is there any word of chromium being ported over to HAIKU? that would be perfect for this :)
Any advice would be smashing
Cheers guys :)

Comments
Re: Haiku KIOSK
This is fairly simple. mostly scripting.
comment out the lines in /boot/system/boot/Bootscript:
by adding a # in front of the code. This will prevent the Deskbar and Tracker from launching.
Add a link to the app you want to launch in /boot/home/config/boot/launch to start the application.
This is just a start. For a KIOSK you will need to have a script monitoring your application and re-launch it if the user closes it. You may also need to re-map ctrl or alt to prevent most suers from launching the Team Monitor and restarting the Desktop.
Although the set-up is simple, there is no web browser for HAIKU stable enough for use in a KIOSK at this time.
Re: Haiku KIOSK
Thank you so much for the info it was extremely helpful, got everything operational :)
actually i have another question, is there way to launch the WebPositive browser in fullscreen mode by default ? -f seems to try and open as a url
Cheers!
Re: Haiku KIOSK
You could try asking that question of Stippi directly in the comments section of his latest blog post at :
http://www.haiku-os.org/blog/stippi/2010-04-16_webpositive_gets_bit_more...
Since he has written most of the code for the WebPositive app (not neccesarily the webkit backend which was ported by Ryan Leavengood and Maxime Simon mostly), he would be the best person to ask. If you have any suggestions as to how to implement this, I get the impression that he'd probably be quite receptive. Note that fullscreen mode was only added as of r482 of WebPositive on May 4 so, it's a two week old feature! See:
http://www.freelists.org/post/haiku-webkit-commits/r482-webkittrunkWebKi...
Ain't open source great!
Alan
Re: Haiku KIOSK
Hi fortheloveofhaiku!
Should a "--fullscreen" parameter not arrive in time or you'd like other more exotic options, have a look at this BeTip: Control window look, feel, or behavior with “hey”. 'hey' comes with Haiku.
Regards,
Humdinger
Re: Haiku KIOSK
There is a ticket now to corect it, but WebPositive svn502 will open fullscreen size if you close the application in fullscreen mode.
Re: Haiku KIOSK
@fortheloveofhaiku
Methinks your wish has been granted! See:
http://www.freelists.org/post/haiku-webkit-commits/r506-webkittrunkWebKi...
Unfortunatley as Stippi explained elswhere, the WebPositive nightlies won't work on alpha 2 but instead require nightly builds of haiku as well and right now nighly builds are not available for general consumption. Fortunately nightly builds should reappear very soon according to this discussion on the development mailing list:
http://www.freelists.org/post/haiku-development/Q-when-to-restart-nightlies
Alan
Re: Haiku KIOSK
Well thats great news, hope i didnt push him to do it, im amazed at how fast this is progressing!
where is the source code for this project hosted?
Awesome OS haiku aint it?
Re: Haiku KIOSK
Stippi did make a build of r515 specifically for R1A2 users. See http://dev.haiku-os.org/wiki/R1/Alpha2/ReleaseAddendum#WebPositivereport... for more installation instructions.
Re: Haiku KIOSK
Wow hes very busy it would seem!
any one know where the actual source for the browser is?
Re: Haiku KIOSK
Source, timeline, tickets for WebPositive are here:
http://mmlr.dyndns.org/
Re: Haiku KIOSK
Hi guys iv started building Haiku from source so i can further tailor the build to the hardware.
Is there a way to define my application instead of deskbar and tracker to be defined in the build process?
Thanks for any help
Re: Haiku KIOSK
You can edit build/jam/HaikuImage to include your stuff instead of some system components. OTOH, it may be easier to debug things if you leave it all in in case you need it, and just add your replacements in the UserBuildConfig.
Then edit the necessary scripts in data/system/boot/ to start your replacements instead.
Regards,
Humdinger
Re: Haiku KIOSK
Thanks for the help, much appreciated.
Cheers ill give it a try and get back to you,