<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">Both does not work.</font></p>
<p><font size="4">I need the home directory of the user, i.e.
/home/ken</font></p>
<p><font size="4">For now I will do it at OS level. Work on Linux,
for the Windows counter part, I hope I use the right
environement variable (feedback, any?)<br>
</font></p>
<p>On Linux<br>
</p>
<p># execute<br>
exec "$VM/squeak" $COMPO \<br>
--plugins "$VM" \<br>
--encoding utf-8 \<br>
-vm-display-X11 \<br>
--title "GNU Dr. Geo" \<br>
"$image" \<br>
<b> -d "Smalltalk at: #home put: '$HOME' asDirectoryEntry"</b><br>
$DRGEO_OPT"$filename"<br>
</p>
<p><br>
</p>
<p>On Windows:</p>
<p>START "" /MAX /B VM\SqueakConsole.exe Resources\image\drgeo.image<b>
-d "Smalltalk at: #home put: '%LOCALAPPDATA%' asDirectoryEntry"</b><br>
<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 23/02/2023 à 15:34,
<a class="moz-txt-link-abbreviated" href="mailto:ken.dickey@whidbey.com">ken.dickey@whidbey.com</a> a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:672e93811c4c50b91e559a4c838d2b9c@whidbey.com"><br>
Depending on what you want:
<br>
<br>
Smalltalk imagePath.
<br>
<br>
Note also (home directory on Linux)
<br>
<br>
'~' asDirectoryEntry pathName.
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>