Simple use and configuration of touch screens in Linux

Source: Internet
Author: User
Tags macbook
Simple use and configuration of touch screens in Linux-general Linux technology-Linux technology and application information. For more information, see the following. I don't know if I have ignored the touchpad for configuring a notebook like me. It seems that I have been working, learning, and entertaining in my notebook for years, and I have been working with another mouse, the powerful touchpad is ignored all the time. I recently read the multi-functional touchpad of Apple's just-developed Macbook Air. I studied the configuration of the X touchpad driver in Linux and found that it is very powerful. If you knew it, don't laugh at me. Haha, let's go.

If you have installed the Ubuntu release, your X configuration file (xorg. conf) the relevant driver has been set in it, which is the default setting. You only need to add some relevant parameters and it will be OK. The following is the default touchpad configuration for Ubuntu:

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Let's make the subsequent changes take effect without restarting X. in the above section, add:

Option "SHMConfig" "on"

Then restart X, so that you can dynamically use the synclient command to modify the parameters of your touchpad. Of course, there are also Gui programs, such as qsynaptics. We recommend that you use synclient, which is the most powerful command line, right. For example, synclient Var1 = value1 Var2 = value2 ....

Because the resolutions of various monitors are different, the default settings may make you think it is too slow to move the pointer using the touchpad. let's correct this:

Option "minspeed"" 0.9"
Option "maxspeed"" 1.5"
Option "AccelFactor" "0.0750"

This is my setting. My resolution is 1920x1200, so you can modify it as needed. Generally, MinSpeed 0.5, MaxSpeed 0.9, and AccelFactor 0.0350 are OK.

There are only two Pads under the touchpad on many computers. What should I do if there is no middle key? OK:

Option "RBCornerButton" "3"

Now you can click the upper-right corner of your touchpad, which is the upper-right corner. In general, right-click the bottom right corner of the touchpad, middle-click in the upper right corner, and up and down scroll at the right edge, and left and right scroll at the bottom edge. These are the default settings, you can use synclient-l to view the default settings on your machine.

If some of the preceding settings related to edges and corners do not work, the default edge settings are incorrect. You can set LeftEdge, RightEdge, TopEdge, and BottomEdge to suit your needs.

If your touchpad supports multiple points, you can set it to scroll with two fingers like a MacBook.

Finally, we recommend a small program to simulate and test the behavior of your input device, xev.

There are also a lot of fine-tuned parameters, man synaptics to study it.

Link: http://linuxtoy.org/archives/touchpad-rocks.html
Related Article

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.