Moving rubble.ini to my home directory and specifying directories in it relative to that got it to work. Also, changing the browser script to "open
http://127.0.0.1:2120/menu" got it to open the Rubble Web UI in the default web browser.
I've been trying different launch scripts to try to get it to use the rubble directory instead of the root directory, but haven't found one that works. I'm not sure if that's what I'm supposed to be using to change it. Maybe there's a clue in the launch script from the SoundSense app?:
#!/bin/sh
dir=${0%/*}
if [ -d "$dir" ]; then
cd "$dir"
fi
CLASSPATH='soundSense.jar:lib/MP3SPI/mp3spi1.9.5.jar:lib/MP3SPI/jl1.0.1.jar:lib/OGGSPI/jogg-0.0.7.jar:lib/OGGSPI/jorbis-0.0.15.jar:lib/OGGSPI/vorbisspi1.0.3.jar:lib/tritonus_share.jar:lib/autoUpdater.jar:lib/jansi-1.8.jar:lib/commons-codec-1.4/commons-codec-1.4.jar'
if [ -e /usr/bin/aoss/ ] ; then
aoss java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense
else
java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense
fi
I tried using the first 5 lines of that, but with no success:
#!/bin/sh
dir=${0%/*}
if [ -d "$dir" ]; then
cd "$dir"
fi
open ~/test1/df/rubble/rubble