Al Jazari bootable USB version


I’ve been preparing an Al Jazari installation (split screen, 4 player livecoding action) for the funware exhibition at MU – part of the STRP festival. Due to various difficulties with my nordic location, we’ve decided to try getting it running on a bootable USB stick, which I can send via post, and can be run on any computer with no setup required (other than plugging in the gamepads). We will see how this turns out.

Using pure:dyne it was much easier to set up than I’d anticipated. Using this operating system as a base, which helpfully includes fluxus and fluxa already – I could add the script, textures and samples for the installation to the user data partition of the usb stick.

Then I added a .xprofile script to the home directory of the default user (lintian) containing:


cd /live/image/al-jazari-inst
./start

Where “start” is another bash script which does most of the startup work:


./stop  # kills all the processes involved to make sure we don't clash
xrandr --output VGA1 --mode 1024x768 # force a maximum resolution
xset dpms 0 0 0 # turn off the hardware screen blanking
xset s 0 # turn of software screen blanking
sleep 2 # I'm a bit overzealous with these pauses perhaps
jackd -R -t 4999 -dalsa -r44100 -p4096 -n3 -P -s -o2 -S & # start jack
sleep 2
fluxa & # start fluxus's audio server/synth
sleep 2
./bin/oscjoy 127.0.0.1:4444 & # run the joypad to osc program
sleep 2
# run fluxus with hidden mouse, full screen and execute script on startup
fluxus -hm -fs -x aljazari-mp.scm

Notice that fluxus blocks (no & at the end of the line). This prevents the window manager starting up, which means fluxus is running directly on X. Puredyne runs a very minimal wm by default (xfwm4) so the reason isn’t really performance, but rather that there are no window positioning algorithms to mess up when fluxus goes full screen, or decorations or borders either.

Leave a Reply

Your email address will not be published. Required fields are marked *