<p><b>@fniephaus</b> requested changes on this pull request.</p>

<hr>

<p>In <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/408#discussion_r294413753">platforms/unix/config/bin.squeak.sh.in</a>:</p>
<pre style='color:#555'>> @@ -53,4 +53,15 @@ case $PLATFORMLIBDIR in
 /lib|/usr/lib) SVMLLP=/lib:/usr/lib;;
 *)                             SVMLLP="$PLATFORMLIBDIR:/lib:/usr$PLATFORMLIBDIR:/usr/lib"
 esac
-LD_LIBRARY_PATH="$PLUGINS:$SVMLLP:${LD_LIBRARY_PATH}" exec $GDB "$BIN/squeak" "$@"
+
+# If no image file is provided as a command-line argument, allow the user to 
+# select the image file via a file-chooser dialog
+if which zenity &>/dev/null && [ $# -eq 0 ]; then
</pre>
<p>Could you please swap left and right? No need to check if <code>zenity</code> is installed if there are more args anyway.</p>

<hr>

<p>In <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/408#discussion_r294414116">platforms/unix/config/bin.squeak.sh.in</a>:</p>
<pre style='color:#555'>> @@ -53,4 +53,15 @@ case $PLATFORMLIBDIR in
 /lib|/usr/lib) SVMLLP=/lib:/usr/lib;;
 *)                             SVMLLP="$PLATFORMLIBDIR:/lib:/usr$PLATFORMLIBDIR:/usr/lib"
 esac
-LD_LIBRARY_PATH="$PLUGINS:$SVMLLP:${LD_LIBRARY_PATH}" exec $GDB "$BIN/squeak" "$@"
+
+# If no image file is provided as a command-line argument, allow the user to 
+# select the image file via a file-chooser dialog
+if which zenity &>/dev/null && [ $# -eq 0 ]; then
+  IMAGE=$(zenity --title 'Select an image' --file-selection --filename "${RESOURCES}/" --file-filter '*.image' --file-filter '*')
</pre>
<p><code>IMAGE</code> is also used for all args (below), so please rename to something like <code>VM_ARGS</code>.<br>
Also, <code>${RESOURCES}</code> is not defined, maybe remove <code>--filename "${RESOURCES}/"</code>?</p>

<hr>

<p>In <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/408#discussion_r294414296">platforms/unix/config/bin.squeak.sh.in</a>:</p>
<pre style='color:#555'>> @@ -53,4 +53,15 @@ case $PLATFORMLIBDIR in
 /lib|/usr/lib) SVMLLP=/lib:/usr/lib;;
 *)                             SVMLLP="$PLATFORMLIBDIR:/lib:/usr$PLATFORMLIBDIR:/usr/lib"
 esac
-LD_LIBRARY_PATH="$PLUGINS:$SVMLLP:${LD_LIBRARY_PATH}" exec $GDB "$BIN/squeak" "$@"
+
+# If no image file is provided as a command-line argument, allow the user to 
+# select the image file via a file-chooser dialog
+if which zenity &>/dev/null && [ $# -eq 0 ]; then
+  IMAGE=$(zenity --title 'Select an image' --file-selection --filename "${RESOURCES}/" --file-filter '*.image' --file-filter '*')
+else
+  IMAGE=$@
+fi
+
+echo "Using image: ${IMAGE}"
</pre>
<p>Please remove this print message.</p>

<hr>

<p>In <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/408#discussion_r294415471">platforms/unix/config/squeak.sh.in</a>:</p>
<pre style='color:#555'>> @@ -53,4 +53,15 @@ case $PLATFORMLIBDIR in
 /lib|/usr/lib) SVMLLP=/lib:/usr/lib;;
 *)                             SVMLLP="$PLATFORMLIBDIR:/lib:/usr$PLATFORMLIBDIR:/usr/lib"
 esac
-LD_LIBRARY_PATH="$PLUGINS:$SVMLLP:${LD_LIBRARY_PATH}" exec $GDB "$BIN/squeak" "$@"
</pre>
<p>See comments for other file...</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/408?email_source=notifications&email_token=AIJPEW7WCKSHJGSQK57TSSLP27FDTA5CNFSM4HYXR4FKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3YJA7Q#pullrequestreview-250646654">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW43JANWKVD7BM462P3P27FDTANCNFSM4HYXR4FA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AIJPEW33WOOWR6PGKVQXK5TP27FDTA5CNFSM4HYXR4FKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3YJA7Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/408?email_source=notifications\u0026email_token=AIJPEW7WCKSHJGSQK57TSSLP27FDTA5CNFSM4HYXR4FKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3YJA7Q#pullrequestreview-250646654",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/408?email_source=notifications\u0026email_token=AIJPEW7WCKSHJGSQK57TSSLP27FDTA5CNFSM4HYXR4FKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3YJA7Q#pullrequestreview-250646654",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>