[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: synaptics vs libinput and GNOME 3.20 no longer supporting synaptics



On Tue, 2016-07-12 at 10:07 +0300, Lars Wirzenius wrote:
> I've been using the following script, with variations on the
> parameters to find a working setup. The values below are the best I
> could manage, and they aren't any good.
> 
> #!/bin/sh
> 
> synclient \
> 	TapButton1=1 \
> 	TapButton2=2 \
> 	TapButton3=3 \
> 	PalmDetect=1 \
> 	PalmMinWidth=50 \
> 	PalmMinZ=10 \
> 	VertSCrollDelta=-41 \
> 	HorizScrollDelta=-41 \
> 	TouchpadOff=0 \
>         "$@"

For what it's worth, for me on stretch synclient isn't too reliable.
 Eg, "synclient TapButton1=0" has no effect - it should disable one
fingered taps.  The libxinput equivalent (xinput --set-prop) doesn't
work for libxinput either.

The only thing that has proved reliable is putting a file in
/etc/X11/xorg.conf.d/touchpad.conf:

    Section "InputClass"
      Identifier    	    "Touchpad twofinger scroll"
      MatchIsTouchpad "yes"
      Driver    	    "synaptics"
      Option    	    "ZAxisMapping"    	    	    "4 5"
      Option    	    "HorizTwoFingerScroll"    	    "true"
      Option    	    "VertTwoFingerScroll"    	    "true"
      Option    	    "FastTaps"    	    	    "on"
      Option    	    "PalmDetect"    	    	    "on"
      Option    	    "AccelFactor"    	    	    "0.1028806" #2x
      Option    	    "AdaptiveDeceleration"    	    "10"
      Option    	    "MinSpeed"    	    	    "0.5"
      Option    	    "MaxSpeed"    	    	    "4.75"
      Option    	    "TapButton1"    	    	    "1"
      Option    	    "TapButton2"    	    	    "3"
      Option    	    "TapButton3"    	    	    "2"
    EndSection

I would happily use libxinput if it extricated me from this mess, but
right now it seems to be bugs all the way down.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: