Updated: Feb. 17, 2011, 11:40 a.m.

Ubuntu 10.10 on Lenovo x200

The ethernet seems to be unstable when connecting a device via the displayport.

Packages

sudo aptitude install \
vncviewer ssh sshfs rdesktop recordmydesktop \
subversion bzr git git-core mercurial \
autoconf \
pdftk gparted \
mysql-client mysql-query-browser mysql-navigator mysql-admin \
pidgin skype filezilla virtualbox-ose virtualbox-guest-additions \
flashplugin-nonfree sun-java6-jre sun-java6-plugin \
eclipse vim emacs emacs-goodies-el unrar wine vlc \
gnome-utils msttcorefonts \
dia texlive-science tetex-base tetex-extra lyx vim-gtk jabref flpsed \
nmap wireshark \
apt-proxy python-vm-builder ipython network-manager-pptp \
python-setuptools \
erlang erlang-mode \
pvm pvm-dev pvm-examples libpvm3 mpich2 \
libboost-dev \
terminator

Previously used

swi-prolog prolog-el \
ghc haskell-mode \
lazarus fp-compiler

And not in repos: "stiler.py" for simple window-tiling...

Third-party stuff

Chromium Browser - https://launchpad.net/~chromium-daily/+archive/ppa
Picasa - http://picasa.google.com/linux/
Komodo IDE - http://www.activestate.com/komodo-ide
XMind - http://www.xmind.net/downloads/

Various tweaks

sudo -i

# Start Virtualbox with qemu-kvm disabled
service qemu-kvm stop && VirtualBox

# Choose the sun java vm
update-alternatives --config java

# FuseFS
adduser safl fuse
# Uncomment "user_allow_other".
vim /etc/fuse.conf

# Battery tweaks (wrap them in a script somewhere)
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
echo 5 > /proc/sys/vm/laptop_mode
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy

# Disk tweak: add "noatime" to disk and use mem for tmp
vim /etc/fstab
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

# Fix keyboard layout, create ~/.xinitrc and populate it with:    
setxkbmap -option "ctrl:nocaps"
setxkbmap -layout "us,dk" -option "grp:alt_shift_toggle"
chown safl:safl .xinitrc
chmod +x .xinitrc
# Dual-head stuff... a nicer script should be used but knowing the command is handy
xrandr --output LVDS --mode 1280x800 --output VGA --mode 1920x1200 --right-of LVDS

Remember these...

.bazaar
.komodoide
.lyx
.mozilla
.mozilla-thunderbird
.mysqlgui
.ssh
.subversion
.VirtualBox
.vimrc
.bashrc
.Xdefaults

Thunderbird - Launch chromium-browser instead of firefox

 gconftool-2 --type string -s /desktop/gnome/url-handlers/http/command "chromium-browser %s"