[squeak-dev] How can Raspberry Pi boot directly to eToys like Scratch?

Charles Schultz sacrophyte at gmail.com
Tue Nov 19 15:52:08 UTC 2013


Ah, you rock! I'll have to try that out. etoys on the command line already
starts eToys successfully, so that part is good to go. Loving it.


On Tue, Nov 19, 2013 at 9:45 AM, Bert Freudenberg <bert at freudenbergs.de>wrote:

> Ah. The raspi-config script is here:
>
> https://github.com/asb/raspi-config/blob/master/raspi-config
>
> You could edit that to add a boottoetoys.sh similarly to boottoscratch.sh.
>
> If you're not that familiar with shell scripting, try replacing "&
> scratch" with "& etoys" on this line:
>
>         printf "openbox --config-file
> /home/pi/boottoscratch/openbox_rc.xml & scratch" | xinit /dev/stdin
>
> and then when you choose "boot to scratch" it should actually boot to
> Etoys instead.
>
> Before doing that, make sure that executing "etoys" on a command line
> actually starts Etoys successfully.
>
> - Bert -
>
>
> On 19.11.2013, at 09:35, Charles Schultz <sacrophyte at gmail.com> wrote:
>
> > You know more than I do on this topic. :) I do not have an URL for how
> Scratch boots directly, but I can point you to documentation on the
> raspberrypi.org website that shows you how to configure it in
> raspi-config (basically, you select an option - all the details are
> abstracted away). I have already asked this question on the raspberrypi
> forums, and I have not yet received a reply:
> > http://www.raspberrypi.org/phpBB3/viewtopic.php?t=61117
> >
> > I'll try to dig around with what little Linux knowledge I have and using
> your hints to see how Scratch is booted.
> >
> >
> > On Tue, Nov 19, 2013 at 9:28 AM, Bert Freudenberg <bert at freudenbergs.de>
> wrote:
> > On 18.11.2013, at 18:21, Charles Schultz <sacrophyte at gmail.com> wrote:
> >
> > > Just curious, how does one configure the Raspberry Pi to boot directly
> into eToys just like the new option to boot directly into Scratch?
> >
> > I haven't looked at how Scratch does it (do you have a URL?).
> >
> > But in general the simplest thing would be to just launch Squeak from
> the linux startup mechanism. When the Linux kernel is finished booting, it
> runs an executable specified in /etc/inittab. Typically that's "init" which
> then executes the rc script which in turn launches everything, including
> the graphical shell. That is where you can hook into - either with an X
> server (so you would have to make Etoys auto-start when X is run) or
> without the X server using Squeak's fbdev display driver. The latter would
> make startup faster, but you would have to benchmark both to know for sure
> which would be more efficient at runtime.
> >
> > - Bert -
> >
> >
> >
> >
> >
> >
> > --
> > Charles Schultz
>
>
>


-- 
Charles Schultz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20131119/3778957c/attachment.htm


More information about the Squeak-dev mailing list