Installing Linux Mint 13 Xfce on a ThinkPad X200

From ThinkWiki
Revision as of 11:37, 6 November 2012 by Bugmenot1 (Talk | contribs) (First revision finished)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Preface

This guide will help you to install and configure Linux Mint 13 Xfce on a ThinkPad X200. Please note that many of the steps described here may be applied to other Linux distributions and ThinkPads alike.

Installation

The Xfce edition chosen here is recommended for users who wish to have a clean, simple and productive desktop environment rather than an graphical playground. If your system comes with more than 4GB RAM, then it is advised to download the 64Bit version. With less than 4GB RAM it is sufficient to use the 32Bit version. I will not describe the installation steps of Mint itself at this stage since there is an excellent official documentation available. To achieve best results during the installation you will need an internet connection. By default your wireless connection will successfully connect to a network but you will get timeouts when accessing a page. Hence, either use an ethernet cable or go to the wireless section to fix the problem.

After the installation

After the installation most parts of your system will work by default. The following steps will take care of the rest.

Wireless connection

As mentioned above your wireless cart will be able to connect to a network but produces timeouts when accessing a page. The solution is to start the responsible iwlwifi module with the 11n_disable=1 option. This can be either done temporarily (such as required during installation) with the following commands:

   sudo modprobe -r iwlwifi
   sudo modprobe iwlwifi 11n_disable=1

The permanent fix requires to open the file /etc/modprobe.d/iwlwifi.conf with superuser rights by running /sudo gedit /etc/modprobe.d/iwlwifi.conf in the terminal. Once open add the following line to the file, save it and reboot your system:

   options iwlwifi 11n_disable=1

Font rendering

The first thing you might notice is bad font rendering and the screen to be blurry. To do

Custom kernel and energy saving options

An X200 is a pretty efficient notebook when used with Windows. But almost the same consumption can be achieved with small adjustment with Linux. All required packages have to be added to the system first:

   sudo add-apt-repository ppa:linrunner/thinkpad-extras
   sudo add-apt-repository ppa:linrunner/tlp
   sudo apt-get update

Then install the following packages and reboot your system:

  sudo apt-get install linux-image-generic-tp linux-headers-generic-tp
  sudo apt-get install --no-install-recommends tlp tlp-rdw tp-smapi-dkms smartmontools ethtool
  sudo tlp start

Power saving tools should now be started together with the custom kernel that comes with improvements compared to the default kernel.

Mute button

You might have noticed that your mute button on the keyboard will mute the sound but not unmute it correctly. The is directly related to Xfce since it takes the wrong sound card as the active one. Run the following command in the terminal and your mute button should work correctly:

   xfconf-query -c xfce4-mixer -p /active-card -s PlaybackBuiltinAudioAnalogStereoPulseAudioMixer