Enable Screen Rotation and Docking for ThinkPad X220 in Ubuntu

thinkpad-scripts lets you to rotating, docking, etc ThinkPad X220 in Ubuntu Linux - This script is intended for the Lenovo ThinkPad X220 Tablet. You can still use them with the regular X220 machine, but only thinkpad-rotate will probably be useless for you then.

In short, this script fixes or improves the following :
  • Rotation of the internal screen and any Wacom touch and pen input devices using the bezel buttons or physical screen rotation
  • Get the microphone mute button to work.
  • Automatically use any external monitor, speakers and LAN connection when docking onto an UltraBase or similar.
  • Ability to disable touch pad or touch screen.

Installing ThinkPad Script via PPA

The (latest) packages are available for Ubuntu 14.04 LTS Trusty Tahr, 16.04 Xenial Xerus, 16.10 Yakkety Yak and derivatives system.

Screen Rotation Docking Thinkpad X220 Linux Ubuntu

You can install it easily via Martin's PPA repository as follows :

Step 1 - Open terminal window ( Ctrl+Alt+T )

Step 2 - Type the command below to the PPA to your Ubuntu

add-apt-repository ppa:martin-ueding/stable

Type your Ubuntu password, then press Enter key to confirm and continue.

Step 3 - Resync the index by run the following command :

sudo apt-get update

Step 4 - Once updated, next type and run this command :

sudo apt install thinkpad-scripts

For other Linux distribution like Arch, Fedora, and openSUSE, you can head to its project site to see the installation instruction, documentation, and configuration.

Also read on Linuxslaves :

ThinkPad Script Usage

Generally you won't need to call any of the scripts manually. However, in case you do, this is a synopsis of each command :

thinkpad-dock [on|off]
thinkpad-rotate [direction]
thinkpad-touch [on|off]

That's it!

These were all how to rotating screen, docking ThinkPad X220 in Ubuntu 14.04 / 16.04 / 16.10 Linux. Hope you've enjoyed reading this post. Thanks for visiting us!