Hi Guys,
I have a Squeak program that I run headless on a Raspberry Pi. The program starts when the Raspberry boots (Raspbian Jessie Lite). The image is never saved. The same image is always run when the Raspberry boots. Do I need the changes file? It seems to grow every time the program starts. Can I stop this? Thanks in advance for any and all insight. Lou -- Louis LaBrunda Keystone Software Corp. SkypeMe callto://PhotonDemon |
> On 29-03-2017, at 9:13 AM, Louis LaBrunda <[hidden email]> wrote: > > Hi Guys, > > I have a Squeak program that I run headless on a Raspberry Pi. The program starts when the > Raspberry boots (Raspbian Jessie Lite). The image is never saved. The same image is always > run when the Raspberry boots. Do I need the changes file? It seems to grow every time the > program starts. Can I stop this? Thanks in advance for any and all insight. If you simply rename your prepared headless image after saving it then when it starts up it will not find the changes file. That *should* be enough; it works for Scratch. The sources file will still be found unless you remove it completely (probably not a good idea on your development machine!) but since we don’t write to it you won’t really notice. tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Starbucks are, of course, run by the Caffeinatti. |
On Wed, Mar 29, 2017 at 7:26 PM, tim Rowledge <[hidden email]> wrote:
This only works if you disable the warnIfNoChangesFile and warnIfNoSourcesFile preferences. Otherwise your headless image will show a warning dialog and wait for the user to dismiss it. So just disable these prefs and save the image. Then you don't need sources or changes. - Bert - |
> On 29-03-2017, at 10:46 AM, Bert Freudenberg <[hidden email]> wrote: > > This only works if you disable the warnIfNoChangesFile and warnIfNoSourcesFile preferences. Otherwise your headless image will show a warning dialog and wait for the user to dismiss it. D’oh, yes. Scratch doesn’t bother about that because it saves/quite/restarts via its own curious routes. tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Strange OpCodes: MFC: Mangle Following Command |
In reply to this post by Bert Freudenberg
Hi Guys,
Exactly what I wanted to know. Lou On Wed, 29 Mar 2017 19:46:34 +0200, Bert Freudenberg <[hidden email]> wrote: >On Wed, Mar 29, 2017 at 7:26 PM, tim Rowledge <[hidden email]> wrote: > >> >> > On 29-03-2017, at 9:13 AM, Louis LaBrunda <[hidden email]> >> wrote: >> > >> > Hi Guys, >> > >> > I have a Squeak program that I run headless on a Raspberry Pi. The >> program starts when the >> > Raspberry boots (Raspbian Jessie Lite). The image is never saved. The >> same image is always >> > run when the Raspberry boots. Do I need the changes file? It seems to >> grow every time the >> > program starts. Can I stop this? Thanks in advance for any and all >> insight. >> >> If you simply rename your prepared headless image after saving it then >> when it starts up it will not find the changes file. That *should* be >> enough; it works for Scratch. The sources file will still be found unless >> you remove it completely (probably not a good idea on your development >> machine!) but since we dont write to it you wont really notice. >> > >This only works if you disable the warnIfNoChangesFile and >warnIfNoSourcesFile preferences. Otherwise your headless image will show a >warning dialog and wait for the user to dismiss it. > >So just disable these prefs and save the image. Then you don't need sources >or changes. > >- Bert - Louis LaBrunda Keystone Software Corp. SkypeMe callto://PhotonDemon |
Free forum by Nabble | Edit this page |