Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-11-01 18:11:47

jerry1970
Member
Registered: 2017-06-27
Posts: 20

Lenovo clickpad: tap to click does not work

I have a Lenovo X1 Extreme 2nd Edition with Ubuntu 23.04 XFCE 4.18. Xinput is version 1.6.3.

The laptop has a clickpad instead of a touchpad. I hate that. I am so used to slightly tap the touchpad for a click and now I have to actually click the whole clickpad for a click. The setting "tap touchpad to click" does not seem to work.

A double tap for right-click seems to work most of the time but not always (distance between fingers does not seem to matter).

I disabled the trackpoint (so the physical buttons also don't work) in BIOS.

There's a lot of talk regarding the clickpad but nothing about my problem. I want it to work like a touchpad.

Any ideas where to look?

Thanks,
Jerry

Offline

#2 2023-11-01 18:24:40

jerry1970
Member
Registered: 2017-06-27
Posts: 20

Re: Lenovo clickpad: tap to click does not work

Just read this line "tapping within clickpad software buttons may not trigger an event" here:
https://wayland.freedesktop.org/libinpu … pping.html

Could that help? I prefer the tap to click over the software buttons...

Offline

#3 2023-11-01 19:09:47

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,051

Re: Lenovo clickpad: tap to click does not work

The setting "tap touchpad to click" does not seem to work.

I don't think libinput devices have been integrated yet
Adding an option to set the libinput tap to click functionality was only added in the development, 4.19 branch of xfce4-settings. (assuming you are using the libinput driver).

Can we see the results of:

xinput list | grep pointer

One of the items in the output list will refer to your clickpad. Note it's "id", then run this command:

xinput list-props XX | grep Tapping

...replacing "XX" with the ID from the previous command.

In the output you get, you should see a line like this:

libinput Tapping Enabled (320):	0

...note: the numbers may be different. If "Tapping Enabled" is 0, then it is disabled. To enable it, run:

xinput set-prop XX YYY 1

...where XX is the id from above, YYY is the number in the parenthesis from the output of the previous command.

Last edited by ToZ (2023-11-01 19:14:46)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2023-11-01 21:11:08

jerry1970
Member
Registered: 2017-06-27
Posts: 20

Re: Lenovo clickpad: tap to click does not work

Oh! There is no prop for Tapping! Only Tap Time (180), Tap Move (61), Tap Durations (180, 180, 100), and Tap Action (2, 3, 0, 0, 1, 3, 2).
(I did not have libinput but was using synclient. I installed libinput now as well.)

By the way, synclient gives me slightly different format of properties and more:

    MaxTapTime              = 180
    MaxTapMove              = 61
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    TapButton1              = 1
    TapButton2              = 3
    TapButton3              = 2
    TapAndDragGesture       = 1

Offline

#5 2023-11-01 21:30:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,051

Re: Lenovo clickpad: tap to click does not work

Maybe it's called Click something?

xinput list-props XX | grep Click

I don't have a clickpad to test on, but have a look through this section of the Arch Wiki for a discussion about clickpads and SoftButtonAreas.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2023-11-01 21:40:39

jerry1970
Member
Registered: 2017-06-27
Posts: 20

Re: Lenovo clickpad: tap to click does not work

Here it is in full:

	Synaptics Edges (320):	46, 1117, 42, 736
	Synaptics Finger (321):	25, 30, 0
	Synaptics Tap Time (322):	180
	Synaptics Tap Move (323):	61
	Synaptics Tap Durations (324):	180, 180, 100
	Synaptics ClickPad (325):	0
	Synaptics Middle Button Timeout (326):	0
	Synaptics Two-Finger Pressure (327):	282
	Synaptics Two-Finger Width (328):	7
	Synaptics Scrolling Distance (329):	27, 27
	Synaptics Edge Scrolling (330):	0, 0, 0
	Synaptics Two-Finger Scrolling (331):	1, 1
	Synaptics Move Speed (332):	1.000000, 1.750000, 0.142959, 0.000000
	Synaptics Off (333):	1
	Synaptics Locked Drags (334):	0
	Synaptics Locked Drags Timeout (335):	5000
	Synaptics Tap Action (336):	2, 3, 0, 0, 1, 3, 2
	Synaptics Click Action (337):	1, 3, 0
	Synaptics Circular Scrolling (338):	0
	Synaptics Circular Scrolling Distance (339):	0.100000
	Synaptics Circular Scrolling Trigger (340):	0
	Synaptics Circular Pad (341):	0
	Synaptics Palm Detection (342):	0
	Synaptics Palm Dimensions (343):	10, 200
	Synaptics Coasting Speed (344):	20.000000, 50.000000
	Synaptics Pressure Motion (345):	30, 160
	Synaptics Pressure Motion Factor (346):	1.000000, 1.000000
	Synaptics Resolution Detect (347):	1
	Synaptics Grab Event Device (348):	0
	Synaptics Gestures (349):	1
	Synaptics Capabilities (350):	1, 0, 0, 1, 1, 1, 0
	Synaptics Pad Resolution (351):	12, 12
	Synaptics Area (352):	0, 0, 0, 0
	Synaptics Noise Cancellation (354):	6, 6

Offline

#7 2023-11-01 21:41:46

jerry1970
Member
Registered: 2017-06-27
Posts: 20

Re: Lenovo clickpad: tap to click does not work

Clickpad was 1, set it to 0, but I don't see any difference

Offline

#8 2023-11-01 21:44:02

jerry1970
Member
Registered: 2017-06-27
Posts: 20

Re: Lenovo clickpad: tap to click does not work

It is behaving quite annoyingly. I cannot select a long piece of text since I have to click, keep pressed, and then move, and it stops at the end of the clickpad. With the touchpad I could click-hold with one finger and then move with another finger. I was going to replace a slightly older Lenovo with the X1 but I am seriously changing my mind if I cannot get the clickpad to work like a touchpad...

Offline

#9 2023-11-02 10:26:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,051

Re: Lenovo clickpad: tap to click does not work

I would suggest keeping Clickpad set to 1 since you have one. I've been going through the other settings referencing the synaptics man page to make sense of them. Tap to click seems enabled to me, but not working. The only other one that sticks out somewhat is "Tap Action". the first two non-zero numbers indicate that space is reserved in the top right and bottom right corners when tapping for the right and middle buttons. What if you changed that value to "0,0,0,0,1,3,2"? Does that make a difference?

Also, what if you enable the libinput driver. What does your "list-props" output look like then?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#10 2023-11-02 18:24:46

jerry1970
Member
Registered: 2017-06-27
Posts: 20

Re: Lenovo clickpad: tap to click does not work

Thank you so much for all the links and suggestions!

I don't know what to do to "enable libinput driver" but I set the Tap Action. Something changed! First of all, here is the list-props:

	Device Enabled (191):	1
	Coordinate Transformation Matrix (193):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (316):	1
	Device Accel Constant Deceleration (317):	2.500000
	Device Accel Adaptive Deceleration (318):	1.000000
	Device Accel Velocity Scaling (319):	12.500000
	Synaptics Edges (320):	46, 1117, 42, 736
	Synaptics Finger (321):	25, 30, 0
	Synaptics Tap Time (322):	180
	Synaptics Tap Move (323):	61
	Synaptics Tap Durations (324):	180, 180, 100
	Synaptics ClickPad (325):	1
	Synaptics Middle Button Timeout (326):	0
	Synaptics Two-Finger Pressure (327):	282
	Synaptics Two-Finger Width (328):	7
	Synaptics Scrolling Distance (329):	27, 27
	Synaptics Edge Scrolling (330):	0, 0, 0
	Synaptics Two-Finger Scrolling (331):	1, 1
	Synaptics Move Speed (332):	1.000000, 1.750000, 0.142959, 0.000000
	Synaptics Off (333):	1
	Synaptics Locked Drags (334):	0
	Synaptics Locked Drags Timeout (335):	5000
	Synaptics Tap Action (336):	0
	Synaptics Click Action (337):	1, 3, 0
	Synaptics Circular Scrolling (338):	0
	Synaptics Circular Scrolling Distance (339):	0.100000
	Synaptics Circular Scrolling Trigger (340):	0
	Synaptics Circular Pad (341):	0
	Synaptics Palm Detection (342):	0
	Synaptics Palm Dimensions (343):	10, 200
	Synaptics Coasting Speed (344):	20.000000, 50.000000
	Synaptics Pressure Motion (345):	30, 160
	Synaptics Pressure Motion Factor (346):	1.000000, 1.000000
	Synaptics Resolution Detect (347):	1
	Synaptics Grab Event Device (348):	0
	Synaptics Gestures (349):	1
	Synaptics Capabilities (350):	1, 0, 0, 1, 1, 1, 0
	Synaptics Pad Resolution (351):	12, 12
	Synaptics Area (352):	0, 0, 0, 0
	Synaptics Soft Button Areas (353):	581, 0, 637, 0, 0, 0, 0, 0
	Synaptics Noise Cancellation (354):	6, 6
	Device Product ID (308):	1739, 0
	Device Node (307):	"/dev/input/event7"

Now let's see what has changed... I can left-click (bottom left corner, since the top of the clickpad cannot be pushed down) and hold and then move another finger over the pad to select! That was not possible yesterday. (yesterday I *could* do that with the right button area: click & hold and then move with another finger so it was really something with the left button).

I still need to click as in push the pad for a click. The two-finger tap for right-click no longer works. The button areas work but I need to press the pad. Two-finger scroll works same as yesterday.

Going to try and disable the button soft areas, see what that will do.

Offline

#11 2023-11-02 18:30:32

jerry1970
Member
Registered: 2017-06-27
Posts: 20

Re: Lenovo clickpad: tap to click does not work

By the way, this is the result of synclient:

    LeftEdge                = 46
    RightEdge               = 1117
    TopEdge                 = 42
    BottomEdge              = 736
    FingerLow               = 25
    FingerHigh              = 30
    MaxTapTime              = 180
    MaxTapMove              = 61
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    EmulateMidButtonTime    = 0
    EmulateTwoFingerMinZ    = 282
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 27
    HorizScrollDelta        = 27
    VertEdgeScroll          = 0
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 1
    MinSpeed                = 1
    MaxSpeed                = 1.75
    AccelFactor             = 0.142959
    TouchpadOff             = 1
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 31
    LBCornerButton          = -112
    TapButton1              = 125
    TapButton2              = 85
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 3
    ClickFinger3            = 0
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 20
    CoastingFriction        = 50
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    ResolutionDetect        = 1
    GrabEventDevice         = 0
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 6
    VertHysteresis          = 6
    ClickPad                = 1
    RightButtonAreaLeft     = 581
    RightButtonAreaRight    = 0
    RightButtonAreaTop      = 637
    RightButtonAreaBottom   = 0
    MiddleButtonAreaLeft    = 0
    MiddleButtonAreaRight   = 0
    MiddleButtonAreaTop     = 0
    MiddleButtonAreaBottom  = 0

TapButton1 and 2 are set to 125 and 85. Aren't those supposed to be mouse button numbers? The man page does not tell me the possible values for mouse buttons..

Offline

#12 2023-11-02 22:20:00

jerry1970
Member
Registered: 2017-06-27
Posts: 20

Offline

#13 2023-11-02 22:39:54

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,051

Re: Lenovo clickpad: tap to click does not work

jerry1970 wrote:

I don't know what to do to "enable libinput driver"

I'm not exactly sure with ubuntu, but on arch, I just need to uninstall the xf86-input-synaptics package and then libinput becomes the default. I still prefer the synaptics driver (muscle memory) even though its deprecated.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#14 2023-11-02 23:11:48

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 415

Re: Lenovo clickpad: tap to click does not work

This may help out some. Covers some options anyway.

https://wiki.archlinux.org/title/libinput

@ToZ I'm surprised your still not using libinput by default yet. I thought that was the case for Arch. It has been with Debian for quite some time now


Siduction
Debian Sid
Xfce 4.18

Offline

#15 2023-11-02 23:29:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,051

Re: Lenovo clickpad: tap to click does not work

eriefisher wrote:

@ToZ I'm surprised your still not using libinput by default yet. I thought that was the case for Arch. It has been with Debian for quite some time now

I tried. It's too different. I'm stubborn.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB