On Sat, 10 Nov 2007 20:36:02 +0000, George Oliver wrote:
> I've been trying out interpreters on Ubuntu, and I'm curious if there
> are any that use a Zoom UI as you would see on a Mac build.
>
> My goal is to get something working where someone could sit down in
> front of the computer, easily browse and select a game, and play.
>
> Short of getting a Mac, what are the options?
Install zenity, then drop this simple bash script somewhere in your path.
(I name it /home/mantar/bin/gargoyle) Edit the two paths as necessary.
The result is you get a file browser starting in your main IF directory,
you pick a game, it runs gargoyle. It will also pass through without
bringing up the file selector, if you run "gargoyle name-of-game" from a
command line.
If you name it something other than gargoyle, then you'll have to change
line six to run the gargoyle executable instead of calling itself. I left
it like that so there's only one place to change if I move the executable.
--- CUT HERE ---
#!/bin/bash
pushd /home/mantar/IntFic
if [ "${1}" = "" ]; then
GAME=$(zenity --file-selection --title="Select a game")
if [ "$GAME" != "" ]; then
gargoyle "$GAME"
fi
else
/home/mantar/bin/installed/gargoyle/gargoyle "${1}"
fi
popd
--- CUT HERE ---
This script can obviously be used with almost any program that lacks a
file browser, after a little customization.
>> Stay informed about: favorite UI for Linux interpeters?