- Starting the Installation
- Configuring the sis 771 video card
- Modifying the repositories
- Installing the ubuntu-restricted-extras package
- Installing multiple applications at once
- Configuring the desktop
- Installing Chrome extensions
- Terminal Settings
- Colored Manual Pages (man)
There is also a portuguese version available.
This article describes my update guide of my personal computers with Ubuntu LTS 10.04 Lucid Lynx. This is the third edition of this article. The old ones covered versions 9.04 and 9.10. I usually use many applications beyond the standard installation, either for private use, testing or even for use in classes that I used to teach. So every six months, when a new version of Ubuntu comes out, I do a complete reinstallation of my computers. Currently I have a notebook for use at work and another for home, with my family. I also usually adapt these computers the way i like, and when I reinstall them, I need to go in search of changes I had done.
So, I decided to carefully take notes of every change made to the installation. This script was created considering my needs, but can be adapted to meet other people's. I also realized that with each new version of Ubuntu, some settings I'd done before, now come as standard. Maybe in the future this script can be reduced to simply a list of applications to be installed.
I tried to make the tips short. If you find any that seem incomplete, please let me know and I'll try to explain better. To make corrections or suggest other settings, send me a comment. I will gladly read and answer it.
I will not describe the installation. I recommend you to leave a partition of about 25GB for the system, a swap partition with the size of your RAM and a separate data partition (if you have dual boot with Windows, leave the data partition as NTFS or FAT32). The usb flash's installation is much faster than by CD. I recommend setting aside a 1 GB flash drive just for that.
In my case, I have a Positivo notebook with a Sis 771/671 video card. The driver has been changed for Ubuntu 10.04 but there is already a tutorial that works just fine.
To generate the list of repositories I'm using Ubuntu Source List Generator:
On the website, you define the country and the repositories you want and it creates a sources.list file. You need to replace the contents of your sources.list file with this new content. To do this, open a terminal or press Alt + F2 (run application) and type (or paste) this line:
gksu gedit /etc/apt/sources.list
Remove the entire contents of the file and replace with the one generated by the site. Once you've updated the list of repositories, upgrade the system. In a terminal, type:
sudo aptitude update && sudo aptitude full-upgrade
This will cause your system to be updated with the latest version of the packages. It should download and update hundreds of megabytes, depending on the age of your installation.
My sources.list file, after created and modified, is this .
From that point on, you can install other programs, fonts, drivers, codecs and everything else.
sudo aptitude install ubuntu-restricted-extras
- Icon Help
- Default Gnome Menu
- Gnome Main Menu (reduced)
- Workspace switcher
- System Monitor
- Window List (optional)
- Change theme and wallpaper (I'm using the Radiance theme)
- Enable effects (if your hardware supports them)
Bash history: add to ~/.bashrc:
- Aliases: uncomment or add the following lines to ~/.bashrc:
if [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias ll='ls -lh' alias la='ls -A' alias l='ls -CF' alias ..='cd ..'
- Create or edit ~/.inputrc:
set completion-ignore-case On
"\ E [B": history-search-forward
"\ E [A": history-search-backward
sudo aptitude install texlive texlive-humanities texlive-lang-portuguese babel latex-beamer \
abntex aspell-en gedit-plugins gedit-latex-plugin rubber texmaker
sudo aptitude install most & & sudo update-alternatives - config pager
sudo aptitude install bpython ipython python-django python-sqlite
sudo aptitude install gedit-plugins gedit-latex-plugin
Enable plugins and modify settings. Gedit can be a great editor for programming, writing web pages and manipulating configuration files. Make the following settings:
- Edit - Preferences - View: Check all
- Edit - Preferences - Editor:
- Set the tab width to 4
- Check "Insert spaces instead of tabs"
- Check "Enable automatic indentation"
- Edit - Preferences - Plugins. Enable the following plugins:
- Quick release
- Change captions
- Comment code
- Designing spaces
- Smart Spaces
- Closing brackets (make sure you like this feature before activating)
- Panel File Browser (enable the panel with F9)
- Spelling Checker
Install other plugins manually from the Gedit site:
Create symbolic links to folders
Default: ln -s target
sudo rm -rf /usr/local/bin && ln -s /data/Dropbox/downloads/scripts /usr/local/bin
sudo rm -rf Documents Music Pictures Public Templates Videos
ln -s /data/Dropbox/classes/ ln -s /data/images/ ln -s /data/Videos/ ln -s /data/videos/movies/ ln -s /data/Music/ ln -s /data/series/
- Change encoding to utf-8
- Go to Settings - Options - Registration and enable logging
Thanks to Augusto Campos, Eduardo da Silva, Ricardo Bánffy and Rodrigo Bernardes Pimentel for reading earlier versions of this guide.