Setting up Ubuntu on a ThinkPad

Scroll button

To enable the scroll button, add the bold lines to the “Configured Mouse” Input Devices section of /etc/X11/xorg.conf :

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
        Option		"EmulateWheel"		"on"
	Option		"EmulateWheelTimeOut"	"1"
        Option		"EmulateWheelButton"	"2"
        Option		"YAxisMapping"		"4 5"
        Option		"XAxisMapping"		"6 7"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Source: How to configure the TrackPoint

Firefox

Goto about:config in the location bar

To allow backspace to go back in history:
set browser.backspace_action = 0

To prevent horizontal scrolling from going back and forward in the history:
set mousewheel.horizscroll.withnokey.action = 0
set mousewheel.horizscroll.withnokey.numlines = 1
More info: Mousewheel.*

Misc

Goto System > Preferences > Keyboard > Layout Options > Ctrl Key Positions and select “Make CapsLock an additional Ctrl.”

Then read: Adventures in Linux with Ubuntu.

Everything else is just apt-get and a lifetime of learning.