You are not logged in.

#1 2023-10-30 12:56:53

amixra
Member
Registered: 2022-01-24
Posts: 125

[Solved]Touchpad right click doesn't acts as right click

I can plug a mouse and right-click works as expected but right-clicking from the touchpad works like left-click. This means if I right-click on a link instead of giving me a context menu it opens it like the left-click.

Last edited by amixra (2023-11-03 14:49:11)


Experiment at-least.

Offline

#2 2023-10-30 14:23:34

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,439

Re: [Solved]Touchpad right click doesn't acts as right click

Offline

#3 2023-10-31 10:47:49

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved]Touchpad right click doesn't acts as right click

Nothing changed. All the same as it was. I also tried shutting down and then booting up to check for any changes. Also is that really how one should check whether their settings got applied or is their a way to check it in current session?

Last edited by amixra (2023-10-31 10:48:12)


Experiment at-least.

Offline

#4 2023-10-31 10:52:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: [Solved]Touchpad right click doesn't acts as right click

How are you "right clicking" exactly ? The majority of modern touchpads have multi input and a right click is usually a two finger tap by default. Which hardware is this?

As for runtime checking, the section below the config mentions xinput which you can do to do on the fly adjustments.

Offline

#5 2023-10-31 11:25:14

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved]Touchpad right click doesn't acts as right click

So, basically, it had a tap to click and the touchpad have a button(or two maybe internally) pressing it on the left side acts as a left click, and pressing on the right side acts as a right click. This was in Windows.
After lots of hit and trial, I found out right click is basically using two fingers to press the touchpad button. No matter, where do I press the button left or right irrespectively. Similarly, pressing that button with a single finger acts as a left click no matter where I press it.

I intend to have tap to click, single finger, two finger & three finger tap to click all of them. Pressing that button is a little bit of "extra effort".

Last edited by amixra (2023-10-31 11:27:40)


Experiment at-least.

Offline

#6 2023-10-31 12:50:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: [Solved]Touchpad right click doesn't acts as right click

Do you want a segmented touchpad, i.e. that clicking the left side once gives you a left-click and ditto for the right click?  You probably want the ClickMethod="buttonareas"

Offline

#7 2023-11-01 16:28:27

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved]Touchpad right click doesn't acts as right click

Nothing changed after putting buttonareas as clickMethod. So, currently I have neither tap as click nor segmented button areas given I have following file setup

/etc/X11/xorg.conf.d/30-touchpad.conf                                                                           

Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
    Option "TappingButtonMap" "lmr"
    Option "ClickMethod" "buttonareas"
EndSection

Last edited by amixra (2023-11-01 16:31:33)


Experiment at-least.

Offline

#8 2023-11-01 16:35:37

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved]Touchpad right click doesn't acts as right click

$ xinput get-button-map 10

1 2 3 4 5 6 7

where 10 is device id for touchpad.


Experiment at-least.

Offline

#9 2023-11-03 12:25:53

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved]Touchpad right click doesn't acts as right click

OK, Everything works now. Basically, there is something wrong with gnome for me. Most of the shortcuts behave strangely. Like buttons like CTRL, ALT, SHIFT etc. stay persistent. I finally switched to awesomeWM after setting up my dotfiles. All of the behaviors in the trackpad are working as expected.


Experiment at-least.

Offline

#10 2023-11-03 13:58:46

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [Solved]Touchpad right click doesn't acts as right click

You've likely been running gnome on wayland where all the xinput and xorg.conf.d alterations are moot?

Offline

#11 2023-11-03 14:28:12

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved]Touchpad right click doesn't acts as right click

No, I am using it on Xorg only because for some reason Wayland doesn't let me log in from gdm. Every time I enter the password, it still remains stuck to gdm.


Experiment at-least.

Offline

#12 2023-11-03 14:30:28

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [Solved]Touchpad right click doesn't acts as right click

Is GDM running on wayland?
(You'll find the answer in the system journal)

Offline

#13 2023-11-03 16:51:37

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved]Touchpad right click doesn't acts as right click

Opened a new issue with that issue
https://bbs.archlinux.org/viewtopic.php … 5#p2129505


Experiment at-least.

Offline

Board footer

Powered by FluxBB