(shouldn't be an issue with xubuntu)

#Location of your local Context instance:
export USBPATH=/media/disk

export VERSION=12.10x
export PREVIOUS=12.04

#If this is a new version, backup previous startup notes:
cp $USBPATH/technical/system/ubuntu.txt $USBPATH/technical/system/ubuntu-$PREVIOUS.txt

#If you're *not* on a live instance, you can download everything
#locally instead, saving space on your USB device:
sudo mkdir /c
sudo chmod 777 /c
export USBPATH=/c

export ARCHIVEPATH=$USBPATH/downloads/ubuntu/$VERSION
#create a new directory for archives:
sudo mkdir -p $ARCHIVEPATH
#sudo chmod -R 777 /c


#get base system updates
#(do not do this first on a live instance)

Change Desktop background / wallpaper.
#moving desktop config here... for xubuntu need an update to xfce:
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get upgrade

#clean up any updates that have been downloaded
ls /var/cache/apt/archives/
mkdir updates
sudo mv /var/cache/apt/archives/*.deb updates/
#if previously downloaded but not applied, apply now:
#sudo dpkg -i updates/*.deb
#check for any problems... if so:
#sudo apt-get -f install

#Check that a universe mirror is listed in your /etc/apt/sources.list file.
#Open Ubuntu Software Centre, then on the top system bar select Edit and then select Ubuntu Software (default tab). Next tick the boxes next to universe & multiverse, enter your password and click okay.

#This downloads everything for local/later use.
#To perform the actual installation, see

sudo apt-get install -y -d python2.7-dev python2.7-dbg python-imaging python-docutils python-numpy python-setuptools python-nose python-reportlab python-mako python-rsvg mercurial python-pyaudio
mkdir python
sudo mv /var/cache/apt/archives/*.deb python/

#pyaudio (python 2.7, i386)
#mv *.deb python

sudo apt-get install -y -d libjpeg-progs libgif4 tofrodos jhead
mkdir libraries
sudo mv /var/cache/apt/archives/*.deb libraries

#sudo cp jhead /usr/bin

#to apply immediately
#sudo dpkg -i python/*.deb
#sudo dpkg -i libraries/*.deb

#while online, might be good to update pyglet (if mercurial is available):
hg clone $USBPATH/pyglet/

#If on a system with multiple operating systems, but you don't want
#ubuntu to be the default operating system, install startup manager:
sudo apt-get install -y -d startupmanager
mkdir startupmanager
sudo mv /var/cache/apt/archives/*.deb startupmanager
#remember to run startup manager after installation and choose the correct operating system

#now is a good time to run

To quickly access this command, type:
Alt-E, S, Enter

Change trackpad settings / mouse sensitivity

Set clock, including time format. Enable Date and Month in menu bar.

if you've already downloaded packages, jump straight to:

Connect to a wireless network.