Red joystick and middle mouse keys when using the Ubuntu System in the ThinkPad notebook

Source: Internet
Author: User

Friends who are used to ThinkPad will be more accustomed to using the red joystick, because they are no less familiar with the common mouse.

However, after ubuntu (11.04) is installed, this function is not enabled by default. You can find it online and summarize it as follows:

If your system is a version earlier than ubuntu10.10, edit/etc/X11/Xorg. conf and find:

Section "inputdevice"

Identifier "configured mouse"

Driver "Mouse"

# Add the following three lines

Option "emulatewheel" "true"

Option "emulatewheeltimeout" "200"

Option "emulatewheelbutton" "2"

If your system is a version later than ubuntu10.10, find the directory/usr/share/X11/Xorg. conf. d/and create a new file 20-thinkpad.conf, that is:

CD/usr/share/X11/Xorg. conf. d/

Sudo VI 20-thinkpad.conf

Copy the following section and restart X-window:

Section "inputclass"
Identifier "trackpoint wheel emulation"
Matchproduct "TPPS/2 IBM trackpoint | dualpoint stick | synaptics Inc. Composite touchpad/trackpoint | ThinkPad USB keyboard with trackpoint | USB trackpoint pointing device | composite touchpad/trackpoint"
Matchdevicepath "/dev/input/event *"
Option "emulatewheel" "true"
Option "emulatewheelbutton" "2"
Option "emulate3buttons" "false"
Option "xaxismapping" "6 7"
Option "yaxismapping" "4 5"
Endsection

-------------------------------------------------------------------------------

Append content in 2011-10-19:

In the latest ubuntu11.10, the middle and joystick functions are available by default, without any modification.

Hope to help friends in need.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.