TOUCHPAD Scroll page with dual finger operation in Ubuntu (like a mouse roller effect)

Source: Internet
Author: User

My first surprise for Mac was that Touchpad was good (two fingers on the touch version, up or down at the same time, the page would go up or down), but I still love the Little red dot of IBM. Xd

Note: The following environment is Ubuntu Linux 10.04.

Because of the experience of having a Mac, I also want Notebook to scroll with two fingers on the Touchpad.

Thank you very much, Zhu. This article: in Ubuntu 10.04, the function of Touchpad two-finger rolling wheel, it is very easy to solve this problem.

The following is the contents of this article in the operation, the exchange of the parameters to exchange, you can move ~ 0 2

Dual-finger roller function for the HP Compaq NC6000 set Touchpad

The following are the settings for the HP Compaq NC6000 machine, set the following steps:

  1. The $ xinput List # list is installed and appears as follows. (FindTouchPadThe complete name of the whole, as in the following boldface words)

    6 5 Virtual Core pointer id=2[master pointer (3)]
    6 0 6 9 Virtual core XTEST pointer id=4[slave pointer (2)]
    6 0 6 9SYNPS/2 Synaptics TouchPadId=10[slave pointer (2)]
    6 0 6 9 Macintosh mouse button emulation Id=11[slave pointer (2)]
    6 0 6 9 ps/2 Generic Mouse id=12[slave pointer (2)]
    6 7 Virtual Core keyboard Id=3[master keyboard (2)]
    6 9 Virtual Core XTEST keyboard Id=5[slave keyboard (3)]
    6 9 Power Button id=6[slave keyboard (3)]
    6 9 Video Bus id=7[slave keyboard (3)]
    6 9 Sleep Button id=8[slave keyboard (3)]
    6 9 at Translated Set 2 keyboard Id=9[slave keyboard (3)]

  2. # set Elantech Touchpad's dual-finger roller function, the above-found Touchpad whole paragraph, with the following boldface block the whole swap, and then perform the following:

    $ xinput set-int-prop "synps/2 Synaptics TouchPad" "Two-finger scrolling" 8 1
    $ xinput set-int-prop "synps/2 Synaptics TouchPad" "Synaptics two-finger Scrolling" 8 1 1
    $ xinput set-int-prop "synps/2 Synaptics TouchPad" "Synaptics two-finger pressure" 32 10
    $ xinput set-int-prop "synps/2 Synaptics TouchPad" "Synaptics two-finger Width" 32 8

  3. You can use it here
Set-up auto-start with Elantech Touchpad's dual-finger roller function
    1. sudo vim/usr/bin/touchpad-setting.sh


      #!/bin/bash
       
      sleep 5
      xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
      xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 8 1 1
      xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 32 10
      xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 32 8

    2. sudo chmod +x/usr/bin/touchpad-setting.sh
    3. Setting up the Startup: System → preferences → initial application → start program → join/usr/bin/touchpad-setting.sh
    4. This is done, and the machine can be used after that. 0 2

TOUCHPAD Scroll page with dual finger operation in Ubuntu (like a mouse roller effect)

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.