So today I landed up reinstalling my Xubuntu 12.10 system on my laptop. So that I can remember all the packages and settings I have listed them here.
apt-get install gnome-terminal
apt-get install build-essential
apt-get install nasm
apt-get install vim
apt-get install nmap tcptraceroute
apt-get install ncurses-term
apt-get install radiotray
apt-get install tasksel
tasksel install lamp
apt-get install git-core curl mysql-client mysql-server libmysql-ruby libmysqlclient-dev
apt-get install openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config
apt-get install eclipse
apt-get install linux-source
apt-get install smartmontools
apt-get install openssh-server
apt-get install vlc
apt-get install gimp
apt-get install phpmyadmin
apt-get install libreoffice
apt-get install xubuntu-restricted-addons
apt-get install xubuntu-restricted-extras
apt-get install chromium-browser
apt-get install qtcreator
apt-get install filezilla
apt-get install pmidi openjdk-7-jdk nodejs htop p7zip
apt-get install mc
apt-get install libgraphicsmagick1-dev imagemagick
apt-get install libmagickwand-dev
apt-get install rdesktop
apt-get install chromium-bsu frozen-bubble zsnes dosbox
apt-get install calibre
apt-get install virtualbox
apt-get install ruby1.9.1-dev