<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ischg</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ischg"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Ischg"/>
	<updated>2026-04-09T15:15:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=28226</id>
		<title>Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=28226"/>
		<updated>2007-02-14T05:14:46Z</updated>

		<summary type="html">&lt;p&gt;Ischg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ubuntu Feisty Fawn is still under development (''alpha status'') and works fine on a T60 UT-049GE and 2007-72U. &lt;br /&gt;
&lt;br /&gt;
The installation worked without any problems. The new network manager is great as it now supports a useful roaming mode. The system runs stable since 3 days of work. No crash, no severe bugs. I would recommend it for experimental systems lovers. :)&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T60&amp;diff=27907</id>
		<title>Installation instructions for the ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T60&amp;diff=27907"/>
		<updated>2007-01-26T03:02:10Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Specific installation notes for the ThinkPad {{T60}}.&lt;br /&gt;
&lt;br /&gt;
==Distribution-specific instructions==&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
*{{Install|Ubuntu| 7.04 (Feisty Fawn)| T60}}&lt;br /&gt;
*{{Install|Ubuntu| 6.10 (Edgy Eft)| T60}}&lt;br /&gt;
*{{Install|Ubuntu| 6.06 Flight 5|T60}}&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
*{{Install|Fedora| Core 6| T60}}&lt;br /&gt;
*{{Install|Fedora| Core 5| T60}}&lt;br /&gt;
&lt;br /&gt;
=== openSUSE / SUSE LINUX ===&lt;br /&gt;
&lt;br /&gt;
*{{Install|Suse| 10.1| T60}}&lt;br /&gt;
*[[Installing openSUSE 10.2 on an IBM ThinkPad T60]]&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
&lt;br /&gt;
* For Gentoo, there exists [[Installation_instructions_for_the_ThinkPad_T60p|installation instructions for T60p]], the sister model.&lt;br /&gt;
&lt;br /&gt;
== Compatibility ==&lt;br /&gt;
* [http://www.emperorlinux.com/mfgr/lenovo/toucan/?tab=details&amp;amp;id=358 Thinkpad T60] page on [http://www.emperorlinux.com emperorlinux.com] (compatibility review and custom kernel)&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27906</id>
		<title>Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27906"/>
		<updated>2007-01-26T03:01:13Z</updated>

		<summary type="html">&lt;p&gt;Ischg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ubuntu Feisty Fawn is still in development (aka a ''beta version'') and appears '''not ready for installation''' (as of January 12, 2007). In particular, on a 2007-72U the installer crashed - see [https://launchpad.net/ubuntu/+source/ubiquity/+bug/79029 bug report]. The next beta releases are planned for February 1st and 15th, respectively (see [https://wiki.ubuntu.com/FeistyReleaseSchedule?highlight=%28feisty%29 Feisty Release Schedule]). The final release is planned for April 19th 2007.&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27904</id>
		<title>Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27904"/>
		<updated>2007-01-26T02:57:33Z</updated>

		<summary type="html">&lt;p&gt;Ischg: Installing Ubuntu 7.04 Herd 2 (Feisty Fawn) on a ThinkPad T60 moved to Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60: Original name was specific to a beta release of Feisty Fawn&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is obsolete and should be deleted (name is specific to a beta release of Ubuntu Feisty Fawn).&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_Herd_2_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27905</id>
		<title>Installing Ubuntu 7.04 Herd 2 (Feisty Fawn) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_Herd_2_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27905"/>
		<updated>2007-01-26T02:57:33Z</updated>

		<summary type="html">&lt;p&gt;Ischg: Installing Ubuntu 7.04 Herd 2 (Feisty Fawn) on a ThinkPad T60 moved to Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60: Original name was specific to a beta release of Feisty Fawn&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60]]&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27903</id>
		<title>Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27903"/>
		<updated>2007-01-26T02:56:38Z</updated>

		<summary type="html">&lt;p&gt;Ischg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is obsolete and should be deleted (name is specific to a beta release of Ubuntu Feisty Fawn).&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27881</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27881"/>
		<updated>2007-01-24T04:59:21Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Non-Intel Network Cards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Created by: [[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Thanks for valuable contributions by:&lt;br /&gt;
&lt;br /&gt;
: [[User:Ischg|Ischg]]&lt;br /&gt;
: [[User:Soon|Soon]]&lt;br /&gt;
: [[User:Mgrusin|Mgrusin]]&lt;br /&gt;
: [[User:Mattcohn|Mattcohn]]&lt;br /&gt;
: [[User:Dchao|Dchao]]&lt;br /&gt;
: [[User:The.ant|The.ant]]&lt;br /&gt;
: [[User:Stevie|Stevie]]&lt;br /&gt;
: [[User:Gagarine|Gagarine]]&lt;br /&gt;
&lt;br /&gt;
Also, thanks to contributions by Malta Linux User Group (http://www.linux.org.mt) members:&lt;br /&gt;
&lt;br /&gt;
: dave abrahams&lt;br /&gt;
: Limo Driver&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|I am in no means an expert, the methods described here are those which got everything to work for me - your mileage may vary. A big thank you to all ThinkWiki users who keep contributing on improving this article.}}&lt;br /&gt;
&lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F7, FN+F8, FN+F9.&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
    * Suspend to Disk (works with sufficient memory).&lt;br /&gt;
    * Suspend to RAM (though it works on occasions).&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything. As for the Bluetooth bug, this is a HAL bug and can only be fixed by a future update. Suspend to Disk and Suspend to RAM are broken apparently due to the ATI drivers. Again, this can only be fixed by ATI.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
{{WARN|Another ThinkWiki user notes that not all T60s come with the Intel wireless chip. If you are not entirely sure what wireless NIC you use, please read the following section (Non-Intel Network Cards).}}&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to avoid problems Run:&lt;br /&gt;
: {{cmduser|gksudo gedit /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
Save a copy in /etc/network/interfaces.back for backup&lt;br /&gt;
&lt;br /&gt;
After that, remove all lines except:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your ThinkPad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Non-Intel Network Cards===&lt;br /&gt;
&lt;br /&gt;
Not all versions of the T60 have the Intel Wireless LAN as described above. Run the following command to see details about detected wireless cards:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| lspci}}&lt;br /&gt;
 &lt;br /&gt;
Look for a line which shows detected network cards. Users of Intel network cards will see something similar to the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see the above, you can jump to the next section. If you do not see the above, your network card is not Intel. You may see something similar to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that's the output you get, you're going to have to take some additional steps to get wireless networking working. Read more at http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
&lt;br /&gt;
: {{cmdroot| dmesg &amp;amp;#124; grep hal}}&lt;br /&gt;
&lt;br /&gt;
may yield output like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which suggests the hardware abstraction layer is in place. &lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
In some cases there is a problem with the mode (a,b,g etc) of the wireless connection. Try &lt;br /&gt;
&lt;br /&gt;
: {{cmdroot| iwpriv ath0 mode 2}}&lt;br /&gt;
&lt;br /&gt;
===Getting the ThinkVantage Buttons to work===&lt;br /&gt;
&lt;br /&gt;
Ubuntu does not recognise all the ThinkVantage buttons correctly by default. This can be fixed quite easily. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo gedit /etc/X11/Xmodmap}}&lt;br /&gt;
&lt;br /&gt;
Then paste the following in the file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
keycode 234 = XF86Back&lt;br /&gt;
keycode 233 = XF86Forward&lt;br /&gt;
keycode 159 = XF86Start&lt;br /&gt;
keycode 162 = XF86AudioPlay&lt;br /&gt;
keycode 164 = XF86AudioStop&lt;br /&gt;
keycode 153 = XF86AudioNext&lt;br /&gt;
keycode 144 = XF86AudioPrev&lt;br /&gt;
keycode 227 = XF86LaunchF&lt;br /&gt;
keycode 249 = XF86ZoomIn&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then logout and back in again. You can now assign the buttons to do anything you want. For example, use the Back and Forward buttons (next the cursor keys) to flip desktops using the cube effect in Beryl (set this using the Beryl settings manager). You can set most of the other keys using Gnome vis System - Preferences - Keyboard Shortcuts.&lt;br /&gt;
&lt;br /&gt;
For the ThinkVantage and Zoom buttons, I used xbindkeys. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get install xbindkeys xbindkeys-config}}&lt;br /&gt;
: {{cmduser| xbindkeys --defaults &amp;gt; ~/.xbindkeysrc}}&lt;br /&gt;
: {{cmduser| xbindkeys-config}}&lt;br /&gt;
&lt;br /&gt;
This will bring up a but-ugly configuration screen. Just click &amp;quot;New&amp;quot; and assign a remark to the new shortcut. Then press &amp;quot;Grab&amp;quot; and press the combination you want (ex: The ThinkVantage button). You can then set the action you want executed in the &amp;quot;Action&amp;quot; field. I made my zoom button open the resolution properties (gnome-display-settings) and ThinkVantage open the Gnome control centre (gnome-control-center).&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
{{HINT|An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.}}&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The Fingerprint Reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group &amp;amp;#124; grep usbfs &amp;amp;#124; cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
If the Sample utility does not work, you may not have the PAM development modules installed. Try this:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
&lt;br /&gt;
This will open a root session. Please do not close this until instructed. Now, paste the following scary command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type the following to register your username and serial with the bioAPI.&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you like to use the fingerprint reader in the terminal too, you can use the following /etc/pam.d/sudo file instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth    sufficient pam_unix.so nullok_secure&lt;br /&gt;
auth       required pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   required pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this file, you are first asked to provide your password, but you can just press enter and then you will be asked to swipe your finger.&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|In case you use Kubuntu KDM won't show you a prompt. Just press Enter instead of a password and then (when the cursor stops blinking) swipe your finger.}}&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth usability in Edgy. What worked out of the box with Dapper, now requires configuration. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labeled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices until you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://www.getautomatix.com/apt/key.gpg.asc&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4&lt;br /&gt;
export DISPLAY=:1&lt;br /&gt;
cookie=&amp;quot;$(xauth -i nextract - :0 | cut -d ' ' -f 9)&amp;quot;&lt;br /&gt;
xauth -i add :1 . &amp;quot;$cookie&amp;quot;&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: Microphone doesn't work===&lt;br /&gt;
&lt;br /&gt;
On my system, I could get the microphone to work by simply un-muting the correct channels using alsamixer. To do this, open the ALSA mixer GUI form a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| alsamixer}}&lt;br /&gt;
&lt;br /&gt;
The alsamixer GUI will be displayed:&lt;br /&gt;
&lt;br /&gt;
[[Image:alsamixer.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now make sure all outputs are un-muted. Scroll through the outputs using the {{key|LEFT}} and {{key|RIGHT}} arrow keys, and press {{key|M}} to un-mute a channel (muted channels show an MM symbol). Use the {{key|UP}} and {{key|DOWN}} arrow keys to raise and lower the volume for each channel. Press {{key|TAB}} to switch to capture settings. Select Mic and press {{key|SPACE}} to enable the microphone. Now enable microphone capture my selecting Capture, and pressing {{key|SPACE}}. Depending on your microphone, you may need to enable MIC boost to get some extra umph from your sound input.&lt;br /&gt;
&lt;br /&gt;
The volume of the input channels depends on your microphone. These settings worked best for me on a desktop microphone:&lt;br /&gt;
&lt;br /&gt;
: MIC: 71&lt;br /&gt;
: MIC Boost: 33&lt;br /&gt;
: Capture: 73&lt;br /&gt;
&lt;br /&gt;
Now test the microphone by going to Applications - Sound &amp;amp; Video - Sound Recorder and select &amp;quot;Capture&amp;quot; in the &amp;quot;Record from input&amp;quot; field. On my system, mixing worked too - meaning I could play games whilst talking on TeamSpeak or Skype.&lt;br /&gt;
&lt;br /&gt;
After following the above steps, your microphone may still not work, which appears to be linked to the a missing file /etc/asound.names. Executing&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo alsactl names}}&lt;br /&gt;
: {{cmduser|sudo alsactl store}}&lt;br /&gt;
 &lt;br /&gt;
to generate /etc/asound.names and /var/lib/alsa/asound.state seems to fix sound problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: I don't have any sound!===&lt;br /&gt;
&lt;br /&gt;
If Ubuntu seems to recognize your sound-card (82801G ICH7) but still cannot initialize it (so you don't hear a thing), you have most probably turned the modem off in the system-bios. &lt;br /&gt;
If you turn it on again, it should work again.&lt;br /&gt;
If you don't want to do that [http://www.ubuntuforums.org/showthread.php?t=279241 this] might help you. &lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: Hibernate (Suspend to Disk) does not work!===&lt;br /&gt;
&lt;br /&gt;
It was possible on some machines to get hibernate working by installing the hibernate script. However, when too many programs where open I got a &amp;quot;Not enough memory&amp;quot; error. You will have to try it. &lt;br /&gt;
&lt;br /&gt;
To install the script type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install hibernate}}&lt;br /&gt;
&lt;br /&gt;
To go to hibernate type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo hibernate}}&lt;br /&gt;
&lt;br /&gt;
The computer will go to hibernate and turn off. To switch it on again, you will have to press the power button. It will boot and restore the system as you left it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;br /&gt;
    * Atheros network cards on Ubuntu - http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
    * Enabling the microphone - http://ubuntu.wordpress.com/2005/12/05/fixing-the-errant-microphone/&lt;br /&gt;
    * Enabling the microphone (2) - http://ubuntuforums.org/showthread.php?t=272166&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27880</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27880"/>
		<updated>2007-01-24T04:58:21Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* The Fingerprint Reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Created by: [[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Thanks for valuable contributions by:&lt;br /&gt;
&lt;br /&gt;
: [[User:Ischg|Ischg]]&lt;br /&gt;
: [[User:Soon|Soon]]&lt;br /&gt;
: [[User:Mgrusin|Mgrusin]]&lt;br /&gt;
: [[User:Mattcohn|Mattcohn]]&lt;br /&gt;
: [[User:Dchao|Dchao]]&lt;br /&gt;
: [[User:The.ant|The.ant]]&lt;br /&gt;
: [[User:Stevie|Stevie]]&lt;br /&gt;
: [[User:Gagarine|Gagarine]]&lt;br /&gt;
&lt;br /&gt;
Also, thanks to contributions by Malta Linux User Group (http://www.linux.org.mt) members:&lt;br /&gt;
&lt;br /&gt;
: dave abrahams&lt;br /&gt;
: Limo Driver&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|I am in no means an expert, the methods described here are those which got everything to work for me - your mileage may vary. A big thank you to all ThinkWiki users who keep contributing on improving this article.}}&lt;br /&gt;
&lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F7, FN+F8, FN+F9.&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
    * Suspend to Disk (works with sufficient memory).&lt;br /&gt;
    * Suspend to RAM (though it works on occasions).&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything. As for the Bluetooth bug, this is a HAL bug and can only be fixed by a future update. Suspend to Disk and Suspend to RAM are broken apparently due to the ATI drivers. Again, this can only be fixed by ATI.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
{{WARN|Another ThinkWiki user notes that not all T60s come with the Intel wireless chip. If you are not entirely sure what wireless NIC you use, please read the following section (Non-Intel Network Cards).}}&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to avoid problems Run:&lt;br /&gt;
: {{cmduser|gksudo gedit /etc/network/interfaces}}&lt;br /&gt;
&lt;br /&gt;
Save a copy in /etc/network/interfaces.back for backup&lt;br /&gt;
&lt;br /&gt;
After that, remove all lines except:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your ThinkPad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Non-Intel Network Cards===&lt;br /&gt;
&lt;br /&gt;
Not all versions of the T60 have the Intel Wireless LAN as described above. Run the following command to see details about detected wireless cards:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| lspci}}&lt;br /&gt;
 &lt;br /&gt;
Look for a line which shows detected network cards. Users of Intel network cards will see something similar to the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see the above, you can jump to the next section. If you do not see the above, your network card is not Intel. You may see something similar to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that's the output you get, you're going to have to take some additional steps to get wireless networking working. Read more at http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
&lt;br /&gt;
: {{cmdroot| dmesg &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep hal}}&lt;br /&gt;
&lt;br /&gt;
may yield output like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which suggests the hardware abstraction layer is in place. &lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
In some cases there is a problem with the mode (a,b,g etc) of the wireless connection. Try &lt;br /&gt;
&lt;br /&gt;
: {{cmdroot| iwpriv ath0 mode 2}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Getting the ThinkVantage Buttons to work===&lt;br /&gt;
&lt;br /&gt;
Ubuntu does not recognise all the ThinkVantage buttons correctly by default. This can be fixed quite easily. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo gedit /etc/X11/Xmodmap}}&lt;br /&gt;
&lt;br /&gt;
Then paste the following in the file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
keycode 234 = XF86Back&lt;br /&gt;
keycode 233 = XF86Forward&lt;br /&gt;
keycode 159 = XF86Start&lt;br /&gt;
keycode 162 = XF86AudioPlay&lt;br /&gt;
keycode 164 = XF86AudioStop&lt;br /&gt;
keycode 153 = XF86AudioNext&lt;br /&gt;
keycode 144 = XF86AudioPrev&lt;br /&gt;
keycode 227 = XF86LaunchF&lt;br /&gt;
keycode 249 = XF86ZoomIn&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then logout and back in again. You can now assign the buttons to do anything you want. For example, use the Back and Forward buttons (next the cursor keys) to flip desktops using the cube effect in Beryl (set this using the Beryl settings manager). You can set most of the other keys using Gnome vis System - Preferences - Keyboard Shortcuts.&lt;br /&gt;
&lt;br /&gt;
For the ThinkVantage and Zoom buttons, I used xbindkeys. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get install xbindkeys xbindkeys-config}}&lt;br /&gt;
: {{cmduser| xbindkeys --defaults &amp;gt; ~/.xbindkeysrc}}&lt;br /&gt;
: {{cmduser| xbindkeys-config}}&lt;br /&gt;
&lt;br /&gt;
This will bring up a but-ugly configuration screen. Just click &amp;quot;New&amp;quot; and assign a remark to the new shortcut. Then press &amp;quot;Grab&amp;quot; and press the combination you want (ex: The ThinkVantage button). You can then set the action you want executed in the &amp;quot;Action&amp;quot; field. I made my zoom button open the resolution properties (gnome-display-settings) and ThinkVantage open the Gnome control centre (gnome-control-center).&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
{{HINT|An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.}}&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The Fingerprint Reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group &amp;amp;#124; grep usbfs &amp;amp;#124; cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
If the Sample utility does not work, you may not have the PAM development modules installed. Try this:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
&lt;br /&gt;
This will open a root session. Please do not close this until instructed. Now, paste the following scary command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type the following to register your username and serial with the bioAPI.&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you like to use the fingerprint reader in the terminal too, you can use the following /etc/pam.d/sudo file instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth    sufficient pam_unix.so nullok_secure&lt;br /&gt;
auth       required pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   required pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this file, you are first asked to provide your password, but you can just press enter and then you will be asked to swipe your finger.&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|In case you use Kubuntu KDM won't show you a prompt. Just press Enter instead of a password and then (when the cursor stops blinking) swipe your finger.}}&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth usability in Edgy. What worked out of the box with Dapper, now requires configuration. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labeled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices until you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://www.getautomatix.com/apt/key.gpg.asc&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4&lt;br /&gt;
export DISPLAY=:1&lt;br /&gt;
cookie=&amp;quot;$(xauth -i nextract - :0 | cut -d ' ' -f 9)&amp;quot;&lt;br /&gt;
xauth -i add :1 . &amp;quot;$cookie&amp;quot;&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: Microphone doesn't work===&lt;br /&gt;
&lt;br /&gt;
On my system, I could get the microphone to work by simply un-muting the correct channels using alsamixer. To do this, open the ALSA mixer GUI form a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| alsamixer}}&lt;br /&gt;
&lt;br /&gt;
The alsamixer GUI will be displayed:&lt;br /&gt;
&lt;br /&gt;
[[Image:alsamixer.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now make sure all outputs are un-muted. Scroll through the outputs using the {{key|LEFT}} and {{key|RIGHT}} arrow keys, and press {{key|M}} to un-mute a channel (muted channels show an MM symbol). Use the {{key|UP}} and {{key|DOWN}} arrow keys to raise and lower the volume for each channel. Press {{key|TAB}} to switch to capture settings. Select Mic and press {{key|SPACE}} to enable the microphone. Now enable microphone capture my selecting Capture, and pressing {{key|SPACE}}. Depending on your microphone, you may need to enable MIC boost to get some extra umph from your sound input.&lt;br /&gt;
&lt;br /&gt;
The volume of the input channels depends on your microphone. These settings worked best for me on a desktop microphone:&lt;br /&gt;
&lt;br /&gt;
: MIC: 71&lt;br /&gt;
: MIC Boost: 33&lt;br /&gt;
: Capture: 73&lt;br /&gt;
&lt;br /&gt;
Now test the microphone by going to Applications - Sound &amp;amp; Video - Sound Recorder and select &amp;quot;Capture&amp;quot; in the &amp;quot;Record from input&amp;quot; field. On my system, mixing worked too - meaning I could play games whilst talking on TeamSpeak or Skype.&lt;br /&gt;
&lt;br /&gt;
After following the above steps, your microphone may still not work, which appears to be linked to the a missing file /etc/asound.names. Executing&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo alsactl names}}&lt;br /&gt;
: {{cmduser|sudo alsactl store}}&lt;br /&gt;
 &lt;br /&gt;
to generate /etc/asound.names and /var/lib/alsa/asound.state seems to fix sound problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: I don't have any sound!===&lt;br /&gt;
&lt;br /&gt;
If Ubuntu seems to recognize your sound-card (82801G ICH7) but still cannot initialize it (so you don't hear a thing), you have most probably turned the modem off in the system-bios. &lt;br /&gt;
If you turn it on again, it should work again.&lt;br /&gt;
If you don't want to do that [http://www.ubuntuforums.org/showthread.php?t=279241 this] might help you. &lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: Hibernate (Suspend to Disk) does not work!===&lt;br /&gt;
&lt;br /&gt;
It was possible on some machines to get hibernate working by installing the hibernate script. However, when too many programs where open I got a &amp;quot;Not enough memory&amp;quot; error. You will have to try it. &lt;br /&gt;
&lt;br /&gt;
To install the script type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install hibernate}}&lt;br /&gt;
&lt;br /&gt;
To go to hibernate type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo hibernate}}&lt;br /&gt;
&lt;br /&gt;
The computer will go to hibernate and turn off. To switch it on again, you will have to press the power button. It will boot and restore the system as you left it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;br /&gt;
    * Atheros network cards on Ubuntu - http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
    * Enabling the microphone - http://ubuntu.wordpress.com/2005/12/05/fixing-the-errant-microphone/&lt;br /&gt;
    * Enabling the microphone (2) - http://ubuntuforums.org/showthread.php?t=272166&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27668</id>
		<title>Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27668"/>
		<updated>2007-01-13T05:18:09Z</updated>

		<summary type="html">&lt;p&gt;Ischg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ubuntu Feisty Fawn is still in development (aka a ''beta version'') and appears '''not ready for installation''' (as of January 12, 2007). In particular, on a 2007-72U the installer crashed - see [https://launchpad.net/ubuntu/+source/ubiquity/+bug/79029 bug report]. The next beta release is planned for February 1st (see [https://wiki.ubuntu.com/FeistyReleaseSchedule?highlight=%28feisty%29 Feisty Release Schedule]).&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27667</id>
		<title>Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27667"/>
		<updated>2007-01-13T05:11:26Z</updated>

		<summary type="html">&lt;p&gt;Ischg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ubuntu Feisty Fawn is still in development (aka a ''beta version'') and appears '''not ready for installation''' (as of January 12, 2007). In particular, on a 2007-72U the installer crashed - see [[https://launchpad.net/ubuntu/+source/ubiquity/+bug/79029 bug report]]. The next beta release is planned for February 1st (see [[https://wiki.ubuntu.com/FeistyReleaseSchedule?highlight=%28feisty%29 Feisty Release Schedule]]).&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27666</id>
		<title>Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_7.04_(Feisty_Fawn)_on_a_ThinkPad_T60&amp;diff=27666"/>
		<updated>2007-01-13T05:06:30Z</updated>

		<summary type="html">&lt;p&gt;Ischg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ubuntu Feisty Fawn is still in development (aka a ''beta version'') and appears '''not ready for installation''' (as of January 12, 2007). In particular, on a 2007-72U the installer crashed - see [[https://launchpad.net/ubuntu/+source/ubiquity/+bug/79029 bug report]].&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T60&amp;diff=27665</id>
		<title>Installation instructions for the ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T60&amp;diff=27665"/>
		<updated>2007-01-13T04:57:18Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Specific installation notes for the ThinkPad {{T60}}.&lt;br /&gt;
&lt;br /&gt;
==Distribution-specific instructions==&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
*{{Install|Ubuntu| 7.04 Herd 2 (Feisty Fawn)| T60}}&lt;br /&gt;
*{{Install|Ubuntu| 6.10 (Edgy Eft)| T60}}&lt;br /&gt;
*{{Install|Ubuntu| 6.06 Flight 5|T60}}&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
*{{Install|Fedora| Core 6| T60}}&lt;br /&gt;
*{{Install|Fedora| Core 5| T60}}&lt;br /&gt;
&lt;br /&gt;
=== openSUSE / SUSE LINUX ===&lt;br /&gt;
&lt;br /&gt;
*{{Install|Suse| 10.1| T60}}&lt;br /&gt;
*[[Installing openSUSE 10.2 on an IBM ThinkPad T60]]&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
&lt;br /&gt;
* For Gentoo, there exists [[Installation_instructions_for_the_ThinkPad_T60p|installation instructions for T60p]], the sister model.&lt;br /&gt;
&lt;br /&gt;
== Compatibility ==&lt;br /&gt;
* [http://www.emperorlinux.com/mfgr/lenovo/toucan/?tab=details&amp;amp;id=358 Thinkpad T60] page on [http://www.emperorlinux.com emperorlinux.com] (compatibility review and custom kernel)&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27248</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27248"/>
		<updated>2006-12-24T18:57:59Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Problem: Microphone doesn't work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Created by: [[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Thanks for valuable contributions by:&lt;br /&gt;
&lt;br /&gt;
: [[User:Ischg|Ischg]]&lt;br /&gt;
: [[User:Soon|Soon]]&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|I am in no means an expert, the methods described here are those which got everything to work for me - your mileage may vary. A big thank you to all ThinkWiki users who keep contributing on improving this article.}}&lt;br /&gt;
&lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
{{WARN|Another ThinkWiki user notes that not all T60s come with the Intel wireless chip. If you are not entirely sure what wireless NIC you use, please read the following section (Non-Intel Network Cards).}}&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your ThinkPad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Non-Intel Network Cards===&lt;br /&gt;
&lt;br /&gt;
Not all versions of the T60 have the Intel Wireless LAN as described above. Run the following command to see details about detected wireless cards:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| lspci}}&lt;br /&gt;
 &lt;br /&gt;
Look for a line which shows detected network cards. Users of Intel network cards will see something similar to the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see the above, you can jump to the next section. If you do not see the above, your network card is not Intel. You may see something similar to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that's the output you get, you're going to have to take some additional steps to get wireless networking working. Read more at http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
&lt;br /&gt;
: {{cmdroot| dmesg &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep hal}}&lt;br /&gt;
&lt;br /&gt;
may yield output like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which suggests the hardware abstraction layer is in place. &lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The Fingerprint Reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep usbfs &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
Comment: you will have to install some libraries in order to be able to compile the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
&lt;br /&gt;
This will open a root session. Please do not close this until instructed. Now, paste the following scary command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type the following to register your username and serial with the bioAPI.&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://www.getautomatix.com/apt/key.gpg.asc&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://beryl-mirror.lupine.me.uk/1609B551.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: Microphone doesn't work===&lt;br /&gt;
&lt;br /&gt;
Initially, the microphone didn't work, which appears to be linked to the a missing file /etc/asound.names. Executing&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo alsactl names}}&lt;br /&gt;
: {{cmduser|sudo alsactl store}}&lt;br /&gt;
 &lt;br /&gt;
to generate /etc/asound.names and /var/lib/alsa/asound.state seems to fix sound problems.&lt;br /&gt;
&lt;br /&gt;
(the original fix is on http://ubuntuforums.org/showthread.php?t=272166)&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;br /&gt;
    * Atheros network cards on Ubuntu - http://ubuntuforums.org/showthread.php?t=38972&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27247</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27247"/>
		<updated>2006-12-24T18:57:06Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Problem: Microphone doesn't work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Created by: [[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Thanks for valuable contributions by:&lt;br /&gt;
&lt;br /&gt;
: [[User:Ischg|Ischg]]&lt;br /&gt;
: [[User:Soon|Soon]]&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|I am in no means an expert, the methods described here are those which got everything to work for me - your mileage may vary. A big thank you to all ThinkWiki users who keep contributing on improving this article.}}&lt;br /&gt;
&lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
{{WARN|Another ThinkWiki user notes that not all T60s come with the Intel wireless chip. If you are not entirely sure what wireless NIC you use, please read the following section (Non-Intel Network Cards).}}&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your ThinkPad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Non-Intel Network Cards===&lt;br /&gt;
&lt;br /&gt;
Not all versions of the T60 have the Intel Wireless LAN as described above. Run the following command to see details about detected wireless cards:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| lspci}}&lt;br /&gt;
 &lt;br /&gt;
Look for a line which shows detected network cards. Users of Intel network cards will see something similar to the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see the above, you can jump to the next section. If you do not see the above, your network card is not Intel. You may see something similar to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that's the output you get, you're going to have to take some additional steps to get wireless networking working. Read more at http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
&lt;br /&gt;
: {{cmdroot| dmesg &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep hal}}&lt;br /&gt;
&lt;br /&gt;
may yield output like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which suggests the hardware abstraction layer is in place. &lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The Fingerprint Reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep usbfs &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
Comment: you will have to install some libraries in order to be able to compile the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
&lt;br /&gt;
This will open a root session. Please do not close this until instructed. Now, paste the following scary command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type the following to register your username and serial with the bioAPI.&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://www.getautomatix.com/apt/key.gpg.asc&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://beryl-mirror.lupine.me.uk/1609B551.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: Microphone doesn't work===&lt;br /&gt;
&lt;br /&gt;
Initially, the microphone didn't work, which appears to be linked to the a missing file /etc/asound.names. Executing&lt;br /&gt;
&lt;br /&gt;
sudo alsactl names &lt;br /&gt;
sudo alsactl store&lt;br /&gt;
&lt;br /&gt;
to generate /etc/asound.names and /var/lib/alsa/asound.state seems to fix sound problems.&lt;br /&gt;
&lt;br /&gt;
(the original fix is on http://ubuntuforums.org/showthread.php?t=272166)&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;br /&gt;
    * Atheros network cards on Ubuntu - http://ubuntuforums.org/showthread.php?t=38972&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27246</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27246"/>
		<updated>2006-12-24T18:51:50Z</updated>

		<summary type="html">&lt;p&gt;Ischg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Created by: [[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Thanks for valuable contributions by:&lt;br /&gt;
&lt;br /&gt;
: [[User:Ischg|Ischg]]&lt;br /&gt;
: [[User:Soon|Soon]]&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|I am in no means an expert, the methods described here are those which got everything to work for me - your mileage may vary. A big thank you to all ThinkWiki users who keep contributing on improving this article.}}&lt;br /&gt;
&lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
{{WARN|Another ThinkWiki user notes that not all T60s come with the Intel wireless chip. If you are not entirely sure what wireless NIC you use, please read the following section (Non-Intel Network Cards).}}&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your ThinkPad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Non-Intel Network Cards===&lt;br /&gt;
&lt;br /&gt;
Not all versions of the T60 have the Intel Wireless LAN as described above. Run the following command to see details about detected wireless cards:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| lspci}}&lt;br /&gt;
 &lt;br /&gt;
Look for a line which shows detected network cards. Users of Intel network cards will see something similar to the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see the above, you can jump to the next section. If you do not see the above, your network card is not Intel. You may see something similar to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that's the output you get, you're going to have to take some additional steps to get wireless networking working. Read more at http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
&lt;br /&gt;
: {{cmdroot| dmesg &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep hal}}&lt;br /&gt;
&lt;br /&gt;
may yield output like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which suggests the hardware abstraction layer is in place. &lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The Fingerprint Reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep usbfs &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
Comment: you will have to install some libraries in order to be able to compile the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
&lt;br /&gt;
This will open a root session. Please do not close this until instructed. Now, paste the following scary command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type the following to register your username and serial with the bioAPI.&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://www.getautomatix.com/apt/key.gpg.asc&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://beryl-mirror.lupine.me.uk/1609B551.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: Microphone doesn't work===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;br /&gt;
    * Atheros network cards on Ubuntu - http://ubuntuforums.org/showthread.php?t=38972&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27165</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27165"/>
		<updated>2006-12-20T17:36:26Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Getting Multimedia to Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
 &lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your thinkpad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note! Not all versions of the T60 has the Intel Wireless LAN as described above. Run lspci from the command line and look for details of your wifi card. E.g.: &lt;br /&gt;
&lt;br /&gt;
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&lt;br /&gt;
&lt;br /&gt;
suggest you have a different wifi card. Read this forum thread http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
# dmesg | grep hal&lt;br /&gt;
&lt;br /&gt;
may yield output like this, which apparently suggests the hardware abstraction layer is in place. &lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it apparently suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The fingerprint reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep usbfs &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
Comment: you will have to install some libraries in order to be able to compile the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following scary commands: (Note: The line starting 'SERIAL=' and the line following it should be in the same line). {{Todo|comment from a user of this page: the third command is not displayed correctly (issue of wrapping the &amp;quot;&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;quot; character).}}&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`}}&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://www.getautomatix.com/apt/key.gpg.asc&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://beryl-mirror.lupine.me.uk/1609B551.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27151</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27151"/>
		<updated>2006-12-20T08:27:19Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Beryl - fancy 3D desktop */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
 &lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your thinkpad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note! Not all versions of the T60 has the Intel Wireless LAN as described above. Run lspci from the command line and look for details of your wifi card. E.g.: &lt;br /&gt;
&lt;br /&gt;
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&lt;br /&gt;
&lt;br /&gt;
suggest you have a different wifi card. Read this forum thread http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
# dmesg | grep hal&lt;br /&gt;
&lt;br /&gt;
may yield output like this, which apparently suggests the hardware abstraction layer is in place. &lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it apparently suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The fingerprint reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep usbfs &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
Comment: you will have to install some libraries in order to be able to compile the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following scary commands: (Note: The line starting 'SERIAL=' and the line following it should be in the same line). {{Todo|comment from a user of this page: the third command is not displayed correctly (issue of wrapping the &amp;quot;&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;quot; character).}}&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`}}&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget http://www.getautomatix.com/apt/key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget &amp;lt;nowiki&amp;gt;http://beryl-mirror.lupine.me.uk/1609B551.gpg&amp;lt;/nowiki&amp;gt; -O- &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27150</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27150"/>
		<updated>2006-12-20T08:08:47Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* The fingerprint reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
 &lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your thinkpad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note! Not all versions of the T60 has the Intel Wireless LAN as described above. Run lspci from the command line and look for details of your wifi card. E.g.: &lt;br /&gt;
&lt;br /&gt;
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&lt;br /&gt;
&lt;br /&gt;
suggest you have a different wifi card. Read this forum thread http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
# dmesg | grep hal&lt;br /&gt;
&lt;br /&gt;
may yield output like this, which apparently suggests the hardware abstraction layer is in place. &lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it apparently suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The fingerprint reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep usbfs &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
Comment: you will have to install some libraries in order to be able to compile the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following scary commands: (Note: The line starting 'SERIAL=' and the line following it should be in the same line). {{Todo|comment from a user of this page: the third command is not displayed correctly (issue of wrapping the &amp;quot;&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;quot; character).}}&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`}}&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget http://www.getautomatix.com/apt/key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://beryl-mirror.lupine.me.uk/1609B551.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27149</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27149"/>
		<updated>2006-12-20T07:53:28Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* The fingerprint reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
 &lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your thinkpad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note! Not all versions of the T60 has the Intel Wireless LAN as described above. Run lspci from the command line and look for details of your wifi card. E.g.: &lt;br /&gt;
&lt;br /&gt;
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&lt;br /&gt;
&lt;br /&gt;
suggest you have a different wifi card. Read this forum thread http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
# dmesg | grep hal&lt;br /&gt;
&lt;br /&gt;
may yield output like this, which apparently suggests the hardware abstraction layer is in place. &lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it apparently suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The fingerprint reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep usbfs &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
Comment: you will have to install some libraries in order to be able to compile the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following scary commands: (Note: The line starting 'SERIAL=' and the line following it should be in the same line).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`}}&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget http://www.getautomatix.com/apt/key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://beryl-mirror.lupine.me.uk/1609B551.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27148</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27148"/>
		<updated>2006-12-20T07:28:18Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* The fingerprint reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
 &lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your thinkpad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note! Not all versions of the T60 has the Intel Wireless LAN as described above. Run lspci from the command line and look for details of your wifi card. E.g.: &lt;br /&gt;
&lt;br /&gt;
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&lt;br /&gt;
&lt;br /&gt;
suggest you have a different wifi card. Read this forum thread http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
# dmesg | grep hal&lt;br /&gt;
&lt;br /&gt;
may yield output like this, which apparently suggests the hardware abstraction layer is in place. &lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it apparently suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The fingerprint reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group | grep usbfs | cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
Comment: you will have to install some libraries in order to be able to compile the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
Now, you can compile and install the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following scary commands: (Note: The line starting 'SERIAL=' and the line following it should be in the same line).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`}}&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget http://www.getautomatix.com/apt/key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://beryl-mirror.lupine.me.uk/1609B551.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27147</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27147"/>
		<updated>2006-12-20T07:27:06Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* The fingerprint reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
 &lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your thinkpad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note! Not all versions of the T60 has the Intel Wireless LAN as described above. Run lspci from the command line and look for details of your wifi card. E.g.: &lt;br /&gt;
&lt;br /&gt;
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&lt;br /&gt;
&lt;br /&gt;
suggest you have a different wifi card. Read this forum thread http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
# dmesg | grep hal&lt;br /&gt;
&lt;br /&gt;
may yield output like this, which apparently suggests the hardware abstraction layer is in place. &lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it apparently suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The fingerprint reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group | grep usbfs | cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
Comment: you will have to install some libraries in order to be able to compile the plugin&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
: {{cmduser|sudo apt-get install libpam0g-dev}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following scary commands: (Note: The line starting 'SERIAL=' and the line following it should be in the same line).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`}}&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget http://www.getautomatix.com/apt/key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://beryl-mirror.lupine.me.uk/1609B551.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27146</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27146"/>
		<updated>2006-12-20T07:13:50Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* The fingerprint reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
 &lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your thinkpad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note! Not all versions of the T60 has the Intel Wireless LAN as described above. Run lspci from the command line and look for details of your wifi card. E.g.: &lt;br /&gt;
&lt;br /&gt;
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&lt;br /&gt;
&lt;br /&gt;
suggest you have a different wifi card. Read this forum thread http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
# dmesg | grep hal&lt;br /&gt;
&lt;br /&gt;
may yield output like this, which apparently suggests the hardware abstraction layer is in place. &lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it apparently suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The fingerprint reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group | grep usbfs | cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|chmod a+x Sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following scary commands: (Note: The line starting 'SERIAL=' and the line following it should be in the same line).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`}}&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget http://www.getautomatix.com/apt/key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://beryl-mirror.lupine.me.uk/1609B551.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27145</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27145"/>
		<updated>2006-12-20T07:08:28Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* The fingerprint reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
 &lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your thinkpad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note! Not all versions of the T60 has the Intel Wireless LAN as described above. Run lspci from the command line and look for details of your wifi card. E.g.: &lt;br /&gt;
&lt;br /&gt;
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&lt;br /&gt;
&lt;br /&gt;
suggest you have a different wifi card. Read this forum thread http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
# dmesg | grep hal&lt;br /&gt;
&lt;br /&gt;
may yield output like this, which apparently suggests the hardware abstraction layer is in place. &lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it apparently suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The fingerprint reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group | grep usbfs | cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following scary commands: (Note: The line starting 'SERIAL=' and the line following it should be in the same line).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`}}&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget http://www.getautomatix.com/apt/key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://beryl-mirror.lupine.me.uk/1609B551.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27144</id>
		<title>Installing Ubuntu 6.10 (Edgy Eft) on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_(Edgy_Eft)_on_a_ThinkPad_T60&amp;diff=27144"/>
		<updated>2006-12-20T07:03:52Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* The fingerprint reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Keithvassallo|Keithvassallo]] 14:39, 16 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
===Abstract===&lt;br /&gt;
&lt;br /&gt;
This article describes how to get Ubuntu Linux 6.10 (Edgy) installed on an IBM/Lenovo ThinkPad T60. It's not meant to be a definite guide to installing Ubuntu (the Ubuntu Guide at http://www.ubuntuguide.org does a very good job of that). This article is meant to describe how to get most of the ThinkPad features working on Ubuntu system. It also discusses how to get Multimedia, some cool-looking effects such as Beryl, gDesklets and similar working on Ubuntu. Finally, we discuss some common problems encountered on Ubuntu and ThinkPads alike.&lt;br /&gt;
 &lt;br /&gt;
===My ThinkPad===&lt;br /&gt;
&lt;br /&gt;
Although this guide should work on most recent ThinkPads, I cannot guarantee that. These are the specifications of my machine. The closer your specs are, the greater the chance of success.&lt;br /&gt;
&lt;br /&gt;
: Figure 1. ThinkPad T60 2007, complete with Tux sticker :-)&lt;br /&gt;
: [[Image:thinkpad.jpg]]&lt;br /&gt;
&lt;br /&gt;
    * Lenovo ThinkPad T60 2007.&lt;br /&gt;
    * Intel Centrino Duo T2400 / 1.83 GHz.&lt;br /&gt;
    * Mobile Intel 945PM Express Chipset.&lt;br /&gt;
    * Intel Wireless LAN.&lt;br /&gt;
    * Integrated Bluetooth.&lt;br /&gt;
    * ATI Mobility Radeon X1400 - PCI Express x16, 128MB dedicated RAM.&lt;br /&gt;
    * 100 GB - Serial ATA-150 Hard Drive.&lt;br /&gt;
    * 15' TFT Active Matrix Display (1400x1050).&lt;br /&gt;
&lt;br /&gt;
That's basically all you need to know. As far as I know, all other features are common to all ThinkPads manufactured by Lenovo since they acquired IBM's computer business.&lt;br /&gt;
&lt;br /&gt;
===Why Ubuntu? (or rather, Why not SUSE?)===&lt;br /&gt;
&lt;br /&gt;
In June 2006, Lenovo announced it would be shipping ThinkPad T60p laptops with SUSE Linux Enterprise Desktop (SLED) 10 pre-installed, since SLED apparently supports all of the features of the T60p. I contacted my local IBM supplier, who said that Lenovo were no longer manufacturing the T60p, since the company which was making the displays went out of business. This meant I could not get a T60p with SLED pre-installed. I decided to go for the T60 2007, which is the closest thing I could find to the T60p. This comes with Windows XP Professional pre-installed.&lt;br /&gt;
&lt;br /&gt;
I first tried to get SLED installed on the T60. Although it did indeed install, and most features worked, I soon got bored of SLED. Firstly, SLED uses Gnome 2.12, which is by now ancient. Secondly, although the Lenovo utilities do work on SLED, they only work well if you use KDE as your defauly desktop environment, which is a pity since I'm a Gnome user. The utilities were very unstable to me too. Finally, what made me give up SLED was the usual problem - it's an RPM based distribution. Once you start using Debian derivatives, with their apt based installer, you won't want to go back. That's when I decided to try Ubuntu, and have not regretted it since.&lt;br /&gt;
&lt;br /&gt;
===What Works?===&lt;br /&gt;
&lt;br /&gt;
    * Ubuntu and all programs it comes with.&lt;br /&gt;
    * Most of the function keys, except the ones mentioned below&lt;br /&gt;
    * The fingerprint reader.&lt;br /&gt;
    * The ATI proprietary graphics drivers.&lt;br /&gt;
    * Suspend to RAM (Sleep) and Suspend to Disk (Hibernate).&lt;br /&gt;
    * Brightness, Volume and Mute with OSD (On-Screen Display).&lt;br /&gt;
    * ThinkLight, TrackPoint II and the touchpad.&lt;br /&gt;
&lt;br /&gt;
===What Doesn't Work? (Known Issues)===&lt;br /&gt;
&lt;br /&gt;
    * FN+F8, FN+F9, FN+ZOOM.&lt;br /&gt;
    * The BACK and FORWARD buttons (next to the cursor keys).&lt;br /&gt;
    * The ThinkVantage button (in Linux, still works on boot).&lt;br /&gt;
    * Sending files to Bluetooth devices via GUI.&lt;br /&gt;
&lt;br /&gt;
There are probably ways and means to get the offending buttons to work, I've tried several fora but none seem to address my exact problem. I'll update this article should I find out anything.&lt;br /&gt;
&lt;br /&gt;
===First Things First - Creating a Windows Recovery Disc===&lt;br /&gt;
&lt;br /&gt;
If you've purchased a T60, chances are it came with Windows XP Professional. The other option is for you to have FreeDOS installed, in which case you can skip this section. You could remove the Windows partition altogether, and reserve your ThinkPad for Linux, but that's not the route I've chosen. The ThinkVantage utilities in Windows allow you to do a lot of cool things, such as set-up a boot-up fingerprint security scan. You can't do this from Linux (as far as I know) so it's best to leave the Windows partition in place. So, boot your ThinkPad and complete the Windows XP setup (which asks you to add a user account and enroll yourself using the ThinkVantage Client Security Solution). While you're there, use the ThinkVantage productivy centre to enroll your fingerprint (I suggest enrolling more than one) and make sure you check the option to require a fingerprint scan on boot (not for security, for geek points). When you reboot, press ESC or F2 to get to BIOS, and make sure you check the option to require a supervisor password. This will make your ThinkPad prompt you for your fingerprint when you power it up.&lt;br /&gt;
&lt;br /&gt;
: Figure 2. Configuring fingerprint security from Windows&lt;br /&gt;
: [[Image:winprint.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now that's working, you should create a recovery DVD using the ThinkVantage recovery utilities. This will allow you to recover your Windows installation should you manage to screw your partitions up in the following stages. I highly recommend you do this, as Lenovo does not provide Windows XP CDs with this Laptop - so the hard disk partition is all you've got. Once this is done, we're ready to install Ubuntu!&lt;br /&gt;
&lt;br /&gt;
: Figure 3. Creating recovery discs from Windows&lt;br /&gt;
: [[Image:recovery.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting Ubuntu installed===&lt;br /&gt;
&lt;br /&gt;
Download the latest Edgy live CD from the Ubuntu website, you can find a list of mirrors at http://www.ubuntu.com/products/GetUbuntu/download#currentrelease. You may also try Kubuntu, Edubuntu or any of it's derivatives, but I'll stick with Ubuntu here for simplicity's sake. Once that's downloaded, burn the ISO to disc using any program of your choice (If this is your first Linux experience and you're using Windows, try using Nero - http://www.nero.com).&lt;br /&gt;
&lt;br /&gt;
Once the burning process is complete, reboot your machine ensuring that the Ubuntu CD is in the drive. You should see an Ubuntu menu. If you don't, your BIOS is not set to boot from CD. Reboot your ThinkPad and change the boot order from BIOS (by default ThinkPads boot from CD-ROM before the hard disk, so this is probably not necessary). Once the menu shows up, select 'Start or install Ubuntu' and let it boot. This will take a while as everything is loaded from CD. You should eventually end up in a Gnome desktop. If you see an error about the Gnome Settings Daemon not being able to load, simply ignore it, as this is not necessary for now. For the purposes of the installation, it's best if you have a wired ethernet connection, as it's unlikely the wireless network card will work until we boot into our installed Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
: Figure 4. Select the first option to start Ubuntu&lt;br /&gt;
: [[Image:boot.jpg]]&lt;br /&gt;
&lt;br /&gt;
Double-Click on the 'install' icon on the Desktop to start installation. The installation should be pretty straight-forward. If you need additional help, check out the walk-through with screen-shots at http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html. The only stage at which we need to make changes is the partitioning stage. This to make sure we preserve our Windows partition, and the IBM vendor_diag partition which allows recovery of the laptop when things go hay-wire. In the 'Prepare disk space' section of the installer, select the third option, 'Manually edit partition table'. A bar will be displayed showing your existing partitions. If you have Windows installed you will see two partitions. The first is a 4.89 GB IBM Vendor Diagnostic partition, which we do not want to touch. The second will be your Windows partition, which will fill the rest of the disk. Click on this partition, Then click the 'Resize/Move' button. I resized my Windows partition to 24 GB. This is enough to accommodate the 10 GB already in use on that partition, as well as giving Windows another 14 GB of free space. 6 GB of free space would probably be enough though.&lt;br /&gt;
&lt;br /&gt;
Now it's time to create partitions for Linux. You need at least two partitions; a swap partition which should be roughly double the amount of RAM you have, and a root partition to install Linux. I opted for four partitions, as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'''Purpose'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''Size'''&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;'''File-System'''&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Swap&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;swap&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/boot&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/ (root)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20 GB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;/home&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;37.25 GB (what's left of the disk)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;ext3&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create these paritions, click on the 'New' button and select 'Extended Partition' in the 'create as' drop-down list. Leave all other settings as-is, and click 'Add'. Now, click on the newly created partition, and create each of the partitions you want to create, simply specify the size of the partition in the 'New Size (MiB)' text box. To convert GB to MiB, multiply by 1024. So for your swap partition you should specify a size of 2048. Repeat until you have created all the required partitions. If you follow my parition layout, the partition editor should look something like Figure 5.&lt;br /&gt;
&lt;br /&gt;
: Figure 5. Our partitions, ready to be created&lt;br /&gt;
: [[Image:partitioning.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will not see mount-points in your diagram, because the screen-shot above was taken after they were assigned, but you should get the general idea. After this screen, you will be asked to assign mount-points to the partitions you have just created. If you created the partitions in the same order I did, you can assign mount points as I have (i.e. /dev/sda5 for swap, /dev/sda6 for /boot, /dev/sda7 for /, /dev/sda8 for /home). Additionally, I mounted my Windows partition as /media/sda1 and my IBM Vendor Diagnostic partition as /media/sda2. These are optional. After this step, continue installation as normal. When the installation is complete, click the 'reboot' button to restart into your fresh Ubuntu System.&lt;br /&gt;
&lt;br /&gt;
When booting, the GRUB boot-loader will be displayed, asking you what you want to load. You will probably see four options. The first two being Ubuntu Linux and Ubuntu Linux recovery mode (showing the kernel version). The other two will be Microsoft Windows XP, and 'Other Windows XP/2000/NT' partition. This is your IBM Vendor Diagnostic partition, which is based on the Windows kernel, apparently. Select the first entry to boot Ubuntu. The next time you boot Windows, it will bring up a chkdsk screen. This is entirely normal and happens because we have resized the Windows partition. Make sure you do not skip this check and let it complete.&lt;br /&gt;
&lt;br /&gt;
===Wireless LAN===&lt;br /&gt;
&lt;br /&gt;
The first thing we should do is to get wireless networking working. Luckily, getting the Centrino wireless LAN chip working in Ubuntu is quite easy, if you use the gnome-network-manager applet. Just go to System - Administration - Synaptic Package Manager. Then click 'Search' and set the 'look-in' field to 'name'. In the 'Search' text box type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;network-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Figure 6. Installing the network manager applet&lt;br /&gt;
: [[Image:networkmanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on the box beside 'network-manager' and click 'Mark for installation'. Do the same for 'network-manager-gnome'. Once installed, reboot your thinkpad. An applet will show up in the gnome notification area. Click on it, and a list of detected wireless networks will be displayed. Simply click on one of them, enter any authentication details necessary, and you'll be connected to the wireless network.&lt;br /&gt;
&lt;br /&gt;
: Figure 7. gnome-network-manager showing available wireless networks&lt;br /&gt;
: [[Image:available-accesspoints.jpg]]&lt;br /&gt;
&lt;br /&gt;
Note! Not all versions of the T60 has the Intel Wireless LAN as described above. Run lspci from the command line and look for details of your wifi card. E.g.: &lt;br /&gt;
&lt;br /&gt;
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)&lt;br /&gt;
&lt;br /&gt;
suggest you have a different wifi card. Read this forum thread http://ubuntuforums.org/showthread.php?t=38972&lt;br /&gt;
&lt;br /&gt;
running: &lt;br /&gt;
# dmesg | grep hal&lt;br /&gt;
&lt;br /&gt;
may yield output like this, which apparently suggests the hardware abstraction layer is in place. &lt;br /&gt;
[17179590.420000] ath_hal: module license 'Proprietary' taints kernel.&lt;br /&gt;
[17179590.424000] ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)&lt;br /&gt;
&lt;br /&gt;
If not, or if the output contains &amp;quot;HAL Status 13&amp;quot; it apparently suggests your card is not supported by the current drivers, and you need to upgrade.&lt;br /&gt;
&lt;br /&gt;
===Installing the ATI display drivers===&lt;br /&gt;
&lt;br /&gt;
If your ThinkPad has an Intel graphics adapter, you should skip this section as Ubuntu installs the best driver automatically. Ubuntu does not install the ATI proprietary drivers by default because they are, er, proprietary. Luckily, installing them is easy enough. Open a terminal (Applications - Accessories - Terminal) and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser| sudo apt-get update}}&lt;br /&gt;
: {{cmduser| sudo apt-get install xorg-driver-fglrx fglrx-control}} &lt;br /&gt;
&lt;br /&gt;
Now we make sure the proprietary driver is not disabled by the kernel. Type the following, and remove any lines referring to fglrx&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/default/linux-restricted-modules-common}}&lt;br /&gt;
&lt;br /&gt;
An alternative to gedit (Gnome) is nano (sudo nano -w /etc...) for a CLI editor.&lt;br /&gt;
&lt;br /&gt;
Finally, we need to configure the X server to use the ATI drivers. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo depmod -a}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --initial}}&lt;br /&gt;
: {{cmduser|sudo aticonfig --overlay-type&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;Xv}}&lt;br /&gt;
&lt;br /&gt;
One last thing. In order to correct a very common problem of getting a jerky video display, type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Scroll to the end of the file, and add the text below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
    Option    &amp;quot;Composite&amp;quot;  &amp;quot;0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit. Now, to apply the changes either press CTRL+ALT+Backspace or reboot. The resolution should have switched to 1400x1050 and everything should look prettier and render faster. Just to make sure everything is working, open up a terminal and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|fglrxinfo}}&lt;br /&gt;
&lt;br /&gt;
This should display:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6011 (8.28.8)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is what I get on my ThinkPad, and you should see something similar. As long as you see your graphics card model listed, everything should be OK. If, instead, you see a bunch of lines containing 'Mesa' then you have a problem. In that case, I recommend consulting https://help.ubuntu.com/community/BinaryDriverHowto/ATI and the Ubuntu forums at http://ubuntuforums.org&lt;br /&gt;
&lt;br /&gt;
===The fingerprint reader===&lt;br /&gt;
&lt;br /&gt;
Although IBM does not officially support it, the fingerprint reader does in fact work with most Linux distributions. Getting it to work with Ubuntu can be a bit of a pain, but it does work. Basically, a bioAPI plugin is provided for PAM. PAM-aware applications such as GDM and gnome-screensaver will then automatically use the fingerprint reader, which is uber cool. Anyway, enough theory, I've probably lost the newbies amongst you already. Go to http://www.qrivy.net/~michael/temp/ and download the latest bioapi package (at the time of writing, bioapi_1.2.3_i386.deb). When asked, tell Firefox to open the file with the GDebi package installer.&lt;br /&gt;
&lt;br /&gt;
That will install bioAPI. What we need now is the driver for our fingerprint device, which is manufactured by UPEK. Go to http://www.upek.com/support/dl_linux_bsp.asp and download the latest version, currently UPEK_BSP_LIN_1.0.zip. Extract this file, then open a terminal (and don't close it until I say so).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/file}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
&lt;br /&gt;
Now we need to assign the right permissions so non-root applications can use the driver:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
: {{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
: {{cmdroot|adduser yourusername bioapi}}&lt;br /&gt;
: {{cmdroot|adduser yourusername usbfs}}&lt;br /&gt;
: {{cmdroot|chown -R root:bioapi /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chmod -R 770 /usr/var/bioapi/}}&lt;br /&gt;
: {{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
: {{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
&lt;br /&gt;
Of course, replace 'yourusername' with the username you use to login. Now, we need to set the usb file system (usbfs) to be usable by users in the usbfs group. To do this, we need to determine the group ID of the usbfs group. Type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cat /etc/group | grep usbfs | cut -d':' -f 3}}&lt;br /&gt;
&lt;br /&gt;
In my case the number is 116, it might be different for you. Now, open the file /etc/fstab:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
and type the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;none /proc/bus/usb usbfs defaults,devgid=116,devmode=0660,busgid=116,busmode=0770,listgid=116,listmode=0660 0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please type the above code in one line in your file. Remember to replace 116 if you got a different number with the previous cat command. The last permission-related thing we need to fool around with is UDEV. Open the udev permissions file&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|gedit /etc/udev/rules.d/40-permissions.rules}&lt;br /&gt;
&lt;br /&gt;
and find the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,		MODE=&amp;quot;0664&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's line 65 in my file. Change it so it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to enroll our fingerprint with the system. To do this, we need a utility called Sample, which is only distributed in source-code form with the driver. This is great, only I couldn't get it to compile on Ubuntu. Luckily, there is a binary version available from one of the earlier releases of the driver (beta 2). To get this, download it from ftp://linux:Tuc-nak3@delta.upek.com/TFMESS_BSP_LIN_1.0beta2.zip. Now, extract the file and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cd /path/to/where/you/extracted/the/archive}}&lt;br /&gt;
: {{cmdroot|cd NonGUI_sample}}&lt;br /&gt;
: {{cmdroot|./Sample}}&lt;br /&gt;
&lt;br /&gt;
Press (e) to enroll a new user, and enter your username when asked for the user ID. You will be asked to swipe your finger three times. Now press (v) and swipe your finger, a green check should be displayed showing you have successfully authenticated.&lt;br /&gt;
&lt;br /&gt;
: Figure 8. The fingerprint swipe prompt&lt;br /&gt;
: [[Image:touchchip.jpg]]&lt;br /&gt;
&lt;br /&gt;
Wonderful! Now, quit the application (q) and type exit to become a normal user. A file called yourusername.bir should have been created, copy this to your home directory:&lt;br /&gt;
&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /home/yourusername/}}&lt;br /&gt;
&lt;br /&gt;
You can now close the terminal window. The next step is to install the BioAPI plug-in for PAM, and to make applications use the plugin. So, get the pam_bioapi plugin from http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz and extract it. Now open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd /path/to/where/you/extracted/the/arcive}}&lt;br /&gt;
: {{cmduser|./configure --libdir&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;/lib --enable-file-store &amp;amp;&amp;amp; make}}&lt;br /&gt;
: {{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
That's installed the plugin. Now, open a terminal and type the following scary commands: (Note: The line starting 'SERIAL=' and the line following it should be in the same line).&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|cd ~}}&lt;br /&gt;
: {{cmduser|sudo bash}}&lt;br /&gt;
: {{cmdroot|SERIAL=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;`}}&lt;br /&gt;
: {{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|cp yourusername.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
: {{cmdroot|exit}}&lt;br /&gt;
&lt;br /&gt;
Phew. Now, to make applications actually use the fingerprint reader. Open a terminal window, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and paste this instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
#&lt;br /&gt;
# This file is included from other service-specific PAM config files,&lt;br /&gt;
# and should contain a list of the authentication modules that define&lt;br /&gt;
# the central authentication scheme for use on the system&lt;br /&gt;
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
# traditional Unix authentication mechanisms.&lt;br /&gt;
#&lt;br /&gt;
auth       sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
password   sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
auth       required   pam_unix.so nullok_secure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. That will make all PAM-aware applications use the fingerprint reader. Unfortunately, this also includes sudo. Since sudo is a command line application, it will display prompts in a terminal for you to swipe your finger, which is all well and good. The problem with this is that many Ubuntu administrative applications (such as Synaptic) use gksu to present a graphical front-end to sudo, which will output messages on the command line which you'll never see. Result? Administrative programs won't work from the gnome menu. The solution is to make sudo use the good old password. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/pam.d/sudo}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#%PAM-1.0&lt;br /&gt;
&lt;br /&gt;
#@include common-auth&lt;br /&gt;
auth	required	pam_unix.so nullok_secure&lt;br /&gt;
@include common-account&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, save the file and close it, and reboot your system. GDM will ask you for a username, and then show a pretty prompt where you can scan your fingerprint! Same goes for gnome-screensaver when you set it to lock. Sometimes gnome-screensaver will not display the prompt, but you should still swipe your finger and be able to log back in.&lt;br /&gt;
&lt;br /&gt;
===Bluetooth with Mobile Phones/PDAs===&lt;br /&gt;
&lt;br /&gt;
Rather strangely, Ubuntu seems to have taken a step backwards with Bluetooth useability in Edgy. What worked out of the box with Dapper, now requires configuratio. First, open System - Preferences - Sessions and go to the Startup Programs tab. Then, find the entry labelled 'bt-applet --sm-disable'. Highlight it and click disable. Click add and in the command field type 'bt-applet'. Repeat this process, adding an entry for 'gnome-obex-server'. Now, open Synaptic Package Manager (System - Administration - Synaptic Package Manager) and click Search. Type 'gnome-bluetooth' to find the package, then mark it for installation. Now repeat this process for 'bluez-passkey-gnome'. Click apply to make changes.&lt;br /&gt;
&lt;br /&gt;
Now that everything is installed, log-out of Gnome and log back in again. From your phone/PDA, search for devices untill you see your ThinkPad (the hostname will be displayed). Pair with the device. When asked for a passkey, enter 1234, which is the default. If you want to change your passkey (and you should), open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/bluetooth/hcid.conf}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says 'Default PIN for incoming connections' and change the PIN on the line beneath it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Default PIN code for incoming connections&lt;br /&gt;
passkey &amp;quot;4017&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo /etc/init.d/bluetooth restart}}&lt;br /&gt;
&lt;br /&gt;
You will now be able to use your new PIN code. To send files from your device to the ThinkPad, simply select the file you want to send and click Send Via Bluetooth (or whatever option your device presents). A dialog will pop-up in Gnome showing you a new file has been received.&lt;br /&gt;
&lt;br /&gt;
: Figure 9. Gnome informing us that a file has been received&lt;br /&gt;
: [[Image:bluetooth.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sending files from your ThinkPad to your device requires more effort. The way it should work is that you right-click on a file, click send to, then make sure 'Bluetooth (OBEX)' is selected. Your device should be displayed and you could just click send. Unfortunately, due to a bug in gnome-bluetooth (described in https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718) this method does not work. If it does work for you, the bug has been solved and you can skip the rest of this section.&lt;br /&gt;
&lt;br /&gt;
Your only other option is to use the command line to send files to your device. Open a terminal, then type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|hcitool scan}}&lt;br /&gt;
&lt;br /&gt;
A list of detected bluetooth devices will be shown, for example, my output shows the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scanning ...&lt;br /&gt;
        00:09:DD:60:02:EB       Photosmart 8100 series&lt;br /&gt;
        00:14:A7:99:3C:1F       ThElInK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first field is the MAC address of the device, the second is the name of the device. In this case my bluetooth printer and mobile phone (ThElInK) were detected. In order to send files to my phone, I use:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gnome-obex-send -d 00:14:A7:99:3C:1F myPicture.jpg}}&lt;br /&gt;
&lt;br /&gt;
Replace the MAC address with that of your device and myPicture.jpg with the file you want to send.&lt;br /&gt;
&lt;br /&gt;
===TrackPoint Scrolling===&lt;br /&gt;
&lt;br /&gt;
By default you can use the right and bottom edges of your touchpad to scroll through documents. If you use the TrackPoint instad of the touchpad (and believe me, you should), you'll find that scrolling is disabled by default. To enable it, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Now find the entry for your TrackPoint device. In my configuration file, the TrackPoint entry is the first mouse entry, after the keyboard entry, and looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier  &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right after this entry is my touchpad entry. My entry is on line 66, but yours may be different. Now, add the follwing two options in that InputDevice section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Option       &amp;quot;EmulateWheel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
  Option       &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit the file. Restart your ThinkPad (or logout, and press CTRL-ALT-BACKSPACE). You should now be able to scoll by holding down the middle button for your TrackPoint and using the TrackPoint to scroll.&lt;br /&gt;
&lt;br /&gt;
===Getting Multimedia to Work===&lt;br /&gt;
&lt;br /&gt;
Due to patents and similar legal crap, Ubuntu will not play most media files by default. You also won't get browser plugins for multimedia. Luckily, this is easily fixed. Open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup}}&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
Delete everything in the file, and instead paste the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf free&lt;br /&gt;
deb http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
deb-src http://packages.freecontrib.org/ubuntu/plf edgy-plf non-free&lt;br /&gt;
                                                                                                                                         &lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;
&lt;br /&gt;
## Listen&lt;br /&gt;
#deb http://theli.free.fr/packages/ edgy listen&lt;br /&gt;
&lt;br /&gt;
## Automatix repo&lt;br /&gt;
deb http://www.getautomatix.com/apt edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|wget http://www.getautomatix.com/apt/key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --import key.gpg.asc}}&lt;br /&gt;
: {{cmduser|gpg --export --armor 521A9C7C | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
: {{cmduser|sudo apt-get install automatix2}}&lt;br /&gt;
: {{cmduser|wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|tar -zxf easyubuntu-3.023.tar.gz}}&lt;br /&gt;
: {{cmduser|cd easyubuntu}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.pot packagelist-edgy.pot}}&lt;br /&gt;
: {{cmduser|cp packagelist-dapper.xml packagelist-edgy.xml}}&lt;br /&gt;
: {{cmduser|sudo python easyubuntu.in}}&lt;br /&gt;
&lt;br /&gt;
Don't worry if you get errors from the Ubuntu PLF repository. PLF mirrors are about as stable as wild bull in a farm full of cows. Select what you want to install from the resulting window. Make sure you do not select the totem-mozilla plugin, as this just doens't work, for me at least. When EasyUbuntu has finished installing packages, you should be returned to a terminal, which you can close. Now go to Applications - System Tools - Automatix. Read and agree to the warning. Check what you want to install. Make sure you check 'Mplayer and FF plugin'. When ready, click the 'install' button. That should get multimedia working nicely.&lt;br /&gt;
&lt;br /&gt;
: Figure 10. The Automatix user interface&lt;br /&gt;
: [[Image:automatix.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Beryl - fancy 3D desktop===&lt;br /&gt;
&lt;br /&gt;
MAC OS X has Aqua and Windows Vista has Aero. Well, Linux has XGL/Beryl which can get effects which are as good looking (or sometimes better!) than the former two. Installing Beryl on Ubuntu is not that hard. First, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
&lt;br /&gt;
At the end of the file, append the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Beryl&lt;br /&gt;
deb http://ubuntu.beryl-project.org/ edgy main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|wget http://beryl-mirror.lupine.me.uk/1609B551.gpg -O- | sudo apt-key add -}}&lt;br /&gt;
: {{cmduser|sudo apt-get update}}&lt;br /&gt;
&lt;br /&gt;
ATI Users Only: type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install xserver-xgl}}&lt;br /&gt;
&lt;br /&gt;
Now, to install beryl:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo apt-get install beryl emerald-themes}}&lt;br /&gt;
&lt;br /&gt;
To make Ubuntu use the 3D effects. Open a terminal:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
In that file, paste the following if you use an ATI card:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &amp;amp;&lt;br /&gt;
sleep 4  &lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use an Intel card, paste the following instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
beryl-manager&lt;br /&gt;
sleep 4&lt;br /&gt;
exec gnome-session&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and close. Now we need to make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/startxgl.sh}}&lt;br /&gt;
&lt;br /&gt;
All that's left now is to create a login script which makes gnome use the 3D effects. In a terminal, type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/share/xsessions/xgl.desktop}}&lt;br /&gt;
&lt;br /&gt;
Now, in this file paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Encoding=UTF-8&lt;br /&gt;
Name=Xgl&lt;br /&gt;
Exec=/usr/local/bin/startxgl.sh&lt;br /&gt;
Icon=&lt;br /&gt;
Type=Application&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and close the file. Now type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
In this file, paste:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Start beryl-manager within gnome-session&lt;br /&gt;
#&lt;br /&gt;
if [ `ps -A -o comm | grep -c '^Xgl$'` == &amp;quot;1&amp;quot; ]; then&lt;br /&gt;
       DISPLAY=:1 beryl-manager&lt;br /&gt;
       DISPLAY=:1 beryl-xgl&lt;br /&gt;
else echo &amp;quot;${0}: Error: beryl-manager not launched. Xgl not running?&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now make the file executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chmod a+x /usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Sessions, go to the Startup Programs tab, and click add, then type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/usr/local/bin/start_beryl.sh}}&lt;br /&gt;
&lt;br /&gt;
Now, reboot your ThinkPad. When you come to the login screen, click the 'Sessions' button on the bottom left corner, and select XGL. login, et voila! beautiful 3D effects!&lt;br /&gt;
&lt;br /&gt;
: Figure 11. Beryl's Cube effect&lt;br /&gt;
: [[Image:cube.jpg]]&lt;br /&gt;
&lt;br /&gt;
If you have NetBeans installed, try launching it now. It probably won't work due to Beryl. Luckily, this is easily solved. Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /etc/environment}}&lt;br /&gt;
&lt;br /&gt;
Then add the following line to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;AWT_TOOLKIT=&amp;quot;MToolkit&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save, close and reboot. Netbeans should now work!&lt;br /&gt;
&lt;br /&gt;
===Problem: Can't add programs to session===&lt;br /&gt;
&lt;br /&gt;
So you tried to add something to your startup programs, it shows up in the list, but it doesn't start up. You then launch the sessions program again, only to find your program has disappeared from the list. This problem is being caused by incorrect permissions in your home directory, and can happen on some occasions. To fix it, open a terminal and type the following:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo chown -R username:usergroup /home/username/.config/}}&lt;br /&gt;
&lt;br /&gt;
Replace username with your username and usergroup with your group (by default, in Ubuntu your usergroup is the same as your username). Everything should be OK now!&lt;br /&gt;
&lt;br /&gt;
===Problem: Virtual terminals not working===&lt;br /&gt;
&lt;br /&gt;
One problem I had after installing the ATI drivers was that virtual terminals stopped working. Instead of seeing a console when pressing CTRL+ALT+F1...F6 I was seeing a yellow/orange garbled output. Luckily, solving this with ATI drivers is trivial. Open a terminal, and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
Find the line which says&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and replace it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#defoptions=quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the line which boots the kernel you are currently using, this is just under '## ## End Default Options ##. In the 'kernel' line, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel		/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash vga=791&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and exit the file, and reboot. Virtual terminals should now work. If you use Intel drivers, you're going to have to bite the bullet and remove the 'splash' keyword from both the defoptions and kernel lines. You'll lose the pretty bootup screen, but at least virtual terminals will work, which are important to recover a crashed system.&lt;br /&gt;
&lt;br /&gt;
===Problem: I keep logging out!===&lt;br /&gt;
&lt;br /&gt;
If you're using Beryl, and find that you keep getting logged out, you've just encountered one of Beryl's most annoying bugs. Shift+Backspace causes a logout. To fix this, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|gedit /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Remember to replace 'username' with your username. Now, in this file type:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|xmodmap -e &amp;quot;keycode 22 &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; BackSpace BackSpace Terminate_Server&amp;quot; }}&lt;br /&gt;
&lt;br /&gt;
Save and close the file, and make it executable:&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|chmod 755 /home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Now go to System - Preferences - Session, Startup Programs. Click add, and type&lt;br /&gt;
&lt;br /&gt;
: {{cmduser|/home/username/annoymenot.sh}}&lt;br /&gt;
&lt;br /&gt;
Logout and back in, problem solved! While you're at it, how about getting the start button to work? Go to System - Preferences - Keyboard - Layout Options - Alt/Win Key behaviour and select 'Super is mapped to Win keys (default)'.&lt;br /&gt;
&lt;br /&gt;
===Desktop envy===&lt;br /&gt;
&lt;br /&gt;
We're living in an age of desktop prettyness, and Linux can be just as pretty as MAC OS X or Vista. You've already got Beryl installed. Now go to Applications - Accesories - gDesklets. If the gDesklets entry is not there, make sure you install it, either using Synaptic or Automatix. Desklets are small programs you can add to your desktop, ala OS X's Deskbar or Vista's Sidebar. To make them start on boot, add gdesklets in System - Preferences - Sessions, Startup Programs.&lt;br /&gt;
&lt;br /&gt;
Another cool program is cairo clock. Download it from http://macslow.thepimp.net/projects/cairo-clock/cairo-clock_0.3.2-1_i386.deb and install it by double-clicking. To make it start automatically, add it to your sessions as mentioned above. I've found the following command makes it work best for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cairo-clock -s -w 175 -g 175 -x 1219 -y 7 -t radium&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, make sure you click that Ruby icon in your notification area, it allows you to configure Beryl to do all sorts of cool stuff!&lt;br /&gt;
&lt;br /&gt;
===Conclusion===&lt;br /&gt;
&lt;br /&gt;
Well, that's about it! A dream Linux system on a dream laptop! Check out these cool technologies for an even better system:&lt;br /&gt;
&lt;br /&gt;
    * Beagle&lt;br /&gt;
    * Tomboy&lt;br /&gt;
    * Deskbar&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
    * ATI on Ubuntu - https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;
    * Garbled Virtual Terminal Bug - https://launchpad.net/distros/ubuntu/+source/usplash/+bug/63558&lt;br /&gt;
    * Beryl logout Bug - http://forum.beryl-project.org/viewtopic.php?p=1295&amp;amp;sid=6feedd09a7f01bca68feb05a5f2f033c&lt;br /&gt;
    * Beryl Netbeans Bug - http://ubuntuforums.org/showthread.php?t=252594&lt;br /&gt;
    * Beryl on Ubuntu - http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL&lt;br /&gt;
    * Home directory permissions bug - http://www.ubuntuforums.org/showthread.php?p=1789997&lt;br /&gt;
    * gnome-bluetooth bug - https://launchpad.net/distros/ubuntu/+source/gnome-bluetooth/+bug/70718&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_e1000:_EEPROM_Checksum_Is_Not_Valid&amp;diff=24419</id>
		<title>Problem with e1000: EEPROM Checksum Is Not Valid</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_e1000:_EEPROM_Checksum_Is_Not_Valid&amp;diff=24419"/>
		<updated>2006-08-31T14:42:21Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Circumvention */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Description ==&lt;br /&gt;
On certain ThinkPads, [[e1000]] driver for [[Ethernet_Controllers#Intel_Gigabit_.2810.2F100.2F1000.29|Intel Gigabit controller]] fails to load with the following error message in /var/log/messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
e1000: 0000:02:00.0: e1000_probe: The EEPROM Checksum Is Not Valid&lt;br /&gt;
e1000: probe of 0000:02:00.0 failed with error -5 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Circumvention ==&lt;br /&gt;
&lt;br /&gt;
* Upgrade your BIOS&lt;br /&gt;
&lt;br /&gt;
Lenovo has published newer BIOS revisions that appear to fix the issue for some users. The BIOS upgrade turns off &amp;quot;Deep smart power down&amp;quot; which has been known to cause issues at initialization time (the driver can re-enable the issue later if you desire, the feature works correctly then).&lt;br /&gt;
&lt;br /&gt;
* Insert a cable&lt;br /&gt;
&lt;br /&gt;
Inserting a linked network cable bypasses the problem.&lt;br /&gt;
&lt;br /&gt;
* Dangerous: turn off checksum checking in the driver&lt;br /&gt;
&lt;br /&gt;
''Disabling the checksum checking is dangerous: the network card has (obviously) read incorrect data from the EEPROM and will start operation based on these wrong values. You will see degraded network performance and possible data corruption and driver crashes. '''DO THIS AT YOUR OWN RISK'''.''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;tt&amp;gt;e1000_main.c&amp;lt;/tt&amp;gt;, find the following code and comment out err assignment and the goto statement:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* make sure the EEPROM is good */&lt;br /&gt;
if (e1000_validate_eeprom_checksum(&amp;amp;adapter-&amp;gt;hw) &amp;lt; 0) {&lt;br /&gt;
        DPRINTK(PROBE, ERR, &amp;quot;The EEPROM Checksum Is Not Valid\n&amp;quot;);&lt;br /&gt;
        /* err = -EIO;&lt;br /&gt;
        goto err_eeprom; */&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;Note&amp;lt;/i&amp;gt;: This is just a temporary solution until a better fix is developed. See the [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1474679&amp;amp;group_id=42302&amp;amp;atid=447449 bug report] for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Remove/add kernel module&lt;br /&gt;
&lt;br /&gt;
Removing and adding the kernel module is a possible work-around. As root, run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# modprobe -r e1000&lt;br /&gt;
# modprobe e1000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some occasions, the commands have to be run twice before eth0 becomes useable.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1474679&amp;amp;group_id=42302&amp;amp;atid=447449 bug report] submitted for e1000 driver.&lt;br /&gt;
* Discussion at [http://forums.gentoo.org/viewtopic-t-476305-highlight-e1000.html Gentoo forums]&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Known_Problems&amp;diff=24333</id>
		<title>Known Problems</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Known_Problems&amp;diff=24333"/>
		<updated>2006-08-23T02:36:03Z</updated>

		<summary type="html">&lt;p&gt;Ischg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
Information on known problems with certain ThinkPad models.&lt;br /&gt;
|}&lt;br /&gt;
==Display Problems==&lt;br /&gt;
*[[Problem with unusable console | Console unusable]] &amp;lt;tt&amp;gt;(models with savage video chipset: T2x, A22e)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with Pixel Error | Dead pixels on TFT displays]] &amp;lt;tt&amp;gt;(all models)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with DVI throughput | DVI throughput on port replicators and docks]] &amp;lt;tt&amp;gt;(models from 2000-2004)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problems with fglrx | fglrx problems]] &amp;lt;tt&amp;gt;(ATI Radeon models)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with garbled screen | Garbled Screen]] &amp;lt;tt&amp;gt;(T40, T41, T42, R40, A30, A31, A31p)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with broken inverter | Inverter broken]] &amp;lt;tt&amp;gt;(all models)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with key and trackpoint markings on the display | Key and Trackpoint markings on display]]&lt;br /&gt;
*[https://bugs.freedesktop.org/show_bug.cgi?id=2187 Radeon 7500 &amp;quot;DynamicClocks&amp;quot; randomly hangs] &amp;lt;tt&amp;gt;(TP T4x, Xorg-X11 bug report)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with red display shadow | Red shadow on display]] &amp;lt;tt&amp;gt;(TP T41p)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with red tinted display | Red tinted display]] &amp;lt;tt&amp;gt;(TP 23)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with black X | Unmovable square black X in X]] &amp;lt;tt&amp;gt;(TP T2x)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with video related system lockup | System Lockups related to video adapter]] &amp;lt;tt&amp;gt;(TP T2x)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with video related system lockup II | System Lockups related to video adapter T42]] &amp;lt;tt&amp;gt;(TP T42, T42p)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with ati driver in xorg 6.9.x | System lockup soon after starting xorg 6.9.x ]] &amp;lt;tt&amp;gt;(TP T4x)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with video output switching | Video output switching]]&lt;br /&gt;
&lt;br /&gt;
==Harddisk Drive related Problems==&lt;br /&gt;
*[[Problem with APS harddisk parking|APS harddisk parking]] &amp;lt;tt&amp;gt;(models featuring APS)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with too large harddrive|BIOS hangs with harddrive sized over 8G]] &amp;lt;tt&amp;gt;(560)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with hard drive clicking | Clicking Hard Drive]] &amp;lt;tt&amp;gt;(models with Hitachi's 5k80 hard drive)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with non-ThinkPad hard disks|Non-ThinkPad hard disks]] &amp;lt;tt&amp;gt;(T43, X41, R52)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problems with SATA and Linux|SATA and Linux]] &amp;lt;tt&amp;gt;(T43, X41, R52, Z60)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Network Problems==&lt;br /&gt;
*[[Problem with 3Com 10/100 Ethernet card not being recognized|3Com 10/100 Ethernet card not recognized]] &amp;lt;tt&amp;gt;(models with that card)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with unauthorized MiniPCI network card|&amp;quot;Unauthorized&amp;quot; MiniPCI Wireless Network card error (Error 1802)]] &amp;lt;tt&amp;gt;(Recent TPs)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Cisco Aironet Wireless 802.11b]] fails to work with certain firmware versions&lt;br /&gt;
*[[Problem with error 01C9 - More than one Ethernet devices | Error 01C9: More than one Ethernet Devices are found (Atheros WLAN MiniPCI)]] &amp;lt;tt&amp;gt;(T30, A31p, R40 and others)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with e1000: EEPROM Checksum Is Not Valid]] &amp;lt;tt&amp;gt;(T60, X60, may be others)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Power Management, AC-adapter or Battery Problems==&lt;br /&gt;
*[[Problem with ThinkPad 600 batteries | 600 series Battery dying prematurely]] &amp;lt;tt&amp;gt;(TP 600/E/X)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Damage in 56W AC-Adapter, plastic housing melted |AC-Adapter damaged, plastic housing melted]] &amp;lt;tt&amp;gt;(240, 390, i and s models)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problems with ACPI suspend-to-ram|ACPI suspend-to-ram]] &amp;lt;tt&amp;gt;(ACPI sleep troubles)&amp;lt;/tt&amp;gt;&lt;br /&gt;
**[[Problem with display remaining black after resume|Blank display after resume]] &amp;lt;tt&amp;gt;(various models)&amp;lt;/tt&amp;gt;&lt;br /&gt;
**[[Problem with high power drain in ACPI sleep | High power drain in ACPI sleep]] &amp;lt;tt&amp;gt;(various models)&amp;lt;/tt&amp;gt;&lt;br /&gt;
**[[Problem with LCD backlight remaining on during ACPI sleep | LCD backlight remaining on during ACPI sleep]] &amp;lt;tt&amp;gt;(various models)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with fan noise | Fan noise]] &amp;lt;tt&amp;gt;(TP T4x/p, TP R5x/p)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with checking battery status | Checking battery status causes mouse to jerk around]] &amp;lt;tt&amp;gt;(R31)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Battery drains despite seemingly being charged]] &amp;lt;tt&amp;gt;(A/C adapter issues)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with high pitch noises | High pitch noises]] &amp;lt;tt&amp;gt;(several models)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Sound Problems==&lt;br /&gt;
*[[Problem with broken sound on ThinkPad 600 | Broken sound on ThinkPad 600/E]] &amp;lt;tt&amp;gt;(TP 600/E/X, 770Z)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with audio jacks | Audio jacks not working properly]] &amp;lt;tt&amp;gt;(TP T43)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with ALSA audio output | No audio heard with kernel 2.6.11+/ALSA]] &amp;lt;tt&amp;gt;(TP T43, T40)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with audio clipping|Audio clipping]] &amp;lt;tt&amp;gt;(TP T43)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Misc Problems==&lt;br /&gt;
*[[Problem with Bending / Twisting|Casing malformed by bending/twising]] &amp;lt;tt&amp;gt;(X41)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with Dock USB Ports | Dock USB Ports]] &amp;lt;tt&amp;gt;(T30)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[High-pitch noise from AC-Adapter]] &amp;lt;tt&amp;gt;(T60/p)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with lm-sensors | lm_sensors kills ThinkPads]] &amp;lt;tt&amp;gt;(TP 570E, 770X/Z, 600E/X, 240, X20)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Problem with USB 2.0 | USB 2.0 problems]] &amp;lt;tt&amp;gt;(T40)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[de:Bekannte_Probleme]]&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_e1000:_EEPROM_Checksum_Is_Not_Valid&amp;diff=24313</id>
		<title>Problem with e1000: EEPROM Checksum Is Not Valid</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_e1000:_EEPROM_Checksum_Is_Not_Valid&amp;diff=24313"/>
		<updated>2006-08-22T06:56:47Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Circumvention */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Description ==&lt;br /&gt;
On certain ThinkPads, [[e1000]] driver for [[Ethernet_Controllers#Intel_Gigabit_.2810.2F100.2F1000.29|Intel Gigabit controller]] fails to load with the following error message in /var/log/messages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
e1000: 0000:02:00.0: e1000_probe: The EEPROM Checksum Is Not Valid&lt;br /&gt;
e1000: probe of 0000:02:00.0 failed with error -5 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Circumvention ==&lt;br /&gt;
&lt;br /&gt;
* Upgrade your BIOS&lt;br /&gt;
&lt;br /&gt;
Lenovo has published newer BIOS revisions that appear to fix the issue for some users. The BIOS upgrade turns off &amp;quot;Deep smart power down&amp;quot; which has been known to cause issues at initialization time (the driver can re-enable the issue later if you desire, the feature works correctly then).&lt;br /&gt;
&lt;br /&gt;
* Insert a cable&lt;br /&gt;
&lt;br /&gt;
Inserting a linked network cable bypasses the problem.&lt;br /&gt;
&lt;br /&gt;
* Dangerous: turn off checksum checking in the driver&lt;br /&gt;
&lt;br /&gt;
''Disabling the checksum checking is dangerous: the network card has (obviously) read incorrect data from the EEPROM and will start operation based on these wrong values. You will see degraded network performance and possible data corruption and driver crashes. '''DO THIS AT YOUR OWN RISK'''.''&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;tt&amp;gt;e1000_main.c&amp;lt;/tt&amp;gt;, find the following code and comment out err assignment and the goto statement:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* make sure the EEPROM is good */&lt;br /&gt;
if (e1000_validate_eeprom_checksum(&amp;amp;adapter-&amp;gt;hw) &amp;lt; 0) {&lt;br /&gt;
        DPRINTK(PROBE, ERR, &amp;quot;The EEPROM Checksum Is Not Valid\n&amp;quot;);&lt;br /&gt;
        /* err = -EIO;&lt;br /&gt;
        goto err_eeprom; */&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;Note&amp;lt;/i&amp;gt;: This is just a temporary solution until a better fix is developed. See the [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1474679&amp;amp;group_id=42302&amp;amp;atid=447449 bug report] for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Remove/add kernel module&lt;br /&gt;
&lt;br /&gt;
Removing and adding the kernel module is a possible work-around. As root, run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# modprobe -r e1000&lt;br /&gt;
# modprobe e1000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1474679&amp;amp;group_id=42302&amp;amp;atid=447449 bug report] submitted for e1000 driver.&lt;br /&gt;
* Discussion at [http://forums.gentoo.org/viewtopic-t-476305-highlight-e1000.html Gentoo forums]&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_high_pitch_noises&amp;diff=24283</id>
		<title>Problem with high pitch noises</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_high_pitch_noises&amp;diff=24283"/>
		<updated>2006-08-19T18:47:01Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Affected Models */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Information on strange high pitch, low volume noises emitted by ThinkPads.&lt;br /&gt;
&lt;br /&gt;
==Problem description==&lt;br /&gt;
Even though ThinkPads are known as very silent notebooks, they tend to emit different, mostly high pitch noises in certain circumstances. The noises are of low volume and hence not realized by everyone or at least tolerated by most people. However, there are those with &amp;quot;bat like ears&amp;quot; that hear them and might be annoyed by that.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
Noises have been experienced in the following situations:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;vertical-align:top;background-color:#DDDDDD;&amp;quot; | situation&lt;br /&gt;
! style=&amp;quot;vertical-align:top;background-color:#DDDDDD;&amp;quot; | noise description&lt;br /&gt;
! style=&amp;quot;vertical-align:top;background-color:#DDDDDD;&amp;quot; | affected models&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Plugged into AC / running at high CPU frequency&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
soft crackling, buzzing noise&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T41}}&lt;br /&gt;
**2379-DJU&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
ThinkPad suspended to RAM&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
constant high pitch noise&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T42p}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
ThinkPad connected to power and switched off, with battery fully charged&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
constant high pitch noise&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T41p}}&lt;br /&gt;
**2373-GHG&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
moving windows or just the mouse in xorg&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
strange noise like a rapid series of very short high pitch noises adding to a constant kind of whistling (only as long as the movement goes)&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T41p}}&lt;br /&gt;
**2373-GHG&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Thinkpad connected to power or working on battery, also when suspended to RAM&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High pitch noise also when HD is powered down.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T23}}&lt;br /&gt;
**2647-DG4&lt;br /&gt;
*{{X24}}&lt;br /&gt;
**2662-MWG&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Thinkpad connected to power battery charged less than 60%&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High pitch noise till battery is charged more than 60%.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T41p}}&lt;br /&gt;
**2373-GEG&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Constantly, if AC connected&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High pitched, low volume constant noise.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T40}}&lt;br /&gt;
**2373-88U&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
When the CPU freq jumps up to 1Ghz or above, or when the laptop is in suspend mode&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Constant high pitched&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{R50}}&lt;br /&gt;
**1829-6DM&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
(May come from harddisk.)&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
continuous, intermittent, low volume, high pitched&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{600X}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
ACPI puts the processor into the C3 or C4 power saving states (i.e., the system is idle).&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High-pitched crackling noise.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{X41}}&lt;br /&gt;
*{{T43}}&lt;br /&gt;
**2686-DGU&lt;br /&gt;
*{{T43p}}&lt;br /&gt;
*{{T60}}&lt;br /&gt;
**2007-72U&lt;br /&gt;
*{{T21}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Cpufreqd (or powernowd etc.) slows down the processor, for exemple at the end of an heavy task.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High-pitched crackling noise.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T42}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
When on battery&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Almost inaudible screeching sound, or sometimes beeping (when wifi is on)&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{R52}}&lt;br /&gt;
**1858-A11&lt;br /&gt;
*{{T43}}&lt;br /&gt;
**2686-DGU&lt;br /&gt;
*{{T60}}&lt;br /&gt;
**2007-72U&lt;br /&gt;
*{{x60}}&lt;br /&gt;
*{{x31}}&lt;br /&gt;
**2673-CBU&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| CPU is used much AND laptop is on AC power AND the TFT panel is enabled.&lt;br /&gt;
| Screetching high pitch noise, like a million crickets&lt;br /&gt;
| &lt;br /&gt;
* {{X41}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Network is pluged in and networkload is ~100%.&lt;br /&gt;
| low volume highfreq. pitch noise from left speaker or cpu.&lt;br /&gt;
|&lt;br /&gt;
*{{Z60}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Affected Operating Systems==&lt;br /&gt;
All, though Linux appears especially susceptible.&lt;br /&gt;
&lt;br /&gt;
==Possible sources==&lt;br /&gt;
&lt;br /&gt;
* '''CPU activity:''' On some models the noise is triggered by certain CPU power states or activity patterns (as proven [http://www.wisdom.weizmann.ac.il/~tromer/acoustic here]).&lt;br /&gt;
* '''Graphics processor:''' In some models from the T2x era, e.g. the {{T23}}, the problem was related to the graphics circuitry and occured especially or only while making use of DirectDraw functions. IBM was able to fix it through a BIOS upgrade.&lt;br /&gt;
* '''Hard disk:''' On some ThinkPads the processor and hard disk are adjacent and produce similar noise. For example, in the {{X41}} the sound generated by the hard disk is likely to be loudest at the vent.&lt;br /&gt;
&lt;br /&gt;
==Status==&lt;br /&gt;
&lt;br /&gt;
The problem is highly specific to operating system, model and even individual machines. There is no universal solution, but on most machines one of the following will reduce or eliminate the noise (possibly at some cost in power consumption).&lt;br /&gt;
&lt;br /&gt;
==Solutions for CPU-triggered noise==&lt;br /&gt;
&lt;br /&gt;
===Limit ACPI CPU power states===&lt;br /&gt;
&lt;br /&gt;
There are four ACPI CPU power states, called C1 through C4. Often only the extreme power saving modes C4 or C3 produce the noise, so the noise can be stopped by insructing the Linux ACPI code to use only lower modes.&lt;br /&gt;
&lt;br /&gt;
To forbid the ACPI driver from using C4 (this fixed the problem with on some ThinkPad {{T43}}, {{T43p}} and {{T41}}):&lt;br /&gt;
* If the ACPI processor component is compiled as built-in (&amp;lt;tt&amp;gt;CONFIG_ACPI_PROCESSOR=y&amp;lt;/tt&amp;gt;):&lt;br /&gt;
**Pass the {{bootparm|max_cstate|3}} kernel argument.&lt;br /&gt;
* If the ACPI processor component is loaded as a module (&amp;lt;tt&amp;gt;CONFIG_ACPI_PROCESSOR=m&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;processor&amp;lt;/tt&amp;gt; shows in the output of {{cmdroot|lsmod}}), do either of:&lt;br /&gt;
** Pass the {{bootparm|processor.max_cstate|3}} kernel argument (this does not work in Ubuntu 5.10 with default kernel).&lt;br /&gt;
** Add &amp;lt;code&amp;gt;options processor max_cstate=3&amp;lt;/code&amp;gt; to {{path|/etc/modprobe.conf}} (or {{path|/etc/modprobe.conf.local}}, or {{path|/etc/modprobe.d/...}}, depending on your system) (this does not work in Ubuntu 5.10 with default kernel).&lt;br /&gt;
** {{cmdroot|echo 3 &amp;gt;  /sys/module/processor/parameters/max_cstate}} (this can be changed in runtime for experimentation). (If may need to be set again upon resume from suspend, e.g., in the wakeup script.)&lt;br /&gt;
** (On Ubuntu 5.10, the default kernel uses &amp;lt;code&amp;gt;processor&amp;lt;/code&amp;gt; as a module.  Unfortunately, the script loading it, {{path|/etc/init.d/acpid}}, ignores the &amp;lt;code&amp;gt;options processor max_cstate=3&amp;lt;/code&amp;gt; setting in {{path|/etc/modprobe.d/&amp;lt;my file&amp;gt;}}.  As a solution for this specific problem, add the line &amp;lt;code&amp;gt;echo 2 &amp;gt; /sys/module/processor/parameters/max_cstate&amp;lt;/code&amp;gt; directly to {{path|/etc/init.d/acpid}}, at the end of the function &amp;lt;code&amp;gt;load_modules()&amp;lt;/code&amp;gt;, immediately after the line &amp;lt;code&amp;gt;echo &amp;quot;$PRINTK&amp;quot; &amp;gt; /proc/sys/kernel/printk&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
To also forbid the C3 state, replace &amp;quot;&amp;lt;tt&amp;gt;3&amp;lt;/tt&amp;gt;&amp;quot; with &amp;quot;&amp;lt;tt&amp;gt;2&amp;lt;/tt&amp;gt;&amp;quot; above (this fixed the problem on some ThinkPad {{X40}}, {{X41}}, and {{R52}}):&lt;br /&gt;
&lt;br /&gt;
Note that these options affect power consumption when the CPU is idle. For example, here are the power consumption figures on a ThinkPad {{T43}}:&lt;br /&gt;
* {{bootparm|processor.max_cstate|4}}: 15160mW (default, noisy)&lt;br /&gt;
* {{bootparm|processor.max_cstate|3}}: 15770mW (660mW higher, silent)&lt;br /&gt;
* {{bootparm|processor.max_cstate|2}}: 16100mW (2940mW higher, silent)&lt;br /&gt;
&lt;br /&gt;
See the [http://thinkwiki.org/wiki?title=Talk:Problem_with_high_pitch_noises discussion page] for further information and success reports.&lt;br /&gt;
&lt;br /&gt;
*Jakob Schou Pedersen: Editing the file {{path|/etc/init.d/acpid}} as described above (the last solution) worked on my T43 :-)&lt;br /&gt;
&lt;br /&gt;
===Turn off CPU power saving in in BIOS===&lt;br /&gt;
&lt;br /&gt;
Go into the BIOS and turn off the power saving processor feature that puts it into idle mode. (This worked on a ThinkPad {{T43}}, {{T21}} and {{X60s}}.)&lt;br /&gt;
&lt;br /&gt;
===Disable ACPI CPU power states===&lt;br /&gt;
&lt;br /&gt;
Completely disable CPU ACPI power states. Discussion:&lt;br /&gt;
&lt;br /&gt;
*From Martin Steigerwald: I made the observation that I get at least less high pitch noises on my {{T23}} when I do not use the two ACPI modules &amp;quot;processor&amp;quot; and &amp;quot;thermal&amp;quot; (depends on the first one). I have no clue, why. Anyone with similar experiences?&lt;br /&gt;
:Omar Yasin: I've got a {{R52}} and when I load the same ACPIO modules the high pitch noises are not as loud but I can still hear them.&lt;br /&gt;
*Niko Ehrenfeuchter: I'm experiencing the same here on my {{X24}}. Removing the &amp;quot;processor&amp;quot; module also stops the pitch noise, which does ONLY occur when setting the CPU to maximum speed (using cpufreq). On low speed it's completely silent, even having loaded the processor module.&lt;br /&gt;
&lt;br /&gt;
*Rolf Adelsberger: I can confirm this: the high pitch noise is only remarkable (at least with my ears ;-) ) if the processor speed is set to maximum frequency.&lt;br /&gt;
&lt;br /&gt;
*Stefan Baums: My {{X41}} produced a high-pitched crackle from the processor vent on the left.  Changing HZ did nothing, and the 'processor' module could not easily be removed from the system (Ubuntu 5.04).  What solved the problem for me was adding {{bootparm|idle|halt}} to the boot command line. Unfortunately, this solution only lasts until the first hibernation or suspend - when the computer ({{X41}}) resumes, the high-pitched crackle is back.&lt;br /&gt;
&lt;br /&gt;
* The {{bootparm|idle|halt}} solution combined with setting &amp;lt;code&amp;gt;#define HZ 100&amp;lt;/code&amp;gt; in the kernel fixes the problem on a {{T43}}.&lt;br /&gt;
&lt;br /&gt;
* jhatch:  {{bootparm|idle|halt}} plus &amp;lt;code&amp;gt;#define HZ 100&amp;lt;/code&amp;gt; also worked on my {{T43}}.  It still reverts back to noisy after a suspend/resume though.  This needs to be fixed...&lt;br /&gt;
&lt;br /&gt;
===Change the timer interrupt frequency===&lt;br /&gt;
&lt;br /&gt;
Change the &amp;quot;HZ&amp;quot; kernel constants to alter the frequency of timer interrupts. Discussion:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The timer interrupt frequency (HZ) in current Linux kernels is directly tied to the kernel task scheduler.  Lower frequencies provide larger time-slices and thus also higher latencies (which may kill latency-sensitive applications like audio processing). 100Hz ended up as the recommended &amp;quot;server&amp;quot; setting (because it increases disk/CPU throughput in a latency-insensitive environment).  Higher frequencies are better for latency-sensitive applications, and improve desktop responsivity at the cost of less processor throughput. 1000Hz ended up as the recommended &amp;quot;desktop&amp;quot; setting.}}&lt;br /&gt;
&lt;br /&gt;
*Andreas Karnahl: i've read in several forums it has something to do with the &amp;quot;idle&amp;quot;-state (or &amp;quot;C3&amp;quot;) of the processor. There is a frequency called &amp;quot;timer interrupt&amp;quot; (or so mething like that). Since kernel 2.6x it is set to 1000 Hz by default (compared to 100 Hz in Kernel 2.4x). The exact reason i don't know, but it is safe to change this frequency to 100 Hz in kernel 2.6x (by the way, windows up to XP uses 100 Hz by default).&amp;lt;br /&amp;gt;Just do the following:&amp;lt;br /&amp;gt;&lt;br /&gt;
:   In {{path|[path to kernel-sources]/include/asm-i386/param.h}} find the line&lt;br /&gt;
::       &amp;lt;code&amp;gt;#define HZ 1000&amp;lt;/code&amp;gt;&lt;br /&gt;
:   and change the value of HZ to 100: &lt;br /&gt;
::       &amp;lt;code&amp;gt;#define HZ 100&amp;lt;/code&amp;gt;&lt;br /&gt;
:Then recompile the kernel.&amp;lt;br /&amp;gt;After i changed it on my ThinkPad {{A30}} (under SuSE 9.2 and 9.3) and recompiling the kernel the high pitch noise is gone away.&lt;br /&gt;
&lt;br /&gt;
* Omar Yasin: Worked on my {{R52}}, thanks.&lt;br /&gt;
&lt;br /&gt;
* [[User:Thinker|Thinker]]: In modern kernels this constant is in the kernel configuration {{kernelconf|CONFIG_HZ|Processor type and features||Timer Frequency|||||}}.&lt;br /&gt;
&lt;br /&gt;
===Prevent idling===&lt;br /&gt;
&lt;br /&gt;
Indirectly avoid power saving states by making sure the CPU is rarely idle:&lt;br /&gt;
&lt;br /&gt;
* Paul RIVIER: Here is a really simple workaround. C3 / C4 states are mainly called when the cpu freq is higher than required, for example if your cpufreqd is lazy to slow down the frequency but quick to raise it. That is why I use powernowd with the builtin &amp;quot;passive&amp;quot; mode, which is lazy for raising frequency, but quick to go back to the lowest. Now I don't hear them as often as before, as I avoid C3/C4 states at high frequency.&lt;br /&gt;
&lt;br /&gt;
* The problem also occurs on my {{X41}} with 2.6.11. Setting up [[How to make use of Dynamic Frequency Scaling|frequency scaling]] with the &amp;lt;code&amp;gt;ondemand&amp;lt;/code&amp;gt; governor makes things a lot better, as the processor does not stay with the maximum frequency when in idle mode. It can be still heard sometimes, though.&lt;br /&gt;
&lt;br /&gt;
* On a {{T43}} the noise was gone after dropping cpufreqd and switching to the ondemand governor - maybe because of the high sampling rate? (used the default: 10ms)&lt;br /&gt;
&lt;br /&gt;
===Change the processor voltage===&lt;br /&gt;
&lt;br /&gt;
Reducing the processor voltage (when possible) may decrease or eliminate the noise. On one ThinkPad {{T43}}, [[Pentium M undervolting and underclocking|undervolting the Pentium M processor]] eliminated the high-pitched noise. Compared to the other solutions this has the benefit of lower power consumption, both due to the undervolting itself and because there is no need to forbid high APCI CPU power saving modes.&lt;br /&gt;
&lt;br /&gt;
==Other solutions==&lt;br /&gt;
&lt;br /&gt;
===Disable UltraBay===&lt;br /&gt;
*Naheed Vora: My {{T41}} (2373-268) started to give high pitch noise ocassionally, when I upgraded to 2.6.11 kernel. I tried to unload lot of modules but finally figured out that disabling bay stops the noise. If you have [[ibm-acpi]], do (need a cleaner solution): {{cmduser|echo eject &amp;gt;/proc/acpi/ibm/bay}} .&lt;br /&gt;
&lt;br /&gt;
===Disable IrDA===&lt;br /&gt;
*Mike Perry: I was able to cure an intermittent high-pitched whine on both my {{X24}} and {{X40}} by disabling the Infrared port.&lt;br /&gt;
&lt;br /&gt;
===Disable the Linuxant Modem Driver===&lt;br /&gt;
*Joern Heissler: I made another experience. I played around with linuxant conexant [[Modem Devices|modem]] drivers. After loading them I got some noise on my {{T42p}}.&lt;br /&gt;
&lt;br /&gt;
===Media Player paused===&lt;br /&gt;
*Eilif Muller: On my {{R52}} the high-pitched noises go away if I load XMMS, play something then pause it.&lt;br /&gt;
*Jacob: On my {{T43}} DGU it goes away if I open mplayerc.exe and press play then pause it. This is the high-pitched noise that only shows up when I'm on battery.&lt;br /&gt;
&lt;br /&gt;
''I'd guess that the above tip works as when xmms or similar is running, it is uncompressing compressed audio/video, which is a processor intensive action.  Keeping this paused means that the app won't 'let go' of the processor, forcing it to stay up and running, which stops it entering the higher powersave modes.''&lt;br /&gt;
&lt;br /&gt;
===Upgrade BIOS===&lt;br /&gt;
On a ThinkPad [[X60s]], [[BIOS_Upgrade|upgrading the BIOS]] to version 1.06 eliminated the high pitch noise when running on battery.&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_high_pitch_noises&amp;diff=24282</id>
		<title>Problem with high pitch noises</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_high_pitch_noises&amp;diff=24282"/>
		<updated>2006-08-19T18:45:49Z</updated>

		<summary type="html">&lt;p&gt;Ischg: /* Affected Models */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Information on strange high pitch, low volume noises emitted by ThinkPads.&lt;br /&gt;
&lt;br /&gt;
==Problem description==&lt;br /&gt;
Even though ThinkPads are known as very silent notebooks, they tend to emit different, mostly high pitch noises in certain circumstances. The noises are of low volume and hence not realized by everyone or at least tolerated by most people. However, there are those with &amp;quot;bat like ears&amp;quot; that hear them and might be annoyed by that.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
Noises have been experienced in the following situations:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;vertical-align:top;background-color:#DDDDDD;&amp;quot; | situation&lt;br /&gt;
! style=&amp;quot;vertical-align:top;background-color:#DDDDDD;&amp;quot; | noise description&lt;br /&gt;
! style=&amp;quot;vertical-align:top;background-color:#DDDDDD;&amp;quot; | affected models&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Plugged into AC / running at high CPU frequency&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
soft crackling, buzzing noise&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T41}}&lt;br /&gt;
**2379-DJU&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
ThinkPad suspended to RAM&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
constant high pitch noise&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T42p}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
ThinkPad connected to power and switched off, with battery fully charged&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
constant high pitch noise&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T41p}}&lt;br /&gt;
**2373-GHG&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
moving windows or just the mouse in xorg&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
strange noise like a rapid series of very short high pitch noises adding to a constant kind of whistling (only as long as the movement goes)&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T41p}}&lt;br /&gt;
**2373-GHG&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Thinkpad connected to power or working on battery, also when suspended to RAM&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High pitch noise also when HD is powered down.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T23}}&lt;br /&gt;
**2647-DG4&lt;br /&gt;
*{{X24}}&lt;br /&gt;
**2662-MWG&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Thinkpad connected to power battery charged less than 60%&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High pitch noise till battery is charged more than 60%.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T41p}}&lt;br /&gt;
**2373-GEG&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Constantly, if AC connected&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High pitched, low volume constant noise.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T40}}&lt;br /&gt;
**2373-88U&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
When the CPU freq jumps up to 1Ghz or above, or when the laptop is in suspend mode&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Constant high pitched&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{R50}}&lt;br /&gt;
**1829-6DM&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
(May come from harddisk.)&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
continuous, intermittent, low volume, high pitched&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{600X}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
ACPI puts the processor into the C3 or C4 power saving states (i.e., the system is idle).&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High-pitched crackling noise.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{X41}}&lt;br /&gt;
*{{T43}}&lt;br /&gt;
**2686-DGU&lt;br /&gt;
*{{T43p}}&lt;br /&gt;
*{{T21}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Cpufreqd (or powernowd etc.) slows down the processor, for exemple at the end of an heavy task.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
High-pitched crackling noise.&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{T42}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
When on battery&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
Almost inaudible screeching sound, or sometimes beeping (when wifi is on)&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
*{{R52}}&lt;br /&gt;
**1858-A11&lt;br /&gt;
*{{T43}}&lt;br /&gt;
**2686-DGU&lt;br /&gt;
*{{T60}}&lt;br /&gt;
**2007-72U&lt;br /&gt;
*{{x60}}&lt;br /&gt;
*{{x31}}&lt;br /&gt;
**2673-CBU&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| CPU is used much AND laptop is on AC power AND the TFT panel is enabled.&lt;br /&gt;
| Screetching high pitch noise, like a million crickets&lt;br /&gt;
| &lt;br /&gt;
* {{X41}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Network is pluged in and networkload is ~100%.&lt;br /&gt;
| low volume highfreq. pitch noise from left speaker or cpu.&lt;br /&gt;
|&lt;br /&gt;
*{{Z60}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Affected Operating Systems==&lt;br /&gt;
All, though Linux appears especially susceptible.&lt;br /&gt;
&lt;br /&gt;
==Possible sources==&lt;br /&gt;
&lt;br /&gt;
* '''CPU activity:''' On some models the noise is triggered by certain CPU power states or activity patterns (as proven [http://www.wisdom.weizmann.ac.il/~tromer/acoustic here]).&lt;br /&gt;
* '''Graphics processor:''' In some models from the T2x era, e.g. the {{T23}}, the problem was related to the graphics circuitry and occured especially or only while making use of DirectDraw functions. IBM was able to fix it through a BIOS upgrade.&lt;br /&gt;
* '''Hard disk:''' On some ThinkPads the processor and hard disk are adjacent and produce similar noise. For example, in the {{X41}} the sound generated by the hard disk is likely to be loudest at the vent.&lt;br /&gt;
&lt;br /&gt;
==Status==&lt;br /&gt;
&lt;br /&gt;
The problem is highly specific to operating system, model and even individual machines. There is no universal solution, but on most machines one of the following will reduce or eliminate the noise (possibly at some cost in power consumption).&lt;br /&gt;
&lt;br /&gt;
==Solutions for CPU-triggered noise==&lt;br /&gt;
&lt;br /&gt;
===Limit ACPI CPU power states===&lt;br /&gt;
&lt;br /&gt;
There are four ACPI CPU power states, called C1 through C4. Often only the extreme power saving modes C4 or C3 produce the noise, so the noise can be stopped by insructing the Linux ACPI code to use only lower modes.&lt;br /&gt;
&lt;br /&gt;
To forbid the ACPI driver from using C4 (this fixed the problem with on some ThinkPad {{T43}}, {{T43p}} and {{T41}}):&lt;br /&gt;
* If the ACPI processor component is compiled as built-in (&amp;lt;tt&amp;gt;CONFIG_ACPI_PROCESSOR=y&amp;lt;/tt&amp;gt;):&lt;br /&gt;
**Pass the {{bootparm|max_cstate|3}} kernel argument.&lt;br /&gt;
* If the ACPI processor component is loaded as a module (&amp;lt;tt&amp;gt;CONFIG_ACPI_PROCESSOR=m&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;processor&amp;lt;/tt&amp;gt; shows in the output of {{cmdroot|lsmod}}), do either of:&lt;br /&gt;
** Pass the {{bootparm|processor.max_cstate|3}} kernel argument (this does not work in Ubuntu 5.10 with default kernel).&lt;br /&gt;
** Add &amp;lt;code&amp;gt;options processor max_cstate=3&amp;lt;/code&amp;gt; to {{path|/etc/modprobe.conf}} (or {{path|/etc/modprobe.conf.local}}, or {{path|/etc/modprobe.d/...}}, depending on your system) (this does not work in Ubuntu 5.10 with default kernel).&lt;br /&gt;
** {{cmdroot|echo 3 &amp;gt;  /sys/module/processor/parameters/max_cstate}} (this can be changed in runtime for experimentation). (If may need to be set again upon resume from suspend, e.g., in the wakeup script.)&lt;br /&gt;
** (On Ubuntu 5.10, the default kernel uses &amp;lt;code&amp;gt;processor&amp;lt;/code&amp;gt; as a module.  Unfortunately, the script loading it, {{path|/etc/init.d/acpid}}, ignores the &amp;lt;code&amp;gt;options processor max_cstate=3&amp;lt;/code&amp;gt; setting in {{path|/etc/modprobe.d/&amp;lt;my file&amp;gt;}}.  As a solution for this specific problem, add the line &amp;lt;code&amp;gt;echo 2 &amp;gt; /sys/module/processor/parameters/max_cstate&amp;lt;/code&amp;gt; directly to {{path|/etc/init.d/acpid}}, at the end of the function &amp;lt;code&amp;gt;load_modules()&amp;lt;/code&amp;gt;, immediately after the line &amp;lt;code&amp;gt;echo &amp;quot;$PRINTK&amp;quot; &amp;gt; /proc/sys/kernel/printk&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
To also forbid the C3 state, replace &amp;quot;&amp;lt;tt&amp;gt;3&amp;lt;/tt&amp;gt;&amp;quot; with &amp;quot;&amp;lt;tt&amp;gt;2&amp;lt;/tt&amp;gt;&amp;quot; above (this fixed the problem on some ThinkPad {{X40}}, {{X41}}, and {{R52}}):&lt;br /&gt;
&lt;br /&gt;
Note that these options affect power consumption when the CPU is idle. For example, here are the power consumption figures on a ThinkPad {{T43}}:&lt;br /&gt;
* {{bootparm|processor.max_cstate|4}}: 15160mW (default, noisy)&lt;br /&gt;
* {{bootparm|processor.max_cstate|3}}: 15770mW (660mW higher, silent)&lt;br /&gt;
* {{bootparm|processor.max_cstate|2}}: 16100mW (2940mW higher, silent)&lt;br /&gt;
&lt;br /&gt;
See the [http://thinkwiki.org/wiki?title=Talk:Problem_with_high_pitch_noises discussion page] for further information and success reports.&lt;br /&gt;
&lt;br /&gt;
*Jakob Schou Pedersen: Editing the file {{path|/etc/init.d/acpid}} as described above (the last solution) worked on my T43 :-)&lt;br /&gt;
&lt;br /&gt;
===Turn off CPU power saving in in BIOS===&lt;br /&gt;
&lt;br /&gt;
Go into the BIOS and turn off the power saving processor feature that puts it into idle mode. (This worked on a ThinkPad {{T43}}, {{T21}} and {{X60s}}.)&lt;br /&gt;
&lt;br /&gt;
===Disable ACPI CPU power states===&lt;br /&gt;
&lt;br /&gt;
Completely disable CPU ACPI power states. Discussion:&lt;br /&gt;
&lt;br /&gt;
*From Martin Steigerwald: I made the observation that I get at least less high pitch noises on my {{T23}} when I do not use the two ACPI modules &amp;quot;processor&amp;quot; and &amp;quot;thermal&amp;quot; (depends on the first one). I have no clue, why. Anyone with similar experiences?&lt;br /&gt;
:Omar Yasin: I've got a {{R52}} and when I load the same ACPIO modules the high pitch noises are not as loud but I can still hear them.&lt;br /&gt;
*Niko Ehrenfeuchter: I'm experiencing the same here on my {{X24}}. Removing the &amp;quot;processor&amp;quot; module also stops the pitch noise, which does ONLY occur when setting the CPU to maximum speed (using cpufreq). On low speed it's completely silent, even having loaded the processor module.&lt;br /&gt;
&lt;br /&gt;
*Rolf Adelsberger: I can confirm this: the high pitch noise is only remarkable (at least with my ears ;-) ) if the processor speed is set to maximum frequency.&lt;br /&gt;
&lt;br /&gt;
*Stefan Baums: My {{X41}} produced a high-pitched crackle from the processor vent on the left.  Changing HZ did nothing, and the 'processor' module could not easily be removed from the system (Ubuntu 5.04).  What solved the problem for me was adding {{bootparm|idle|halt}} to the boot command line. Unfortunately, this solution only lasts until the first hibernation or suspend - when the computer ({{X41}}) resumes, the high-pitched crackle is back.&lt;br /&gt;
&lt;br /&gt;
* The {{bootparm|idle|halt}} solution combined with setting &amp;lt;code&amp;gt;#define HZ 100&amp;lt;/code&amp;gt; in the kernel fixes the problem on a {{T43}}.&lt;br /&gt;
&lt;br /&gt;
* jhatch:  {{bootparm|idle|halt}} plus &amp;lt;code&amp;gt;#define HZ 100&amp;lt;/code&amp;gt; also worked on my {{T43}}.  It still reverts back to noisy after a suspend/resume though.  This needs to be fixed...&lt;br /&gt;
&lt;br /&gt;
===Change the timer interrupt frequency===&lt;br /&gt;
&lt;br /&gt;
Change the &amp;quot;HZ&amp;quot; kernel constants to alter the frequency of timer interrupts. Discussion:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The timer interrupt frequency (HZ) in current Linux kernels is directly tied to the kernel task scheduler.  Lower frequencies provide larger time-slices and thus also higher latencies (which may kill latency-sensitive applications like audio processing). 100Hz ended up as the recommended &amp;quot;server&amp;quot; setting (because it increases disk/CPU throughput in a latency-insensitive environment).  Higher frequencies are better for latency-sensitive applications, and improve desktop responsivity at the cost of less processor throughput. 1000Hz ended up as the recommended &amp;quot;desktop&amp;quot; setting.}}&lt;br /&gt;
&lt;br /&gt;
*Andreas Karnahl: i've read in several forums it has something to do with the &amp;quot;idle&amp;quot;-state (or &amp;quot;C3&amp;quot;) of the processor. There is a frequency called &amp;quot;timer interrupt&amp;quot; (or so mething like that). Since kernel 2.6x it is set to 1000 Hz by default (compared to 100 Hz in Kernel 2.4x). The exact reason i don't know, but it is safe to change this frequency to 100 Hz in kernel 2.6x (by the way, windows up to XP uses 100 Hz by default).&amp;lt;br /&amp;gt;Just do the following:&amp;lt;br /&amp;gt;&lt;br /&gt;
:   In {{path|[path to kernel-sources]/include/asm-i386/param.h}} find the line&lt;br /&gt;
::       &amp;lt;code&amp;gt;#define HZ 1000&amp;lt;/code&amp;gt;&lt;br /&gt;
:   and change the value of HZ to 100: &lt;br /&gt;
::       &amp;lt;code&amp;gt;#define HZ 100&amp;lt;/code&amp;gt;&lt;br /&gt;
:Then recompile the kernel.&amp;lt;br /&amp;gt;After i changed it on my ThinkPad {{A30}} (under SuSE 9.2 and 9.3) and recompiling the kernel the high pitch noise is gone away.&lt;br /&gt;
&lt;br /&gt;
* Omar Yasin: Worked on my {{R52}}, thanks.&lt;br /&gt;
&lt;br /&gt;
* [[User:Thinker|Thinker]]: In modern kernels this constant is in the kernel configuration {{kernelconf|CONFIG_HZ|Processor type and features||Timer Frequency|||||}}.&lt;br /&gt;
&lt;br /&gt;
===Prevent idling===&lt;br /&gt;
&lt;br /&gt;
Indirectly avoid power saving states by making sure the CPU is rarely idle:&lt;br /&gt;
&lt;br /&gt;
* Paul RIVIER: Here is a really simple workaround. C3 / C4 states are mainly called when the cpu freq is higher than required, for example if your cpufreqd is lazy to slow down the frequency but quick to raise it. That is why I use powernowd with the builtin &amp;quot;passive&amp;quot; mode, which is lazy for raising frequency, but quick to go back to the lowest. Now I don't hear them as often as before, as I avoid C3/C4 states at high frequency.&lt;br /&gt;
&lt;br /&gt;
* The problem also occurs on my {{X41}} with 2.6.11. Setting up [[How to make use of Dynamic Frequency Scaling|frequency scaling]] with the &amp;lt;code&amp;gt;ondemand&amp;lt;/code&amp;gt; governor makes things a lot better, as the processor does not stay with the maximum frequency when in idle mode. It can be still heard sometimes, though.&lt;br /&gt;
&lt;br /&gt;
* On a {{T43}} the noise was gone after dropping cpufreqd and switching to the ondemand governor - maybe because of the high sampling rate? (used the default: 10ms)&lt;br /&gt;
&lt;br /&gt;
===Change the processor voltage===&lt;br /&gt;
&lt;br /&gt;
Reducing the processor voltage (when possible) may decrease or eliminate the noise. On one ThinkPad {{T43}}, [[Pentium M undervolting and underclocking|undervolting the Pentium M processor]] eliminated the high-pitched noise. Compared to the other solutions this has the benefit of lower power consumption, both due to the undervolting itself and because there is no need to forbid high APCI CPU power saving modes.&lt;br /&gt;
&lt;br /&gt;
==Other solutions==&lt;br /&gt;
&lt;br /&gt;
===Disable UltraBay===&lt;br /&gt;
*Naheed Vora: My {{T41}} (2373-268) started to give high pitch noise ocassionally, when I upgraded to 2.6.11 kernel. I tried to unload lot of modules but finally figured out that disabling bay stops the noise. If you have [[ibm-acpi]], do (need a cleaner solution): {{cmduser|echo eject &amp;gt;/proc/acpi/ibm/bay}} .&lt;br /&gt;
&lt;br /&gt;
===Disable IrDA===&lt;br /&gt;
*Mike Perry: I was able to cure an intermittent high-pitched whine on both my {{X24}} and {{X40}} by disabling the Infrared port.&lt;br /&gt;
&lt;br /&gt;
===Disable the Linuxant Modem Driver===&lt;br /&gt;
*Joern Heissler: I made another experience. I played around with linuxant conexant [[Modem Devices|modem]] drivers. After loading them I got some noise on my {{T42p}}.&lt;br /&gt;
&lt;br /&gt;
===Media Player paused===&lt;br /&gt;
*Eilif Muller: On my {{R52}} the high-pitched noises go away if I load XMMS, play something then pause it.&lt;br /&gt;
*Jacob: On my {{T43}} DGU it goes away if I open mplayerc.exe and press play then pause it. This is the high-pitched noise that only shows up when I'm on battery.&lt;br /&gt;
&lt;br /&gt;
''I'd guess that the above tip works as when xmms or similar is running, it is uncompressing compressed audio/video, which is a processor intensive action.  Keeping this paused means that the app won't 'let go' of the processor, forcing it to stay up and running, which stops it entering the higher powersave modes.''&lt;br /&gt;
&lt;br /&gt;
===Upgrade BIOS===&lt;br /&gt;
On a ThinkPad [[X60s]], [[BIOS_Upgrade|upgrading the BIOS]] to version 1.06 eliminated the high pitch noise when running on battery.&lt;/div&gt;</summary>
		<author><name>Ischg</name></author>
		
	</entry>
</feed>