Ubuntu 13.04 personal post-installation mini guide

My usually desktop is XFCE. However, as usually, when a new version of Ubuntu is out. I will give it’s default desktop a try. Here is my note of how do I set it up.

1.1) enable Canonical’s ‘partner’ repository:

sudo nano /etc/apt/sources.list

1.2) uncomment the following lines ( Line 50 & 51 ):

deb http://archive.canonical.com/ubuntu raring partner
deb-src http://archive.canonical.com/ubuntu raring partner

2) For ATI users, you may want to use the latest driver:

sudo add-apt-repository ppa:xorg-edgers/ppa

3) To get the latest WineHQ:

sudo add-apt-repository ppa:ubuntu-wine/ppa

4) Then, update data base:

sudo apt-get update

5) (Optional) To find out what you have installed:

dpkg --get-selections | sed 's:install$::' > InstalledPackages.txt

6) Then, remove what I do not want:

sudo apt-get purge account-plugin-* aisleriot brltty deja-dup* example-content firefox-globalmenu firefox-gnome-support friendly-recovery gnome-contacts gnome-mahjongg gnome-mines gnome-orca gnome-sudoku gnomine ibus-pinyin* libreoffice* nano onboard rhythmbox* shotwell speech-dispatcher thunderbird* toshset totem unity-webapps-common

7) Then, upgrade system:

sudo apt-get dist-upgrade

8) Then, install what I want:

sudo apt-get install audacious cheese chromium-browser easytag fglrx-amdcccle gqview ibus-table-cangjie5 ibus-table-cantonhk ibus-table-quick5 ttf-mscorefonts-installer smplayer synaptic unrar vim virtualbox virtualbox-guest-additions-iso vlc winetricks

9.1) To remove “AMD Testing use only” watermark, copy the following text to a new text file,

echo "Come on AMD!"
for token in $DRIVER; do
    echo "Removing AMD logo from "$token
    for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
        sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER
echo "Reboot computer to finish"

9.2) Then, run your saved file:

sudo bash filename