#!/bin/bash
# Script to load a standard set of programs for Ocelot
# Last updated 16th October 2011 
echo 'This script will load my standard set of programs into Ubuntu 11.10 Oneiric Ocelot'
echo 'You should make sure you have enabled all the Repositories' 
echo 'INCLUDING the partners repository on Other Software'
echo 'and closed Software Sources - Confirm before proceeding (y or Ctrl C to exit)'
read yn

echo 'Do you want to install the Synaptic Package Manager and Unity/Compiz Support utilities? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install compizconfig-settings-manager dconf-tools gconf-editor gnome-tweak-tool synaptic dos2unix
fi
echo 'Do you want to load latest Linux headers? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install linux-headers-`uname -r`  
fi


echo 'Do you want to load driver building utilities? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install build-essential subversion compizconfig-settings-manager alien
fi

echo 'Do you want to install the Partition Manager? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install gparted
fi

echo 'Do you want to install the Start Up Manager? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install startupmanager
fi

echo 'Do you want to install Nautilus Preview (gnome-sushi)? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install gnome-sushi
fi

echo 'Do you want to install Samba? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install samba system-config-samba
fi
echo 'Do you want to install latest Wine and Associated fonts etc from wineHQ ppa - only do this once? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine 1.3 ttf-mscorefonts-installer
# sudo apt-get install wine ttf-mscorefonts-installer
fi
echo 'Do you want to install Sun Java 6 support? This will install ppa:ferramroberto/java first so only do once. (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin sun-java6-bin sun-java6-jre 
fi

echo 'Do you want to install Openjdj Java 6 support instead or as well?  (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install openjdk-6-jre
fi

echo 'Do you want to install Media playing support? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install rhythmbox exaile w32codecs and ubuntu-restricted-extras
fi
echo 'Do you want to install Rippers and MP3 support? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install ripperx lame sound-juicer
fi

echo 'Do you want to install DVD support? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install gxine and libxine1-all-plugins xine-ui libdvdcss2 libdvdread4 libdvdnav4
fi
echo 'Do you want to install UDF CD support for Windoz compatibility? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install libudf0 libudf-dev udftools
fi
echo 'Do you want to install f-spot photo manager? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install f-spot
fi

echo 'Do you want to install gimp? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install gimp gimp-help-en pandora
fi

echo 'Do you want to install Java support to Open Office for Grammar Checker etc?  (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install openoffice.org-java-common
fi


echo 'Do you want to install Adobe Acrobat reader, Acrobat font support and Flash support? You must enable the Ubuntu Partner Repository first. (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install acroread acroread-fonts adobe-flashplugin  
fi
echo 'Do you want to install the K3b CD/DVD writer support? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install k3b libk3b6-extracodecs
fi
echo 'Do you want to install Unison support? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install unison-gtk ssh winbind
fi

echo 'Do you want to install Gnome-PPP and the Netspeed AppIndicator? Only once as a PPA is added with indicator-sysmonitor (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo add-apt-repository ppa:alexeftimie/ppa
sudo apt-get update
sudo apt-get install indicator-sysmonitor dstat gnome-ppp
fi

echo 'Do you want to install  Cheese? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install cheese
fi

echo 'Do you want to install Web Support? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install kompozer gftp-gtk
fi

echo 'Do you want to install Google Earth? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install googleearth
fi

echo 'Do you want to install Trash Command Line Support? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install trash-cli
fi

echo 'Do you want to install Phone/Dongle SMS Support including Wammu PPA? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo add-apt-repository ppa:nijel/ppa && sudo apt-get update
sudo apt-get install gammu gnokii xgnokii gnome-phone-manager wammu
fi

echo 'Do you want to install extra themes? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install gnome-themes gnome-themes-extras gnome-themes-more humanity-icon-theme tango-icon-theme tango-icon-theme-extras human-theme tango-icon-theme-common 
sudo apt-get install tangerine-icon-theme
fi

echo 'Do you want to install scanner support? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install sane sane-utils xsane alien 
fi


echo 'Do you want to install TV support (Me-TV)? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install me-tv w-scan
fi
echo 'Do you want to install TV support (Kaffein 50 Mbyte Download but good quality)? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install kaffeine w-scan
fi
echo 'Do you want to install Zygrib Meterological GRIB file viewer? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install zygrib
fi

echo 'Do you want to install Synaptic Touchpad Support (laptops only)? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install gsysnaptics
fi

echo 'Do you want to install Mouseemu touchpad support (Wind only)? (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install mouseemu
fi


echo 'Do you want to install GNU backgammon (y/n)'
read yn
if [ "$yn" = "y" ] ; then
sudo apt-get install gnubg
fi

echo 'Hit return to finish'
read
 



