You are not logged in.

#1 2024-02-28 15:31:15

Simmanz
Member
Registered: 2024-02-28
Posts: 5

Cannot right click using the trackpad

I recently joined Arch and one of the problems I have is that it is unresponsive to right clicking (click with two fingers,click on the right half of the pad). I know the pad is not defective because it works on my windows partition.

It is my first time posting on this forum, please do not hesitate to point out any misbehavior/ways to post better :)

I inspired myself from this thread : https://bbs.archlinux.org/viewtopic.php?id=235679

The version of archlinux (I run on 64 bit architecture) :

uname -a
Linux arch 6.7.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 17 Feb 2024 14:02:33 +0000 x86_64 GNU/Linux

I use xfce4 :

Xfce Version : 4.18

GTK Version : 3.24.41

Kernel Version : 6.7.5-arch1-1

libinput list-devices (relevant inputs only) :

Device:           MSFT0001:01 06CB:CE78 Mouse
Kernel:           /dev/input/event15
Group:            6
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         n/a
Device:           MSFT0001:01 06CB:CE78 Touchpad
Kernel:           /dev/input/event16
Group:            6
Seat:             seat0, default
Size:             117x72mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles:   flat *adaptive custom
Rotation:   n/a     

xinput list-props  (for MSFT0001:01 06CB:CE78 Mouse):

Device 'MSFT0001:01 06CB:CE78 Mouse':
	Device Enabled (203):	1
	Coordinate Transformation Matrix (205):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (331):	0
	libinput Natural Scrolling Enabled Default (332):	0
	libinput Scroll Methods Available (336):	0, 0, 1
	libinput Scroll Method Enabled (337):	0, 0, 1
	libinput Scroll Method Enabled Default (338):	0, 0, 1
	libinput Button Scrolling Button (339):	3
	libinput Button Scrolling Button Default (340):	3
	libinput Button Scrolling Button Lock Enabled (341):	0
	libinput Button Scrolling Button Lock Enabled Default (342):	0
	libinput Accel Speed (343):	0.000000
	libinput Accel Speed Default (344):	0.000000
	libinput Accel Profiles Available (345):	1, 1, 1
	libinput Accel Profile Enabled (346):	1, 0, 0
	libinput Accel Profile Enabled Default (347):	1, 0, 0
	libinput Accel Custom Fallback Points (348):	<no items>
	libinput Accel Custom Fallback Step (349):	0.000000
	libinput Accel Custom Motion Points (350):	<no items>
	libinput Accel Custom Motion Step (351):	0.000000
	libinput Accel Custom Scroll Points (352):	<no items>
	libinput Accel Custom Scroll Step (353):	0.000000
	libinput Left Handed Enabled (354):	0
	libinput Left Handed Enabled Default (355):	0
	libinput Send Events Modes Available (316):	1, 0
	libinput Send Events Mode Enabled (317):	0, 0
	libinput Send Events Mode Enabled Default (318):	0, 0
	Device Node (319):	"/dev/input/event15"
	Device Product ID (320):	1739, 52856
	libinput Drag Lock Buttons (333):	<no items>
	libinput Horizontal Scroll Enabled (334):	1
	libinput Scrolling Pixel Distance (356):	15
	libinput Scrolling Pixel Distance Default (357):	15
	libinput High Resolution Wheel Scroll Enabled (335):	1

xinput list-props  (for MSFT0001:01 06CB:CE78 Touchpad):

Device 'MSFT0001:01 06CB:CE78 Touchpad':
	Device Enabled (203):	1
	Coordinate Transformation Matrix (205):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Tapping Enabled (358):	0
	libinput Tapping Enabled Default (359):	0
	libinput Tapping Drag Enabled (360):	1
	libinput Tapping Drag Enabled Default (361):	1
	libinput Tapping Drag Lock Enabled (362):	0
	libinput Tapping Drag Lock Enabled Default (363):	0
	libinput Tapping Button Mapping Enabled (364):	1, 0
	libinput Tapping Button Mapping Default (365):	1, 0
	libinput Natural Scrolling Enabled (331):	1
	libinput Natural Scrolling Enabled Default (332):	0
	libinput Disable While Typing Enabled (366):	1
	libinput Disable While Typing Enabled Default (367):	1
	libinput Scroll Methods Available (336):	1, 1, 0
	libinput Scroll Method Enabled (337):	1, 0, 0
	libinput Scroll Method Enabled Default (338):	1, 0, 0
	libinput Click Methods Available (368):	1, 1
	libinput Click Method Enabled (369):	1, 0
	libinput Click Method Enabled Default (370):	1, 0
	libinput Middle Emulation Enabled (371):	0
	libinput Middle Emulation Enabled Default (372):	0
	libinput Accel Speed (343):	0.000000
	libinput Accel Speed Default (344):	0.000000
	libinput Accel Profiles Available (345):	1, 1, 1
	libinput Accel Profile Enabled (346):	1, 0, 0
	libinput Accel Profile Enabled Default (347):	1, 0, 0
	libinput Accel Custom Fallback Points (348):	<no items>
	libinput Accel Custom Fallback Step (349):	0.000000
	libinput Accel Custom Motion Points (350):	<no items>
	libinput Accel Custom Motion Step (351):	0.000000
	libinput Accel Custom Scroll Points (352):	<no items>
	libinput Accel Custom Scroll Step (353):	0.000000
	libinput Left Handed Enabled (354):	0
	libinput Left Handed Enabled Default (355):	0
	libinput Send Events Modes Available (316):	1, 1
	libinput Send Events Mode Enabled (317):	0, 0
	libinput Send Events Mode Enabled Default (318):	0, 0
	Device Node (319):	"/dev/input/event16"
	Device Product ID (320):	1739, 52856
	libinput Drag Lock Buttons (333):	<no items>
	libinput Horizontal Scroll Enabled (334):	1
	libinput Scrolling Pixel Distance (356):	15
	libinput Scrolling Pixel Distance Default (357):	15
	libinput High Resolution Wheel Scroll Enabled (335):	1

Anything else I should provide ? Thanks anyways for the help :)

Last edited by Simmanz (2024-02-28 15:33:28)


New to arch --I was thinking that it was a great idea to follow my friends advice and give it a try even though the sole OS I used before was windows smile))))))
I shall persist and try a lot I guess xD

Offline

#2 2024-03-02 15:02:21

DickFiasco
Member
Registered: 2024-02-21
Posts: 3

Re: Cannot right click using the trackpad

Try using xev to see if the trackpad is generating button press and button release events when you right-click. If the events are getting generated, you can use something like xbindkeys to manually map the event to a right-click signal.

Offline

#3 2024-03-11 22:41:28

Eddie_Foss
Member
From: Japan
Registered: 2023-12-31
Posts: 12

Re: Cannot right click using the trackpad

Install gnome-tweaks, open it and inside [Keyboard & Mouse] config mark in [Mouse click emulation] to [Area] then test it and be happy ?

Offline

#4 2024-03-23 17:04:28

Simmanz
Member
Registered: 2024-02-28
Posts: 5

Re: Cannot right click using the trackpad

Hey, answer was that the trackpad generate a right click only when the bottom right is clicked (and not the double finger click). Thanks for the advice with xev, it helps.

1) Pressing for left click

ButtonPress event, serial 37, synthetic NO, window 0x3a00001,
    root 0x7d9, subw 0x0, time 12677114, (55,80), root:(926,556),
    state 0x10, button 1, same_screen YES

2) Releasing the left click

ButtonRelease event, serial 37, synthetic NO, window 0x3a00001,
    root 0x7d9, subw 0x0, time 12677339, (55,80), root:(926,556),
    state 0x110, button 1, same_screen YES

3) Pressing for right click (bottom right of trackpad)

ButtonPress event, serial 37, synthetic NO, window 0x3a00001,
    root 0x7d9, subw 0x0, time 12677806, (55,80), root:(926,556),
    state 0x10, button 3, same_screen YES

4) Releasing the right click

ButtonRelease event, serial 37, synthetic NO, window 0x3a00001,
    root 0x7d9, subw 0x0, time 12678524, (55,80), root:(926,556),
    state 0x410, button 3, same_screen YES

The thing is, pressing with two fingers will trigger a button 1 press event. Not a problem anymore now that I can right-click without a mouse, but good to know that what needs to change is the detection or mapping of two finger pressing the touchpad.


New to arch --I was thinking that it was a great idea to follow my friends advice and give it a try even though the sole OS I used before was windows smile))))))
I shall persist and try a lot I guess xD

Offline

Board footer

Powered by FluxBB