Labello
July 10th, 2009, 07:54 PM
http://files.getdropbox.com/u/416097/tut/start.png
In this tutorial I will try to show you how to install and setup a whole ubuntu system. You might ask what is supposed to be so special about it. Special about it is that we will somehow build it "from the ground up". We will start with a very minimalistic installation and will expand the functionality step by step. It will take longer to have a running production system than the normal ubuntu installation via liveCD. But therefore it will be much more customized to fit just your needs which will result in shorter boottime, less ressource consumption and an all in all more responsive system. But we wont stop at the general package and system config. I will show you how to get an effective compiz-configuration that is aiming at workflow without blowing up your PC and an all in all good looking OS that is enyojable to work with.
This is my first tutorial in the Open Source world. I see it like paying back for the great software that I am allowed to use. I have been using Ubuntu since Feisty Fawn (7.04 I think) and I fell in love with it from the first moment on. I did reinstall Ubuntu about uncountable times. Kubuntu, Xubuntu, UbuntuStudio, Linux Mint, CrunchBang Linux and of course the standart Ubuntu. And everytime I came closer to the "Perfect Desktop". I fiddled around with many apps and configs which where aiming at improving my workflow with the whole system. And now I feel somehow ready enough to let you know what my experiments resulted in.
Before you start following this guide you should take a look at the end and browse through my instructions to get a clue what I will be coming up with and whether this fits your needs and taste. Feel free to post some proposals to make it even better. I will add them to this post.
MOREOVER I ASK YOU TO BACK UP ALL YOUR SENSITIVE DATA! Something might go wrong especially during partitioning and you might get lost in tears afterwards.
Prerequisites:
You should know how to use a commandline and know what repositories are and how to deal with them. Moreover you should have a graphicscard that has full 3D-support and can handle compositing. Therefore a computer not older than four years will do fine in this guide. Then you should be able to connect to the internet during the setup. Best should be a wired connection to make sure that it works flawlessly out of the box.
Terminology:
BOLD headlines indicate 100% neccessary steps you must follow!
ITALIC headlines indicate steps that are useful but not neccessary.
Applies for:
Ubuntu Jaunty Jackalope 9.04 32Bit (no other machine here to test it)
1. Download the Jaunty Jackalope Alternate ISO
Go here (http://releases.ubuntu.com/jaunty/) and fetch the ubuntu-9.04-alternate-i386.iso via torrent or direct download. Whichever you prefer. Burn the ISO on CD and boot from it.
2. Install the basic CLI-System
After having chosen your language you should press F4 and choose to install a "Command Line System". This system will provide you with some CLI tools to do pretty a lot of stuff. Upgrading and installing packages and networking(wired) are the most important things we will need for now. Now choose "Install Ubuntu".
http://files.getdropbox.com/u/416097/tut/1.png
If you have already used the alternate installation you can savely go to the partitioning chapter. If not we do a step by step installation supported with screenshots (when needed) in the following paragraphs.
Now you are asked to choose your language and location and detect your keyboard-layout. this should be rather easy and is intuitively done by following the instructions on the screen.
Now you are asked to type the hostname. choose a representative hostname and proceed.
2.1.Partitioning
Be careful with this step. It is destructive! Which means that if you do something wrong important data might be erased and you should really have backed it up before starting this guide.
Let's divide up the disk. I will show you my way of doing it, but you are free to choose whatever you want that fits your needs. Choose the "Manual" partitioning method and afterwars you see the following screen:
http://files.getdropbox.com/u/416097/tut/2.png
(I must note that the screens of this guide where done with virtualbox and there I don't have that much diskspace. But 40GB should be enough to handle my setup)
If there is no free space delete all partitions that you want to use for this installation. If there already is a swap partition you can leave this of course.
Now select the free space and create a new partition. Enter the size of this partition. This will be our root-partition and therefore all programms will be stored here. 20GB should be a good choice. I would not choose less because if you want to burn DVDs or encode videoclips you might be running out of temporary disk space which would be bad. Our final result won't consume more than 6GB.
http://files.getdropbox.com/u/416097/tut/3.png
The "noatime" mountoption should be applied. It should make the filesystem a bit faster. It also could be applied after the installation but this would be a greater effort.
The next two steps should be done with Primary and Beginning. Now we come to the settings. Since we are on Jaunty it might be a good choice to use Ext4 but if you encountered any problems with it or havent use jaunty till now, please choose Ext3. Your setup should look exactly as follows:
http://files.getdropbox.com/u/416097/tut/4.png
Now we proceed with the home-partition. You might ask yourself why one would want to use a seperate home-partition. It is rather easy. Linux does not only store your private data like pics and music in the /home-folder. Also many configuration files for your applications like bookmarks and pidgin-accounts. So if you want to reinstall the whole system these config files won't get lost. Also you don't have got to backup your private data before any major system changes.
Create the /home-partition in a size that allows you to create a swap-partition (if you don't already have one) with twice the size of your RAM with the following settings: (Note this partition should be a logical one)
http://files.getdropbox.com/u/416097/tut/5.png
Now create a swap partition with the left over disk space and finish partitioning.
http://files.getdropbox.com/u/416097/tut/6.png
It should take now some time to install the packages. Afterwards you will be asked to type your full name and account-name and password. This will be the first user of your system that you can use to login after your first reboot. It is pretty similar to the Live-CD. And you can choose whether you want to encrypt your home-directory but this was rather buggy with jaunty and for a save conguration you should not enable encryption. Now the setup will try to fetch some updates from a mirror and install more packages. Congrats! Just one more hit on Return to confirm setting the clock to UTC and then you are finished with the setup!
3. Update and add packages
After having completed the installation and having rebooted you will be confronted with an simple CLI:
http://files.getdropbox.com/u/416097/tut/7.png
Please log in with your user created during setup. Now we will first update all installed packages by invoking the following:
sudo apt-get update
sudo apt-get upgrade
So let's get started and install some really fundamental things:
sudo apt-get install xorg gdm gnome-session gnome-terminal gnome-menus gnome-panel nautilus metacity gedit
This step might take a bit since there are about 120MB to be downloaded and many dependencies to be installed. But this is okay and truly neccessary. Now we can do a reboot to get some GUI via:
sudo shutdown -r now
The login screen should appear and let you log in. After log in you should see a rather ugly gnome-desktop without that much functionality. But we are about to change that fact:
http://files.getdropbox.com/u/416097/tut/8.png
4. Setup your needed configurations
Now you should be configuring things like your graphics-card or wifi if it is not supported out of the box! Therefore you should use your individual methods which can not be covered in this guide. My ATI FireGL 5200 works fine with the opensource drivers.
5. Add repositories and update again
Now we will be expanding our package sources to obtain some never packages and some additional ones. Type into the terminal:
sudo gedit /etc/apt/sources.list
And copy there the following lines at the beginning of the file:
IMPORTANT: Especially the repository that contains the newer xorg-packages should be handled carefully. It might break your config and render your PC unbootable. If you know that your xorg config is always very fragile and hard to setup correctly you should not add this repo. But if your graphicscard is detected out of the box then this packages might bring some additional performance.
deb http://getswiftfox.com/builds/debian/ unstable non-free #linux optimized Firefox-Build
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ jaunty main #bleeding edge x.org-stuff
deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ jaunty main
deb http://ppa.launchpad.net/transmissionbt-nightly/ppa/ubuntu/ jaunty main #bleeding edge transmission
deb-src http://ppa.launchpad.net/transmissionbt-nightly/ppa/ubuntu/ jaunty main
deb http://ppa.launchpad.net/fta/ppa/ubuntu/ jaunty main #repo for thunderbird 3 builds
deb-src http://ppa.launchpad.net/fta/ppa/ubuntu/ jaunty main
deb http://ppa.launchpad.net/do-core/ppa/ubuntu jaunty main #gnome-do repo
deb-src http://ppa.launchpad.net/do-core/ppa/ubuntu jaunty main
deb http://packages.medibuntu.org/ jaunty free non-free #medibuntu for more codecs and skype
deb http://ppa.launchpad.net/compiz/ppa/ubuntu jaunty main #never compizbuilds
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu jaunty main
TwiceOver was so kind to fiddle around with the repos and here you can get the signatures. THANKS TWICEOVER!
Here are the keys for the PPAs listed in the OP (add them using the below command and change the 'xxxxx' to the key you want to add:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com xxxxxxxx
xorg-edgers: 8844C542
transmission-nightly: 22202A6B
fta: 0C713DA6
do-core: 77558DD0
compiz: 42C24D89
Pidgin PPA: A1F196A8
Medibuntu: sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
It is time for another update:
sudo apt-get update
sudo apt-get upgrade
Now let's install more packages:
sudo apt-get install evince pidgin pidgin-libnotify notify-osd thunderbird-3.0 compiz compizconfig-settings-manager simple-ccsm gnome-do vlc vlc-plugin-pulse brasero pulseaudio padevchooser paprefs pavucontrol flashplugin-nonfree-extrasound rhythmbox transmission bum prelink preload readahead cups openoffice.org gthumb file-roller gdebi
Again this will install a huge bunch of stuff and will take some time to complete.
A browser is still missing. Therefore you should first check which architecture you are running on and then choose the appropriate package. You can check it out on the following page:
http://getswiftfox.com/deb.htm
Now you can use the commandline and apt-get to install the right package.
If you are using a laptop or netbook you might need wifi. To get this use the packages TwiceOver proposed:
Here's some things I also needed.
network-manager <--This is the network and wireless manager
restricted-manager <--This is the restricted drivers manager
Install these packages by invoking the following:
sudo apt-get install network-manager restriced-manager
I have got to thank TwiceOver again for his efforts.
Not really needed but good applications
Here are some proposals that I have installed on my machine but it will certainly differ from your needs depending on what you are using your PC for.
sudo apt-get install gimp blender inkscape scribus agave kino skype-static-oss nautilus-image-converter
Since we are on Jaunty and there are real problems between skype and pulseaudio you should use the OSS-version that will work only when it is the only programm using the soundcard. The nautilus-image-converter package adds two entries in the nautilus contextmanu that come really handy when you want to batchprocess some images to rotate or scale them. Pretty handy stuff.
If you want to convert video-cips I would recommend the following application:
http://gtk-apps.org/content/show.php/Hyper+Video+Converter?content=88970
There you should follow the instructions for "debian & friends" to install it properly.
As you can see I try to use few programms but ones that can do a lot. Like VLC-Player oder the OpenOffice-Suite. This keeps it simple and you don't have got to get familiar with that many apps.
6. Tweak the system performance
First we will tweak the boot-process a bit and the overall performance. To do this invoke the following:
sudo bum
This will bring up the bootupmanager. Bum is a very handy tool to easily handle the system startup. But it also can make your system inoperable. So be carefull and follow my instructions carefully and exactly. This step will kick out some services that are not needed for ubuntu to work as a normal desktop system. The following screen shows the services that are needed to make the system run flawlessly:
http://files.getdropbox.com/u/416097/tut/9.png
All other services can be deactivated without causing you to much trouble. But anyway you are free to leave services that you really need activated. You can also switch them back on via bum anytime you want.
But still there are some more applications that can be left out from starting. But this time after login. To modify them go to "System" -> "Preferences" -> "Startup Applications". As far as I experienced most of them are not really needed and can be switched off except the following two:
-GNOME Keyring Daemon
-GNOME Settings Daemon
Disabling the rest will shave the time after login until your machine is really ready.
Everyone who is running a dualcore CPU or a HT CPU might fancy the next paragraph. The bootprocess can be also done cuncurrently which means that both processors are used simultaneously to run through the init-scripts which will result in a faster boot. This can be achieved easily by doing the following:
sudo gedit /etc/default/rcS
and now add the following line at the end of the file:
CONCURRENCY=shell
The next hint can be taken from the following forum post starting with step 3 since we already installed prelink:
http://ubuntuforums.org/showthread.php?t=1971
Now it might be time for a quick reboot. You should use this boot to profile the boot sequence by doing the following:
1. Wait until Grub shows up and interrupt the countdown now select the entry that boots the latest kernel end hit "e"
2. select the second line and hit "e" again
3. now add the word "profile" at the end of this line as shown in the next screenshot:
http://files.getdropbox.com/u/416097/tut/10.png
4. hit return to go back to the last menu
5. press "b" to boot
This boot will take a bit longer than normal but the next ones will be faster than before.
Prelinking and profiling should be done after every major system update. Profiling especially after a kernel update. For now we are finished with the speedups. I think these were the major ones and the ones that have the biggest effect.
7. Configure the system
1. PulseAudio
Go to "System" -> "Preferences" -> "Sound" and switch all "Sound Playback" and "Sound Capture" to "PulseAudio Sound Server". For Default Mixer Tracks you should choose the wanted channel is you have any Mediakeys on your Keyboard. Now click on the speaker icon in the gnome-panel to eventually setup some 5.1 sound or switch on micboost and so on.
Close the window and invoke in terminal:
pavucontrol
This is the most advanced way of managing sound volume and should be prefered over the gnome volume applet.
2. Again System Startup
Since we installed some apps and changed some settings after our last boot clean up you should recheck the two locations to be shure no unneccessary apps or daemons are started.
8. Eyecandy
Now it is time to give the system the final touch to make it a pleasure to work with it. I spend hours looking for a good icontheme and a fitting GTK+Metacity theme that look modern and are complete. I came up with the following ones:
1. Icons
Mashup is definately one of the best, most complete and neatest icon-sets out there so I chose this one. Here is the Download-Link:
http://cid-cf78487abe44ffc6.skydrive.live.com/self.aspx/espressivo/Mashup-FIVE-update.tar.bz2
Save the file, go to "System" -> "Preferences" -> "Appearance" and drag the archive from the filemanager into that window. And now build the five different flavours:
cd ~/.icons/Mashup
./mashupfive.sh build
Now go back to "Appearance" and choose one of the five iconsets.
2. GTK + Metacity
First we need to install some engines to make my chosen theme work via:
sudo apt-get install gtk2-engines-murrine gtk2-engines
And now save the following file for the system-Look:
http://gnome-look.org/content/download.php?content=107301&id=1&tan=57662189&PHPSESSID=8a4f2bed556a791ee1c437acd479ed14
Install this theme like the icon theme before via drag and drop. If the theme is not applied you must click on "Customize" and select "Natty" at "Controls" and "Window Border"
3. Compiz
Since you should be using a pretty new machine you could afford it to invest a tiny little bit of your CPU cycles for some more sophisticated eyecandy and switch to compiz. This can be done by reverting to the "Appearance"-Window and choose the "Visual Effects"-Tab and choose the option at the bottom called "Custom". Now navigate to "System" -> "Preferences" -> "CompizConfig Settings Manager". I created a custom profile that you can import via "Preferences" and by hitting "Import". Save the following file so that you can import it:
http://files.getdropbox.com/u/416097/tut/compiz_config.profile
I tried to used as few plugins as possible and as many as needed. Some important keybindings are:
-Alt + Tab
-Ctrl + Tab
-Move the mouse to the upper left screen edge, hold down Ctrl and press your first mousebutton
4. Gnome-Do
Well. This chapter is the last one. You might try to cruzify me or not but here we will try to replace the gnome-panels with another dock entirely! Therefore we will need Gnome-Do. So open it up and open the preferences dialogue with a rightklick in the small arrow and setup the "Appearance"-Tab like this:
http://files.getdropbox.com/u/416097/tut/11.png
On the plugins tab you should enable the following plugins:
-Archive
-CPU Monitor Docklet
-Files and Folders
-Firefox
-Gnome Session Management
-Gnome Terminal
-Google Maps
-Google Search
-Locate Files
-Pidgin
-Rhythmbox
-Switcher Docklet
-Thunderbird
-Volume Control Docklet
-Weather Docklet
-WindowManager
Don't hesitate to try out all the others but these ones I do consider to be the most useful. Go back to the "Appearance" tab and activate all the docklets except the battery docklet which is just useful on a laptop. But if you have one - go and get it! We are nearly finished. Now you might ask yourself how to work with gnome-do. it is very intuitive once you got the concept. hit the button on the very left and start typing an application name like: "swi" and the proposal will show swiftfox. Just hit return and it will open up.
Now also open up thunderbird 3 by typing "shre" and hitting return. This also works with the names of entries in the "Preferences" and "Administration" menus of the gnome menus. When you move the pointer above the swiftfox and thunderbird icons you might see that they look REALLY trashy. we should fix this issue by first choosing appropriate icons. These icons are delivered by mashup but since both programms are not standart the icons are just not used:
-type "home" into gnome-do and you should be able to open your home folder via gnome-do
-navigate into ~/.icons/Mashup-1/apps
-choose a icon for thunderbird and the invoke:
sudo cp /home/seb/.icons/Mashup-1/apps/*filename*.png /usr/share/pixmaps/thunderbird-3.0.png
sudo cp /home/seb/.icons/Mashup-1/apps/firefox-icon.png /usr/share/pixmaps/swiftfox.png
5. Clean Up
Before cleaning up make shure that you told Gnome-Do to start after login in do's preferences window and check it in the "Startup Applications".
Since we don't need the gnome-panels anymore we can delete the one at the bottom and also delete all the applets in the top panel.
Now there are two ways of handling the last panel. Either you remove the gnome-panel entirely via:
sudo apt-get remove gnome-panel
Or you just make the launcher unexecutable by doing the following:
-invoke:
sudo nautilus /usr/bin
-look for the gnome-panel executable
-rightklick on the file, choose "Properties" and uncheck the box in the "Permissions" tab to render it unexecutable
-close the filemanager with root permissions
Or you can just make it nearly unnoticeable:
-go into the preferences of the last remaining panel and set its color to full transparency.
-Now type "gconf-editor" into gnome-do and hit return.
-use the tree to navigate to: /apps/panel/toplevels/*** <-- should be just one panel
-put the settings like in the following screen:
http://files.getdropbox.com/u/416097/tut/12.png
9. Conclusion
Now this is it! We are done. First I have got to thank you for reading my guide and I would like to read some helpful comments on my first guide ever. Since this is a very up to date tutorial I will try to keep it like that with regular updates and improvements. So please feel free to give me some hints how to make the system even better. Thanks again!
Labello
In this tutorial I will try to show you how to install and setup a whole ubuntu system. You might ask what is supposed to be so special about it. Special about it is that we will somehow build it "from the ground up". We will start with a very minimalistic installation and will expand the functionality step by step. It will take longer to have a running production system than the normal ubuntu installation via liveCD. But therefore it will be much more customized to fit just your needs which will result in shorter boottime, less ressource consumption and an all in all more responsive system. But we wont stop at the general package and system config. I will show you how to get an effective compiz-configuration that is aiming at workflow without blowing up your PC and an all in all good looking OS that is enyojable to work with.
This is my first tutorial in the Open Source world. I see it like paying back for the great software that I am allowed to use. I have been using Ubuntu since Feisty Fawn (7.04 I think) and I fell in love with it from the first moment on. I did reinstall Ubuntu about uncountable times. Kubuntu, Xubuntu, UbuntuStudio, Linux Mint, CrunchBang Linux and of course the standart Ubuntu. And everytime I came closer to the "Perfect Desktop". I fiddled around with many apps and configs which where aiming at improving my workflow with the whole system. And now I feel somehow ready enough to let you know what my experiments resulted in.
Before you start following this guide you should take a look at the end and browse through my instructions to get a clue what I will be coming up with and whether this fits your needs and taste. Feel free to post some proposals to make it even better. I will add them to this post.
MOREOVER I ASK YOU TO BACK UP ALL YOUR SENSITIVE DATA! Something might go wrong especially during partitioning and you might get lost in tears afterwards.
Prerequisites:
You should know how to use a commandline and know what repositories are and how to deal with them. Moreover you should have a graphicscard that has full 3D-support and can handle compositing. Therefore a computer not older than four years will do fine in this guide. Then you should be able to connect to the internet during the setup. Best should be a wired connection to make sure that it works flawlessly out of the box.
Terminology:
BOLD headlines indicate 100% neccessary steps you must follow!
ITALIC headlines indicate steps that are useful but not neccessary.
Applies for:
Ubuntu Jaunty Jackalope 9.04 32Bit (no other machine here to test it)
1. Download the Jaunty Jackalope Alternate ISO
Go here (http://releases.ubuntu.com/jaunty/) and fetch the ubuntu-9.04-alternate-i386.iso via torrent or direct download. Whichever you prefer. Burn the ISO on CD and boot from it.
2. Install the basic CLI-System
After having chosen your language you should press F4 and choose to install a "Command Line System". This system will provide you with some CLI tools to do pretty a lot of stuff. Upgrading and installing packages and networking(wired) are the most important things we will need for now. Now choose "Install Ubuntu".
http://files.getdropbox.com/u/416097/tut/1.png
If you have already used the alternate installation you can savely go to the partitioning chapter. If not we do a step by step installation supported with screenshots (when needed) in the following paragraphs.
Now you are asked to choose your language and location and detect your keyboard-layout. this should be rather easy and is intuitively done by following the instructions on the screen.
Now you are asked to type the hostname. choose a representative hostname and proceed.
2.1.Partitioning
Be careful with this step. It is destructive! Which means that if you do something wrong important data might be erased and you should really have backed it up before starting this guide.
Let's divide up the disk. I will show you my way of doing it, but you are free to choose whatever you want that fits your needs. Choose the "Manual" partitioning method and afterwars you see the following screen:
http://files.getdropbox.com/u/416097/tut/2.png
(I must note that the screens of this guide where done with virtualbox and there I don't have that much diskspace. But 40GB should be enough to handle my setup)
If there is no free space delete all partitions that you want to use for this installation. If there already is a swap partition you can leave this of course.
Now select the free space and create a new partition. Enter the size of this partition. This will be our root-partition and therefore all programms will be stored here. 20GB should be a good choice. I would not choose less because if you want to burn DVDs or encode videoclips you might be running out of temporary disk space which would be bad. Our final result won't consume more than 6GB.
http://files.getdropbox.com/u/416097/tut/3.png
The "noatime" mountoption should be applied. It should make the filesystem a bit faster. It also could be applied after the installation but this would be a greater effort.
The next two steps should be done with Primary and Beginning. Now we come to the settings. Since we are on Jaunty it might be a good choice to use Ext4 but if you encountered any problems with it or havent use jaunty till now, please choose Ext3. Your setup should look exactly as follows:
http://files.getdropbox.com/u/416097/tut/4.png
Now we proceed with the home-partition. You might ask yourself why one would want to use a seperate home-partition. It is rather easy. Linux does not only store your private data like pics and music in the /home-folder. Also many configuration files for your applications like bookmarks and pidgin-accounts. So if you want to reinstall the whole system these config files won't get lost. Also you don't have got to backup your private data before any major system changes.
Create the /home-partition in a size that allows you to create a swap-partition (if you don't already have one) with twice the size of your RAM with the following settings: (Note this partition should be a logical one)
http://files.getdropbox.com/u/416097/tut/5.png
Now create a swap partition with the left over disk space and finish partitioning.
http://files.getdropbox.com/u/416097/tut/6.png
It should take now some time to install the packages. Afterwards you will be asked to type your full name and account-name and password. This will be the first user of your system that you can use to login after your first reboot. It is pretty similar to the Live-CD. And you can choose whether you want to encrypt your home-directory but this was rather buggy with jaunty and for a save conguration you should not enable encryption. Now the setup will try to fetch some updates from a mirror and install more packages. Congrats! Just one more hit on Return to confirm setting the clock to UTC and then you are finished with the setup!
3. Update and add packages
After having completed the installation and having rebooted you will be confronted with an simple CLI:
http://files.getdropbox.com/u/416097/tut/7.png
Please log in with your user created during setup. Now we will first update all installed packages by invoking the following:
sudo apt-get update
sudo apt-get upgrade
So let's get started and install some really fundamental things:
sudo apt-get install xorg gdm gnome-session gnome-terminal gnome-menus gnome-panel nautilus metacity gedit
This step might take a bit since there are about 120MB to be downloaded and many dependencies to be installed. But this is okay and truly neccessary. Now we can do a reboot to get some GUI via:
sudo shutdown -r now
The login screen should appear and let you log in. After log in you should see a rather ugly gnome-desktop without that much functionality. But we are about to change that fact:
http://files.getdropbox.com/u/416097/tut/8.png
4. Setup your needed configurations
Now you should be configuring things like your graphics-card or wifi if it is not supported out of the box! Therefore you should use your individual methods which can not be covered in this guide. My ATI FireGL 5200 works fine with the opensource drivers.
5. Add repositories and update again
Now we will be expanding our package sources to obtain some never packages and some additional ones. Type into the terminal:
sudo gedit /etc/apt/sources.list
And copy there the following lines at the beginning of the file:
IMPORTANT: Especially the repository that contains the newer xorg-packages should be handled carefully. It might break your config and render your PC unbootable. If you know that your xorg config is always very fragile and hard to setup correctly you should not add this repo. But if your graphicscard is detected out of the box then this packages might bring some additional performance.
deb http://getswiftfox.com/builds/debian/ unstable non-free #linux optimized Firefox-Build
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ jaunty main #bleeding edge x.org-stuff
deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ jaunty main
deb http://ppa.launchpad.net/transmissionbt-nightly/ppa/ubuntu/ jaunty main #bleeding edge transmission
deb-src http://ppa.launchpad.net/transmissionbt-nightly/ppa/ubuntu/ jaunty main
deb http://ppa.launchpad.net/fta/ppa/ubuntu/ jaunty main #repo for thunderbird 3 builds
deb-src http://ppa.launchpad.net/fta/ppa/ubuntu/ jaunty main
deb http://ppa.launchpad.net/do-core/ppa/ubuntu jaunty main #gnome-do repo
deb-src http://ppa.launchpad.net/do-core/ppa/ubuntu jaunty main
deb http://packages.medibuntu.org/ jaunty free non-free #medibuntu for more codecs and skype
deb http://ppa.launchpad.net/compiz/ppa/ubuntu jaunty main #never compizbuilds
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu jaunty main
TwiceOver was so kind to fiddle around with the repos and here you can get the signatures. THANKS TWICEOVER!
Here are the keys for the PPAs listed in the OP (add them using the below command and change the 'xxxxx' to the key you want to add:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com xxxxxxxx
xorg-edgers: 8844C542
transmission-nightly: 22202A6B
fta: 0C713DA6
do-core: 77558DD0
compiz: 42C24D89
Pidgin PPA: A1F196A8
Medibuntu: sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
It is time for another update:
sudo apt-get update
sudo apt-get upgrade
Now let's install more packages:
sudo apt-get install evince pidgin pidgin-libnotify notify-osd thunderbird-3.0 compiz compizconfig-settings-manager simple-ccsm gnome-do vlc vlc-plugin-pulse brasero pulseaudio padevchooser paprefs pavucontrol flashplugin-nonfree-extrasound rhythmbox transmission bum prelink preload readahead cups openoffice.org gthumb file-roller gdebi
Again this will install a huge bunch of stuff and will take some time to complete.
A browser is still missing. Therefore you should first check which architecture you are running on and then choose the appropriate package. You can check it out on the following page:
http://getswiftfox.com/deb.htm
Now you can use the commandline and apt-get to install the right package.
If you are using a laptop or netbook you might need wifi. To get this use the packages TwiceOver proposed:
Here's some things I also needed.
network-manager <--This is the network and wireless manager
restricted-manager <--This is the restricted drivers manager
Install these packages by invoking the following:
sudo apt-get install network-manager restriced-manager
I have got to thank TwiceOver again for his efforts.
Not really needed but good applications
Here are some proposals that I have installed on my machine but it will certainly differ from your needs depending on what you are using your PC for.
sudo apt-get install gimp blender inkscape scribus agave kino skype-static-oss nautilus-image-converter
Since we are on Jaunty and there are real problems between skype and pulseaudio you should use the OSS-version that will work only when it is the only programm using the soundcard. The nautilus-image-converter package adds two entries in the nautilus contextmanu that come really handy when you want to batchprocess some images to rotate or scale them. Pretty handy stuff.
If you want to convert video-cips I would recommend the following application:
http://gtk-apps.org/content/show.php/Hyper+Video+Converter?content=88970
There you should follow the instructions for "debian & friends" to install it properly.
As you can see I try to use few programms but ones that can do a lot. Like VLC-Player oder the OpenOffice-Suite. This keeps it simple and you don't have got to get familiar with that many apps.
6. Tweak the system performance
First we will tweak the boot-process a bit and the overall performance. To do this invoke the following:
sudo bum
This will bring up the bootupmanager. Bum is a very handy tool to easily handle the system startup. But it also can make your system inoperable. So be carefull and follow my instructions carefully and exactly. This step will kick out some services that are not needed for ubuntu to work as a normal desktop system. The following screen shows the services that are needed to make the system run flawlessly:
http://files.getdropbox.com/u/416097/tut/9.png
All other services can be deactivated without causing you to much trouble. But anyway you are free to leave services that you really need activated. You can also switch them back on via bum anytime you want.
But still there are some more applications that can be left out from starting. But this time after login. To modify them go to "System" -> "Preferences" -> "Startup Applications". As far as I experienced most of them are not really needed and can be switched off except the following two:
-GNOME Keyring Daemon
-GNOME Settings Daemon
Disabling the rest will shave the time after login until your machine is really ready.
Everyone who is running a dualcore CPU or a HT CPU might fancy the next paragraph. The bootprocess can be also done cuncurrently which means that both processors are used simultaneously to run through the init-scripts which will result in a faster boot. This can be achieved easily by doing the following:
sudo gedit /etc/default/rcS
and now add the following line at the end of the file:
CONCURRENCY=shell
The next hint can be taken from the following forum post starting with step 3 since we already installed prelink:
http://ubuntuforums.org/showthread.php?t=1971
Now it might be time for a quick reboot. You should use this boot to profile the boot sequence by doing the following:
1. Wait until Grub shows up and interrupt the countdown now select the entry that boots the latest kernel end hit "e"
2. select the second line and hit "e" again
3. now add the word "profile" at the end of this line as shown in the next screenshot:
http://files.getdropbox.com/u/416097/tut/10.png
4. hit return to go back to the last menu
5. press "b" to boot
This boot will take a bit longer than normal but the next ones will be faster than before.
Prelinking and profiling should be done after every major system update. Profiling especially after a kernel update. For now we are finished with the speedups. I think these were the major ones and the ones that have the biggest effect.
7. Configure the system
1. PulseAudio
Go to "System" -> "Preferences" -> "Sound" and switch all "Sound Playback" and "Sound Capture" to "PulseAudio Sound Server". For Default Mixer Tracks you should choose the wanted channel is you have any Mediakeys on your Keyboard. Now click on the speaker icon in the gnome-panel to eventually setup some 5.1 sound or switch on micboost and so on.
Close the window and invoke in terminal:
pavucontrol
This is the most advanced way of managing sound volume and should be prefered over the gnome volume applet.
2. Again System Startup
Since we installed some apps and changed some settings after our last boot clean up you should recheck the two locations to be shure no unneccessary apps or daemons are started.
8. Eyecandy
Now it is time to give the system the final touch to make it a pleasure to work with it. I spend hours looking for a good icontheme and a fitting GTK+Metacity theme that look modern and are complete. I came up with the following ones:
1. Icons
Mashup is definately one of the best, most complete and neatest icon-sets out there so I chose this one. Here is the Download-Link:
http://cid-cf78487abe44ffc6.skydrive.live.com/self.aspx/espressivo/Mashup-FIVE-update.tar.bz2
Save the file, go to "System" -> "Preferences" -> "Appearance" and drag the archive from the filemanager into that window. And now build the five different flavours:
cd ~/.icons/Mashup
./mashupfive.sh build
Now go back to "Appearance" and choose one of the five iconsets.
2. GTK + Metacity
First we need to install some engines to make my chosen theme work via:
sudo apt-get install gtk2-engines-murrine gtk2-engines
And now save the following file for the system-Look:
http://gnome-look.org/content/download.php?content=107301&id=1&tan=57662189&PHPSESSID=8a4f2bed556a791ee1c437acd479ed14
Install this theme like the icon theme before via drag and drop. If the theme is not applied you must click on "Customize" and select "Natty" at "Controls" and "Window Border"
3. Compiz
Since you should be using a pretty new machine you could afford it to invest a tiny little bit of your CPU cycles for some more sophisticated eyecandy and switch to compiz. This can be done by reverting to the "Appearance"-Window and choose the "Visual Effects"-Tab and choose the option at the bottom called "Custom". Now navigate to "System" -> "Preferences" -> "CompizConfig Settings Manager". I created a custom profile that you can import via "Preferences" and by hitting "Import". Save the following file so that you can import it:
http://files.getdropbox.com/u/416097/tut/compiz_config.profile
I tried to used as few plugins as possible and as many as needed. Some important keybindings are:
-Alt + Tab
-Ctrl + Tab
-Move the mouse to the upper left screen edge, hold down Ctrl and press your first mousebutton
4. Gnome-Do
Well. This chapter is the last one. You might try to cruzify me or not but here we will try to replace the gnome-panels with another dock entirely! Therefore we will need Gnome-Do. So open it up and open the preferences dialogue with a rightklick in the small arrow and setup the "Appearance"-Tab like this:
http://files.getdropbox.com/u/416097/tut/11.png
On the plugins tab you should enable the following plugins:
-Archive
-CPU Monitor Docklet
-Files and Folders
-Firefox
-Gnome Session Management
-Gnome Terminal
-Google Maps
-Google Search
-Locate Files
-Pidgin
-Rhythmbox
-Switcher Docklet
-Thunderbird
-Volume Control Docklet
-Weather Docklet
-WindowManager
Don't hesitate to try out all the others but these ones I do consider to be the most useful. Go back to the "Appearance" tab and activate all the docklets except the battery docklet which is just useful on a laptop. But if you have one - go and get it! We are nearly finished. Now you might ask yourself how to work with gnome-do. it is very intuitive once you got the concept. hit the button on the very left and start typing an application name like: "swi" and the proposal will show swiftfox. Just hit return and it will open up.
Now also open up thunderbird 3 by typing "shre" and hitting return. This also works with the names of entries in the "Preferences" and "Administration" menus of the gnome menus. When you move the pointer above the swiftfox and thunderbird icons you might see that they look REALLY trashy. we should fix this issue by first choosing appropriate icons. These icons are delivered by mashup but since both programms are not standart the icons are just not used:
-type "home" into gnome-do and you should be able to open your home folder via gnome-do
-navigate into ~/.icons/Mashup-1/apps
-choose a icon for thunderbird and the invoke:
sudo cp /home/seb/.icons/Mashup-1/apps/*filename*.png /usr/share/pixmaps/thunderbird-3.0.png
sudo cp /home/seb/.icons/Mashup-1/apps/firefox-icon.png /usr/share/pixmaps/swiftfox.png
5. Clean Up
Before cleaning up make shure that you told Gnome-Do to start after login in do's preferences window and check it in the "Startup Applications".
Since we don't need the gnome-panels anymore we can delete the one at the bottom and also delete all the applets in the top panel.
Now there are two ways of handling the last panel. Either you remove the gnome-panel entirely via:
sudo apt-get remove gnome-panel
Or you just make the launcher unexecutable by doing the following:
-invoke:
sudo nautilus /usr/bin
-look for the gnome-panel executable
-rightklick on the file, choose "Properties" and uncheck the box in the "Permissions" tab to render it unexecutable
-close the filemanager with root permissions
Or you can just make it nearly unnoticeable:
-go into the preferences of the last remaining panel and set its color to full transparency.
-Now type "gconf-editor" into gnome-do and hit return.
-use the tree to navigate to: /apps/panel/toplevels/*** <-- should be just one panel
-put the settings like in the following screen:
http://files.getdropbox.com/u/416097/tut/12.png
9. Conclusion
Now this is it! We are done. First I have got to thank you for reading my guide and I would like to read some helpful comments on my first guide ever. Since this is a very up to date tutorial I will try to keep it like that with regular updates and improvements. So please feel free to give me some hints how to make the system even better. Thanks again!
Labello