Difference between revisions of "ThinkPad Button"

From ThinkWiki
Jump to: navigation, search
m (Models featuring this Technology)
(Related Links)
Line 70: Line 70:
== Related Links ==
== Related Links ==
*[[Script for Windows to control volume, brightness and ThinkLight]] that also allows querying of the ThinkPad button
*[http://www.pc.ibm.com/us/think/thinkvantagetech/accessibm.html IBMs Access IBM ThinkVantage Technology page]
*[http://www.pc.ibm.com/us/think/thinkvantagetech/accessibm.html IBMs Access IBM ThinkVantage Technology page]
*[http://www-3.ibm.com/pc/support/site.wss/AIBM-TOOLS.html Access IBM - Customization Guide]
*[http://www-3.ibm.com/pc/support/site.wss/AIBM-TOOLS.html Access IBM - Customization Guide]

Revision as of 21:46, 12 March 2008


The ThinkPad Button is a button situated in the upper left corner of the keyboard on modern ThinkPads. It is intended to be a means of quick access to help and support. Technically it is nothing else than a button that can be configured to launch a certain piece of software. While originally it was grey and labelled ThinkPad, IBM later made it blue and called it the Access IBM Button. Lenovo relabelled it as ThinkVantage after it took over the ThinkPad line from IBM.

System Boot

Pressing Access IBM or ThinkVantage at system boot can launch the Predesktop Area. This depends on a specific setting of the BIOS Setup Utility and on the availability of either a Hidden Protected Area or a Rescue and Recovery partition. See the linked pages for details.

Linux support

Using tpb

Under Linux, the IBM ThinkPad(tm) special keys can be enabled using tpb.

I.e., to make pressing the Access IBM Button launch ntpctl, add the following line /etc/tpbrc file:

THINKPAD    /usr/bin/X11/xterm -T ntpctl -e ntpctl

To make pressing the Access IBM Button launch the ThinkWiki homepage in Firefox, add the following line:

THINKPAD    /usr/bin/firefox http://www.thinkwiki.org

See the tpb page and the ThinkPad special keys HOWTO for more information.

Using KDE

KDE supports assigning actions to (some) ThinkPad special keys, through the ThinkPad buttons KMilo plugin.

It can be activated and configured in the KDE Control Center (kcontrol), under System Administration --> IBM Thinkpad Laptop.

Using xbindkeys on Ubuntu

On Ubuntu (at least 7.04/Feisty) tpb is not really an option, because it conflicts with hotkey-setup, which is responsible for much things working out of the box.

An alternative is to use xbindkeys, which can easily be installed with aptitude install xbindkeys or via the Synaptic package manager. It can be used to assign arbitrary commands to certain keycodes. Therefore, we first have to find this keycode by running xbindkeys --key and pressing the ThinkPad Button. This should result in something like the following:

sean@amalthea ~ $ xbindkeys --key
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
    m:0x0 + c:159

Now we can construct a minimal configuration file in ~/.xbindkeysrc:

m:0x0 + c:159

After starting xbindkeys without further options the ThinkPad Button should launch a new terminal.

To start the program automatically at login add it under "System -> Preferences -> Sessions -> Startup Programs" (assuming the Gnome Desktop is used, otherwise add it to your ~/.xinitrc, ~/.xsession or whatever is responsible for startup items in your setting).

Using Gnome

A simpler but less flexible possibility than xbindkeys is "System -> Preferences -> Keyboard Shortcuts". Just go to (for example) "Run a terminal" and press the ThinkPad Button, when asked for a "New accelerator...". This will only work under the Gnome Desktop and cannot execute arbitrary commands, as xbindkeys and tpb can.

Windows support (2000 or XP)

If you want to customize the program that is launched when the ThinkPad, Access IBM or ThinkVantage button is pressed while the machine is running Windows (2000 or XP) you can change the following registry entry:


Here are the default values for the original IBM version:

"File"="C:\\Program Files\\IBM\\Access IBM\\aibm.exe"
"DispName"="Access IBM"

And these are the default values for the Lenovo version:


Related Links

Models featuring this Technology

"ThinkPad" button

"Access IBM" button

"ThinkVantage" button