LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   4MLinux (https://www.linuxquestions.org/questions/4mlinux-115/)
-   -   How to enable touchpad tap? (https://www.linuxquestions.org/questions/4mlinux-115/how-to-enable-touchpad-tap-4175557961/)

SansSg 11-04-2015 10:06 AM

How to enable touchpad tap?
 
Hi,

Currently the touch pad can be used as a mouse and can even be used for scrolling (2 fingers dragging). However, it cannot tap to click and cannot right click (2 fingers tap).

Any way to enable the touchpad tap to click and right click?

Thank you.

Emerson 11-04-2015 10:12 AM

I would start with reading man synaptics, then follow up with Google search, I know Arch has good documentation. Have you done any of that?

zk1234 11-04-2015 10:43 AM

Well...
I have three computers (with Intel, NVIDIA an AMD/ATI video cards). I use them to test Xorg/Mesa/Proprietary drivers. But obviously I do not have all existing input devices (and nobody has). It means that the best person to try to solve your problem is ....you. As @Emerson said you can start with Arch documentation: https://wiki.archlinux.org/index.php/Touchpad_Synaptics, which should help you to "play" with the /usr/share/X11/xorg.conf.d/50-synaptics.conf file.

Good luck !

jamison20000e 11-04-2015 12:02 PM

Hi.

Lot's of distros have a GUI setting. You may need your packagemanger to add it, try searching from your packagemanger "touchpad"? :)

zk1234 11-04-2015 01:07 PM

Quote:

Originally Posted by jamison20000e (Post 5444612)
Hi.

Lot's of distros have a GUI setting. You may need your packagemanger to add it, try searching from your packagemanger "touchpad"? :)

Unfortunately, there is no such a GUI.

P.S.
4MLinux is a mini distro with selected set of packages. Many so called "light Linux distributions" are just elephants when you compare them with 4MLinux. Just two examples: total size of fonts included in 4MLinux is about 800 - 900 kB, total size of icon packages (tango + adwaita) is about 500 - 600 kB. Total size of all the packages, which are installed when you boot the 4MLinux live CD is about 100 MB (4MLinux system is created in real time during the boot process: sysinit script creates [from scratch] basic folders and configuration files, installs packages, and configures the system).

jamison20000e 11-04-2015 01:13 PM

I didn't notice the location of the thread when I posted then edited it down after... sorry. :)
Quote:

Code:

xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0


zk1234 11-04-2015 01:45 PM

Quote:

Originally Posted by jamison20000e (Post 5444664)
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0

...and the "xinput" utility will be included in 4MLinux 15.0 BETA, which will be released at the end of next week :hattip:

SansSg 11-05-2015 11:34 AM

Thanks everyone for pointing out the approach. Got it to work using this file:

Code:

#/etc/X11/xorg.conf.d/synaptics.conf
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        #MatchIsTouchpad "on"
        MatchIsTouchpad "yes"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
      MatchDevicePath "/dev/input/event*"
EndSection

Section "InputClass"
        Identifier "touchpad ignore duplicates"
        #MatchIsTouchpad "on"
        MatchIsTouchpad "yes"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        #Option "Ignore" "on"
        Option "Ignore" "yes"
EndSection

#https://wiki.archlinux.org/index.php/Touchpad_Synaptics
Section "InputClass"
        Identifier      "Touchpad"                      # required
        MatchIsTouchpad "yes"                          # required
        Driver          "synaptics"                    # required
        Option          "MinSpeed"              "0.5"
        Option          "MaxSpeed"              "1.0"
        Option          "AccelFactor"          "0.075"
        Option          "TapButton1"            "1"
        Option          "TapButton2"            "2"    # multitouch
        Option          "TapButton3"            "3"    # multitouch
        Option          "VertTwoFingerScroll"  "1"    # multitouch
        Option          "HorizTwoFingerScroll"  "1"    # multitouch
        Option          "VertEdgeScroll"        "1"
        Option          "CoastingSpeed"        "8"
        Option          "CornerCoasting"        "1"
        Option          "CircularScrolling"    "1"
        Option          "CircScrollTrigger"    "7"
        Option          "EdgeMotionUseAlways"  "1"
        Option          "LTCornerButton"        "8"    # browser "back" btn
        Option          "RTCornerButton"        "9"    # browser "forward" btn
        Option          "RBCornerButton"        "3"    # right click
        Option          "EmulateTwoFingerMinZ"  "35"
        Option          "EmulateTwoFingerMinW"  "8"
        Option          "SHMConfig"  "true"
EndSection



# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
#Section "InputClass"
#        Identifier "Default clickpad buttons"
#        MatchDriver "synaptics"
#        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
#        Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
#EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
#Section "InputClass"
#        Identifier "Disable clickpad buttons on Apple touchpads"
#        MatchProduct "Apple|bcm5974"
#        MatchDriver "synaptics"
#        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
#EndSection


Emerson 11-05-2015 02:25 PM

Thanks for posting your solution!


All times are GMT -5. The time now is 09:21 AM.