<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Following with my research, as you suggested, i checked the what parameters I&#39;m passing at starting of squeak VM.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I executed &quot;SmalltalkImage current extractParameters&quot; on a XO (where Etoys is working fine and on a ClassMate with Ubuntu)</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Te result are:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">On XO: <a href="http://ubuntuone.com/1e1XxvDx6v41HUOyIDUoLS" target="_blank">http://ubuntuone.com/1e1XxvDx6v41HUOyIDUoLS</a></div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">On CM: <a href="http://ubuntuone.com/0NEk59zYasxeEL0sMlEjZs" target="_blank">http://ubuntuone.com/0NEk59zYasxeEL0sMlEjZs</a></div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">As you can see, on CM (Ubuntu) the Dictionary has the key-value inverted.<br></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I got an echo output from script etoys of classmate, as you can see bellow.</div><div style="font-family:arial,sans-serif;font-size:13px">Seems the passing argument is correct, right ?</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">ECHO OUTPUT:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial;font-size:small">exec  squeak -encoding UTF-8 -vm-display-x11 -xshm -sugarBundleId org.vpri.EtoysActivity -sugarActivityId fb6717c7fece5e96de49f74ead6b01110228f086 -vm-sound-pulse /usr/share/etoys/etoys.image   BUNDLE_PATH /usr/share/sugar/activities/Etoys.activity SQUEAKLETS /home/gustavo/.sugar/default/org.vpri.EtoysActivity/instance BUNDLE_ID org.vpri.EtoysActivity ACTIVITY_ID fb6717c7fece5e96de49f74ead6b01110228f086</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small"><br>
</span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">For what reason the the key-values of Dictionary are inverted ?</span></div><div style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">Another thing, that could you me suggest to follow ?</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">Thanks in advance.</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">Gustavo.</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 11:01 PM, Gustavo Duarte <span dir="ltr">&lt;<a href="mailto:gduarte@activitycentral.com" target="_blank">gduarte@activitycentral.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">HI David,<div><br></div><div>You are right, the output of: &quot;<span style="font-family:arial,sans-serif;font-size:13px">SmalltalkImage current extractParameters&quot; is an empty Dictionary.</span></div>
<div>
<br></div><div>Many thanks for the clue, now i have to figure out, why the parameter passing isn&#39;t working.</div><div><br></div><div>Regards.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Gustavo.</div>
</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Dec 4, 2013 at 1:13 PM, David Corking <span dir="ltr">&lt;<a href="mailto:lists@dcorking.com" target="_blank">lists@dcorking.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Yesterday Gustavo Duarte wrote<br>
<div>&gt; I installed last version of Etoys:<br>
&gt; <a href="http://etoys.squeak.org/download/Etoys-To-Go-5.0.1-RC4.zip" target="_blank">http://etoys.squeak.org/download/Etoys-To-Go-5.0.1-RC4.zip</a> on machine<br>
&gt;<br>
&gt; The problem that we are having is, when from Etoys, when I trying to save<br>
&gt; the project, journal option isn&#39;t showed on menu.<br>
<br>
</div>Welcome Gustavo!<br>
<br>
I am sorry, I haven&#39;t the bandwidth to try the versions you need, and<br>
I don&#39;t know the<br>
relevant classes deeply. Instead I had a quick look at Etoys 5.0 in<br>
Sugar 0.98 in Fedora 19. You may already have tried this:<br>
<br>
Print<br>
<br>
  SugarLauncher new isRunningInSugar<br>
<br>
That should be true. If it is false, the navigator flap will not show<br>
the journal buttons.<br>
<br>
If it is false, then print<br>
<br>
  SmalltalkImage current extractParameters<br>
<br>
It should be a dictionary that includes parameters set by the<br>
Sugar launch script. In the older version of Sugar I have here, they<br>
are ACTIVITY_ID, BUNDLE_ID, BUNDLE_PATH, SQUEAKLETS<br>
<br>
If not, I would suggest a look at the python and shell scripts that<br>
launch Etoys.<br>
<br>
Have fun! David<br>
<br>
p.s. I expect your question will be welcome on the etoys-dev mailing list:<br>
<a href="http://lists.squeakland.org/mailman/listinfo/etoys-dev" target="_blank">http://lists.squeakland.org/mailman/listinfo/etoys-dev</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>