https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-amazon-ads-and-data-leaks



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

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

export VERSION=12.04
export PREVIOUS=11.10

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


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

cd $ARCHIVEPATH
#start with a fresh copy of sources.list (will update later)
cp /etc/apt/sources.list $ARCHIVEPATH/sources.list

#be sure to clean up any updates that have already been downloaded previously
ls /var/cache/apt/archives/
#shouldn't have anything with clean system:
#mkdir updates-existing
#sudo mv /var/cache/apt/archives/*.deb updates-existing/


#You need to 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 Software Sources. Next tick the boxes next to universe & multiverse, enter your password and click okay.

sudo apt-get update

#moving desktop config here... for xubuntu need an update to xfce:
Change Desktop background / wallpaper.


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

#get base system updates
#(do not do this first on a live instance)
sudo apt-get upgrade -y -d
mkdir updates
sudo mv /var/cache/apt/archives/*.deb updates/
#to apply immediately
#sudo dpkg -i updates/*.deb
#check for any problems... if so:
#sudo apt-get -f install
#mkdir updates2
#sudo mv /var/cache/apt/archives/*.deb updates2/


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)
#http://people.csail.mit.edu/hubert/pyaudio/
#wget http://people.csail.mit.edu/hubert/pyaudio/packages/python-#pyaudio_0.2.6-1_i386.deb
#mv *.deb python

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

#wget http://www.sentex.net/~mwandel/jhead/jhead
#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 https://pyglet.googlecode.com/hg/ $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 startup.sh



https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-amazon-ads-and-data-leaks
(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

cd $ARCHIVEPATH


#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:
#http://www.webupd8.org/2012/11/how-to-use-multiple-monitors-in-xubuntu.html
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 startup.sh

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)
#http://people.csail.mit.edu/hubert/pyaudio/
#wget http://people.csail.mit.edu/hubert/pyaudio/packages/python-#pyaudio_0.2.6-1_i386.deb
#mv *.deb python

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

#wget http://www.sentex.net/~mwandel/jhead/jhead
#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 https://pyglet.googlecode.com/hg/ $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 startup.sh



https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-amazon-ads-and-data-leaks
(shouldn't be an issue with xubuntu)



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

export VERSION=13.04x
export PREVIOUS=12.10x

#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

cd $ARCHIVEPATH



Change Desktop background / wallpaper.
#moving desktop config here... for xubuntu need an update to xfce:
#http://www.webupd8.org/2012/11/how-to-use-multiple-monitors-in-xubuntu.html
#sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get upgrade


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

#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->Software Sources and then select Ubuntu Software (default tab). Next tick the boxes next to universe & multiverse, enter your password and click okay.
#have been enabled by default on xubuntu after enabling third party plugins during installation


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

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

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

#wget http://www.sentex.net/~mwandel/jhead/jhead
#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 https://pyglet.googlecode.com/hg/ $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 startup.sh



---------------
Once you have a fresh instance of Ubuntu running, it is time to install a few critical applications. The goal is to get to the point of logging moments offline, minimally.

It is best to perform the following steps on a *live* instance, just incase you install something you didn't mean to.

There are some general system settings that are good to take care of first:

Configure gedit to insert a date, timestamp in the correct format (from moments/editors/gedit.txt)

Gedit ships with a plug-in that is enabled by default for inserting the date and time.
This functionality can be found under:
Edit->Insert Date and Time...

Edit->Preferences->Plugins->Insert Date/Time->Configure Plugin
To conform to the moments date/timestamp, use a custom format as follows:


------------------------------
Once you have a fresh instance of Ubuntu running, it is time to install a few critical applications. The goal is to get to the point of logging moments offline, minimally.

It is best to perform the following steps on a *live* instance, just incase you install something you didn't mean to.

There are some general system settings that are good to take care of first:

Configure gedit to insert a date, timestamp in the correct format (from moments/editors/gedit.txt)

Gedit ships with a plug-in that is enabled by default for inserting the date and time.
This functionality can be found under:
Edit->Insert Date and Time...

Edit->Preferences->Plugins->Insert Date/Time->Configure Plugin
To conform to the moments date/timestamp, use a custom format as follows:


consider:
python-uno - Python interface for OpenOffice.org
python-django - A high-level Python Web framework
python-twill - A simple scripting language for Web browsing

gimp-python - Python support and plugins for The GIMP
python-lame - Python bindings for LAME
python-pygame - SDL bindings for games development in Python

pyslide - Tiny but powerful program to make animated presentations


python-avahi - Python utility package for Avahi

python-profiler - deterministic profiling of any Python programs

supybot - robust and user friendly Python IRC bot

solfege - Ear training program for GNOME2
renpy - framework for developing visual-novel type games
rekall - graphical database front-end

rats - Rough Auditing Tool for Security
pyxmms-remote - command-line interface to XMMS
python-xmms - Python interface to XMMS
pythoncad - Computer Aided Drafting (CAD) program
python-yapgvb - Python bindings for Graphviz, using Boost.Python
python-xapian - Xapian search engine interface for Python
python-xen-3.1 - python bindings for Xen, a Virtual Machine Monitor
python-vobject - parse iCalendar and VCards in python
python-vipscc - image processing system good for very large images (tools)
python-urljr - Common interface to urllib2 and curl for making HTTP requests
python-tofu - high-level network game engine for Python
python-tunepimp - Python bindings for MusicBrainz tagging library
python-turbogears - Python-based web framework
python-tclink - TrustCommerce credit card processing for Python
python-tables - hierarchical database for Python based on HDF5
python-svn - A(nother) Python interface to Subversion
python-sqlite - python interface to SQLite 2
python-soya - high level 3D engine for Python
python-soya-doc - high level 3D engine for Python
python-slides - Python-based Slide Maker
python-scapy - Packet generator/sniffer and network scanner/discovery
python-pyxmpp - XMPP and Jabber implementation for Python
python-pyxmpp-doc - XMPP and Jabber implementation for Python (documentation)
python-pyxine - interface to the xine media player for Python
python-pyusb - USB interface for python
python-pyrss2gen - A Python interface for generating RSS 2.0 feeds

python-pykaraoke - free CDG/MIDI/MPEG karaoke player
python-pygraphviz - Python interface to the Graphviz graph layout and visualization package
python-pydot - Python interface to Graphviz's dot

python-prelude - Hybrid Intrusion Detection System [ Base library ]
python-preludedb - Hybrid Intrusion Detection System [ Base library ]
python-pmock - Python module for unit testing using mock objects
python-ncrypt - python wrapper for OpenSSL

python-mode - Emacs-lisp python-mode and doctest-mode for the Python language
python-ldaptor - Pure-Python library for LDAP

doxygen - Documentation system for C, C++, Java, Python and other languages
doxygen-doc - Documentation for doxygen
epydoc-doc - official documentation for the Epydoc package
python-moinmoin - Python clone of WikiWiki - library

moinmoin-common - Python clone of WikiWiki - common data
python-cddb - Python interface to CD-IDs and FreeDB
python-crypto - cryptographic algorithms and protocols for Python
python-doc - Documentation for the high-level object-oriented language Python
python-docutils - Utilities for the documentation of Python modules
python-epydoc - tool for generating Python API documentation

python-geoip - python bindings for the GeoIP IP-to-country resolver library
python-geoip-dbg - python bindings for the GeoIP IP-to-country resolver library
(debug extension)
python-imaging - Python Imaging Library
python-jabber - Python module for the Jabber instant messaging platform
python-ldap - An LDAP interface module for Python
python-mutagen - audio metadata editing library
python-mechanize - stateful programmatic web browsing
python-mysqldb - A Python interface to MySQL

python-paramiko - make SSH2 connections with python
python-reportlab - ReportLab library to create PDF documents using Python
python-eyed3 - Python module for id3-tags manipulation
python-json - a JSON (http://json.org) reader and writer in Python
python-paste - Tools for using a Web Server Gateway Interface stack
python-pastedeploy - Load, configure, and compose WSGI applications and servers
python-pastescript - serving web applications, creating file layouts for python packages
python-pastewebkit - port/reimplementation of Webware WebKit in WSGI and Paste
python-openid - OpenID support for servers and consumers
python-pymad - Python wrapper to the MPEG Audio Decoder library
python-sqlobject - python module for SQLObject

python-stats - A collection of statistical functions for Python
python-scgi - Server-side implementation of the SCGI protocol
python-quixote - A highly Pythonic Web application framework
python-quixote-doc - Quixote web application framework documentation
python-ipod - ipod library
python-id3 - Python module for id3-tags manipulation
bicyclerepair - A refactoring tool for python
ipython - enhanced interactive Python shell

eikazo - graphical frontend for SANE designed for mass-scanning
nicotine - graphical client for the SoulSeek peer-to-peer system

python-asterisk - Asterisk Manager API interface module for Python
python-aubio - python interface for aubio, a library for audio segmentation
python-audit - Python bindings for security auditing


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


Change trackpad settings / mouse sensitivity

Apply any machine specific configurations as needed. (e.g. thinkpad-configure.txt)

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

Change Desktop background / wallpaper.

Under "System Settings"->"Screensaver", uncheck "Lock screen when screensaver is active"

Change terminal profile settings"
"Edit"->"Profile Preferences..."
Under "Colors" tab,
disable "Use colors from system theme"
just use white on black
and set the background transparency to about 85%

Create a default .hgrc file:
vi ~/.hgrc

[ui]
username = Firstname Lastname
ui.report_untrusted = False

This can be overridden on a repository by repository basis with the file:
/.hg/hgrc

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

Connect to a wireless network.


export VERSION=11.04
export PREVIOUS=10.04

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

#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:
export USBPATH=/c


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

sudo chmod -R 777 /c
cd $ARCHIVEPATH
#start with a fresh copy of sources.list (will update later)
cp /etc/apt/sources.list $ARCHIVEPATH/sources.list

#be sure to clean up any updates that have already been downloaded previously
ls /var/cache/apt/archives/
#shouldn't have anything with clean system:
#mkdir updates-existing
#sudo mv /var/cache/apt/archives/*.deb updates-existing/



sudo apt-get update

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

#get base system updates
#(do not do this first on a live instance)
sudo apt-get upgrade -y -d
mkdir updates
sudo mv /var/cache/apt/archives/*.deb updates/
#to apply immediately
#sudo dpkg -i updates/*.deb

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

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

#don't forget mozilla configs... either from scratch:
#see firefox.txt then copy for future installs:
cp -r ~/.mozilla $ARCHIVEPATH/.mozilla
#or copy previous:
#cp -r $ARCHIVEPATH/.mozilla ~/.

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

#now is a good time to run startup.sh




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


Change trackpad settings / mouse sensitivity

Apply any machine specific configurations as needed. (e.g. thinkpad-configure.txt)

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

Change Desktop background / wallpaper.

Under "System Settings"->"Screen", uncheck "Lock"

Change terminal profile settings"
"Edit"->"Profile Preferences..."
Under "Colors" tab,
disable "Use colors from system theme"
just use white on black
and set the background transparency to about 85%

Create a default .hgrc file:
vi ~/.hgrc

[ui]
username = Firstname Lastname
ui.report_untrusted = False

This can be overridden on a repository by repository basis with the file:
/.hg/hgrc

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

Connect to a wireless network.



export VERSION=11.10
export PREVIOUS=11.04

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

#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:
export USBPATH=/c


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

sudo chmod -R 777 /c
cd $ARCHIVEPATH
#start with a fresh copy of sources.list (will update later)
cp /etc/apt/sources.list $ARCHIVEPATH/sources.list

#be sure to clean up any updates that have already been downloaded previously
ls /var/cache/apt/archives/
#shouldn't have anything with clean system:
#mkdir updates-existing
#sudo mv /var/cache/apt/archives/*.deb updates-existing/



sudo apt-get update

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

#get base system updates
#(do not do this first on a live instance)
sudo apt-get upgrade -y -d
mkdir updates
sudo mv /var/cache/apt/archives/*.deb updates/
#to apply immediately
#sudo dpkg -i updates/*.deb
#check for any problems... if so:
#sudo apt-get -f install
#mkdir updates2
#sudo mv /var/cache/apt/archives/*.deb updates2/

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

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

#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 https://pyglet.googlecode.com/hg/ $USBPATH/pyglet/

#don't forget mozilla configs... either from scratch:
#see firefox.txt then copy for future installs:
cp -r ~/.mozilla $ARCHIVEPATH/.mozilla
#or copy previous:
#cp -r $ARCHIVEPATH/.mozilla ~/.


#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 startup.sh




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


Change trackpad settings / mouse sensitivity

Apply any machine specific configurations that are needed to function immediately. (e.g. thinkpad-configure.txt)

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


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

Connect to a wireless network.


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:
startup.sh

Connect to a wireless network.


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:
startup.sh

Connect to a wireless network.