You are not logged in.

#1 2018-03-26 10:52:09

ralph_hellgrind
Member
Registered: 2016-02-03
Posts: 46

Right click not working in Laptop - [SOLVED]

Hello, I have an Arch Linux OS: 4.15.12-1-ARCH x86_64 GNU/Linux on my ASUS laptop.

After this recent update, I have seen that my right click on the touch pad is not working.

The output of "libinput list-devices"-

Device:           Power Button
Kernel:           /dev/input/event2
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Asus Wireless Radio Control
Kernel:           /dev/input/event4
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event6
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event0
Group:            4
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event1
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel HDMI HDMI/DP,pcm=3
Kernel:           /dev/input/event9
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel HDMI HDMI/DP,pcm=7
Kernel:           /dev/input/event10
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel HDMI HDMI/DP,pcm=8
Kernel:           /dev/input/event11
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel HDMI HDMI/DP,pcm=9
Kernel:           /dev/input/event12
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel HDMI HDMI/DP,pcm=10
Kernel:           /dev/input/event13
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           USB2.0 VGA UVC WebCam: USB2.0 V
Kernel:           /dev/input/event15
Group:            7
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH Headphone
Kernel:           /dev/input/event8
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Asus WMI hotkeys
Kernel:           /dev/input/event14
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event3
Group:            9
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ETPS/2 Elantech Touchpad
Kernel:           /dev/input/event7
Group:            10
Seat:             seat0, default
Size:             100x66mm
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
Accel profiles:   none
Rotation:         n/a

What should I do to get this fixed?

Thanks!

Last edited by ralph_hellgrind (2018-03-27 08:24:38)

Offline

#2 2018-03-26 11:43:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 22,373
Website

Re: Right click not working in Laptop - [SOLVED]

See "Where to put this information": you don't need a right button, or any mouse at all, to share relevant output.

What was updated in ""this recent update"?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#3 2018-03-26 16:58:06

ralph_hellgrind
Member
Registered: 2016-02-03
Posts: 46

Re: Right click not working in Laptop - [SOLVED]

Trilby wrote:

See "Where to put this information": you don't need a right button, or any mouse at all, to share relevant output.

What was updated in ""this recent update"?

The new Linux kernel was the recent update after which the right click seems to have stopped working,

Offline

#4 2018-03-26 17:03:39

seth
Member
Registered: 2012-09-03
Posts: 13,063

Re: Right click not working in Laptop - [SOLVED]

And what was the "old" kernel?
Does it still work w/ the lts kernel?
Does the device/button generate events in
- xev
- evtest
- libinput-debug-events
?

Edit: stale blank

Last edited by seth (2018-03-26 17:04:10)

Offline

#5 2018-03-26 17:54:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 22,373
Website

Re: Right click not working in Laptop - [SOLVED]

Thank you for editting to add a bit more information, but please edit your first post again to add code tags to that long output.  You've been instructed to use code tags on these forums previously.

Are you sure the kernel was the only thing updated?  Please post your pacman log to a file sharing site and share the link here.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#6 2018-03-26 23:57:30

nvteighen
Member
Registered: 2014-03-13
Posts: 31

Re: Right click not working in Laptop - [SOLVED]

Hi, I'm experiencing the same issue (also on an ASUS) since the last upgrade to GNOME 3.28, and I'm almost sure that it's related to it. Are you using GNOME Shell as your DE? Using libinput-debug-events shows that my right button is correctly detected as such, but GNOME's input devices configuration mistakes it as my left button. In fact, the right button shows as "primary button" on the little testing app you find under GNOME Settings... and it indeed works as my left button everywhere (Could you please try that too? Does your right button behave as your left one?). I've just started looking for ways to solve this, but any ideas will be welcome.

Last edited by nvteighen (2018-03-26 23:57:55)

Offline

#7 2018-03-27 00:57:45

nvteighen
Member
Registered: 2014-03-13
Posts: 31

Re: Right click not working in Laptop - [SOLVED]

So, OK... I've found the solution for me, at least. Yes, it's a GNOME 3.28 thing: it now uses two-finger tapping as right-click by default. So, in order to revert to using your actual touchpad areas/buttons, you either use gsettings/dconf:

$ gsettings set org.gnome.desktop.peripherals.touchpad click-method areas

Or you can use gnome-tweaks ("Keyboard & Mouse") if you prefer a GUI.

Hope this helps!

Last edited by nvteighen (2018-03-27 00:59:14)

Offline

#8 2018-03-27 08:22:01

ralph_hellgrind
Member
Registered: 2016-02-03
Posts: 46

Re: Right click not working in Laptop - [SOLVED]

nvteighen wrote:

Hi, I'm experiencing the same issue (also on an ASUS) since the last upgrade to GNOME 3.28, and I'm almost sure that it's related to it. Are you using GNOME Shell as your DE? Using libinput-debug-events shows that my right button is correctly detected as such, but GNOME's input devices configuration mistakes it as my left button. In fact, the right button shows as "primary button" on the little testing app you find under GNOME Settings... and it indeed works as my left button everywhere (Could you please try that too? Does your right button behave as your left one?). I've just started looking for ways to solve this, but any ideas will be welcome.

Yes, you are right, this is a GNOME update which triggered the problem!

Offline

#9 2018-03-27 08:23:01

ralph_hellgrind
Member
Registered: 2016-02-03
Posts: 46

Re: Right click not working in Laptop - [SOLVED]

nvteighen wrote:

So, OK... I've found the solution for me, at least. Yes, it's a GNOME 3.28 thing: it now uses two-finger tapping as right-click by default. So, in order to revert to using your actual touchpad areas/buttons, you either use gsettings/dconf:

$ gsettings set org.gnome.desktop.peripherals.touchpad click-method areas

Or you can use gnome-tweaks ("Keyboard & Mouse") if you prefer a GUI.

Hope this helps!

Yes! Your code helped solve the problem! Thanks!! smile
Marking it as SOLVED.

Offline

#10 2018-08-21 04:53:55

capitan
Member
From: /var/
Registered: 2017-11-09
Posts: 9

Re: Right click not working in Laptop - [SOLVED]

Hello,

i had the same issue, my physical touchpad right click still not work. I've used the gsettings option but still not working.

Then i try to use "xev" to catch the event but does not report any event when clicking the button (touchpad right click). So i assume its a kernel or driver problem (i use libinput).

Does anyone have an idea what could cause this issue ?

** External mouse works fine.

Last edited by capitan (2018-08-21 06:02:54)

Offline

#11 2018-08-21 05:40:52

seth
Member
Registered: 2012-09-03
Posts: 13,063

Re: Right click not working in Laptop - [SOLVED]

If you're on gnome on wayland, xev wno't work anyway. Since you're apparently NOT facing the same issue (the gnome setting doesn't help), please open a new thread and elaborate on your setup, most critically whether this is wayland or X11 and whether "libinput-debug-events" generates events for the device.

Offline

#12 2018-08-21 06:04:41

capitan
Member
From: /var/
Registered: 2017-11-09
Posts: 9

Re: Right click not working in Laptop - [SOLVED]

seth wrote:

If you're on gnome on wayland, xev wno't work anyway. Since you're apparently NOT facing the same issue (the gnome setting doesn't help), please open a new thread and elaborate on your setup, most critically whether this is wayland or X11 and whether "libinput-debug-events" generates events for the device.

Ok, I'll open a new thread. Thanks for your response.

Offline

Board footer

Powered by FluxBB