114

I have installed Ubuntu 18.04 LTS on my HP Pavilion series laptop. After installing this version of Ubuntu, right click is not working of my touchpad. How can I solve this? BTW: This question does not have any solution which which is working for me.
PS:- Problem remains after selection area in gnome-tweak-tool

sam
  • 2,806
  • See if this helps: https://askubuntu.com/questions/1028776/no-secondary-button-right-click-on-touchpad – pomsky Apr 28 '18 at 22:05
  • Would you be so kind as to expand your question with further detail? I see that the called duplicate didn't have any solutions that worked for you, but what I can't see is exactly what happened for each of the 2 solutions in the accepted answer that you tried. Thank your for helping us help you! – Elder Geek May 01 '18 at 23:10
  • I have the same problem, and I followed the tutorial on this website and proved successful https://www.siskom.xyz/2018/05/how-to-fix-touchpad-right-click-not-working-on-ubuntu-1804.html – Kirana May 07 '18 at 13:17
  • I have the same problem on a system76 computer. tweaks has an option that doesn't seem to work for me when selected and I'd rather have both behaviors instead of choosing one or the other. any other ideas? – neuromage May 11 '18 at 21:44
  • so the tweaks works I needed to log out and log in again for the effect to work. But I'd really rather have both options on at the same time is there any way to do that? – neuromage May 11 '18 at 21:50
  • linux is so great lol – Alexander Mills Jul 23 '18 at 04:21
  • gsettings set org.gnome.desktop.peripherals.touchpad click-method areas or check https://medium.com/p/40037ff249e1/responses/show – Sooraj S Mar 11 '20 at 17:50

3 Answers3

130

For instance, to right-click method on touchpads without a physical button you need to perform a two-finger click (just tap anywhere with two fingers). Clicking in the bottom right area of the touchpad no longer works.

If you don’t like this behaviour — and there’s a fair chance you might not — you can use the Tweaks app (see step #5) to change the setting.

Source: OMG Ubuntu (see link for how to fix it)

Organic Marble
  • 23,641
  • 15
  • 70
  • 122
43

I too had this issue with an HP Omen.. I downloaded the gnome tweaks and it fixed the problem.

Open Ubuntu software (orange briefcase) and type in the search "gnome tweaks".. launch the program and under keyboard and mouse tab>Mouse click emulation> choose AREA..click bottom right.....

Log out and re-login if the change didn't take effect right away.

screen shot

den4uk
  • 432
Wr3nch3r
  • 456
  • 3
  • 7
  • Which problem did it fix? Did it switch from two-finger tap to bottom-right click or enable both? – Randy Cragun Oct 15 '18 at 21:02
  • 1
    Randy.. for me it fixed the R click on my touchpad (there are no R or L buttons on the touchpad). At the bottom of Gnome Tweaks, it has "Area" section that I clicked on (put a check mark to enable). And now the touchpad works as it should. – Wr3nch3r Oct 15 '18 at 23:46
  • This works for me! upgrade from ubuntu 17.10 to 18.04, then right click of my laptop(ASUS ROG series) touchpad broken. – stackoverYC Dec 13 '18 at 03:34
  • @Wr3nch3r There was no need of logout – saurabheights Mar 26 '19 at 08:31
  • This worked, but I did have to completely reboot. Restarting gnome-shell didn't apply the change. – Cerin Apr 04 '19 at 17:33
2

Try

sudo vi /etc/X11/xorg.conf

add:

Section "InputClass"
  Identifier "libinput touchpad catchall"
  MatchIsTouchpad "on"
  MatchDevicePath "/dev/input/event*"
  Driver "libinput"
  Option "Tapping" "True"
  Option "NaturalScrolling" "True"
EndSection
Byte Commander
  • 107,489
  • if you're missing xorg.conf consider the following which works on ubuntu-based builds: sudo mkdir /etc/X11/xorg.conf.d; cd /etc/X11/xorg.conf.d; sudo nano 01-input.conf; then copy/paste the Section configuration listed above – henry74 Mar 24 '20 at 00:37