No secondary button (right click) on touchpad

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
18
down vote

favorite
12












I'm experiencing a serious problem with the new Ubuntu 18.04:



System

Dell XPS 13 with a freshly installed Ubuntu 18.04 LTS.



Problem description

The touchpad provides only primary button (single click and double click), but no secondary button. In particular, when using the "test Your Settings" option in Settings -> Devices -> Mouse & Touchpad, any click on the touchpad is signaled as primary button, no matter where I click (left or right side of the touchpad). This remains the case even after I change the Primary Button from Left to Right (in Settings -> Devices -> Mouse & Touchpad -> General).



In comparison, an external mouse connected to my laptop (via usb) works fine: it provides both primary and secondary buttons with sides corresponding to the choice of Primary Button (in Settings -> Devices -> Mouse & Touchpad -> General).



This may be related to Touchpad right click doesn't work on touchpad, only the buttons above it. Thinkpad E480 Ubuntu 18.04 LTS



Any ideas?



Update:

Meanwhile, I found out that in addition to the solution proposed by EntropyWins, one can also control this touchpad behavior via the Tweaks tool (a.k.a. gnome-tweaks) under Keyboard & Mouse -> Touchpad -> Mouse Click Emulation. In any case, as EntropyWins explains in his answer, this is not a bug.







share|improve this question






















  • See if this useful: askubuntu.com/questions/957099/…
    – pomsky
    Apr 27 at 13:15










  • The above fix might work because as I understand it, it overrides the newer libinput driver with the older synaptics driver. My fix below requires a simpler settings flip and still uses the new driver, so hopefully it is a bit less likely to cause other problems in the future. It also doesn't require a reboot!
    – PatKilg
    Apr 27 at 16:41














up vote
18
down vote

favorite
12












I'm experiencing a serious problem with the new Ubuntu 18.04:



System

Dell XPS 13 with a freshly installed Ubuntu 18.04 LTS.



Problem description

The touchpad provides only primary button (single click and double click), but no secondary button. In particular, when using the "test Your Settings" option in Settings -> Devices -> Mouse & Touchpad, any click on the touchpad is signaled as primary button, no matter where I click (left or right side of the touchpad). This remains the case even after I change the Primary Button from Left to Right (in Settings -> Devices -> Mouse & Touchpad -> General).



In comparison, an external mouse connected to my laptop (via usb) works fine: it provides both primary and secondary buttons with sides corresponding to the choice of Primary Button (in Settings -> Devices -> Mouse & Touchpad -> General).



This may be related to Touchpad right click doesn't work on touchpad, only the buttons above it. Thinkpad E480 Ubuntu 18.04 LTS



Any ideas?



Update:

Meanwhile, I found out that in addition to the solution proposed by EntropyWins, one can also control this touchpad behavior via the Tweaks tool (a.k.a. gnome-tweaks) under Keyboard & Mouse -> Touchpad -> Mouse Click Emulation. In any case, as EntropyWins explains in his answer, this is not a bug.







share|improve this question






















  • See if this useful: askubuntu.com/questions/957099/…
    – pomsky
    Apr 27 at 13:15










  • The above fix might work because as I understand it, it overrides the newer libinput driver with the older synaptics driver. My fix below requires a simpler settings flip and still uses the new driver, so hopefully it is a bit less likely to cause other problems in the future. It also doesn't require a reboot!
    – PatKilg
    Apr 27 at 16:41












up vote
18
down vote

favorite
12









up vote
18
down vote

favorite
12






12





I'm experiencing a serious problem with the new Ubuntu 18.04:



System

Dell XPS 13 with a freshly installed Ubuntu 18.04 LTS.



Problem description

The touchpad provides only primary button (single click and double click), but no secondary button. In particular, when using the "test Your Settings" option in Settings -> Devices -> Mouse & Touchpad, any click on the touchpad is signaled as primary button, no matter where I click (left or right side of the touchpad). This remains the case even after I change the Primary Button from Left to Right (in Settings -> Devices -> Mouse & Touchpad -> General).



In comparison, an external mouse connected to my laptop (via usb) works fine: it provides both primary and secondary buttons with sides corresponding to the choice of Primary Button (in Settings -> Devices -> Mouse & Touchpad -> General).



This may be related to Touchpad right click doesn't work on touchpad, only the buttons above it. Thinkpad E480 Ubuntu 18.04 LTS



Any ideas?



Update:

Meanwhile, I found out that in addition to the solution proposed by EntropyWins, one can also control this touchpad behavior via the Tweaks tool (a.k.a. gnome-tweaks) under Keyboard & Mouse -> Touchpad -> Mouse Click Emulation. In any case, as EntropyWins explains in his answer, this is not a bug.







share|improve this question














I'm experiencing a serious problem with the new Ubuntu 18.04:



System

Dell XPS 13 with a freshly installed Ubuntu 18.04 LTS.



Problem description

The touchpad provides only primary button (single click and double click), but no secondary button. In particular, when using the "test Your Settings" option in Settings -> Devices -> Mouse & Touchpad, any click on the touchpad is signaled as primary button, no matter where I click (left or right side of the touchpad). This remains the case even after I change the Primary Button from Left to Right (in Settings -> Devices -> Mouse & Touchpad -> General).



In comparison, an external mouse connected to my laptop (via usb) works fine: it provides both primary and secondary buttons with sides corresponding to the choice of Primary Button (in Settings -> Devices -> Mouse & Touchpad -> General).



This may be related to Touchpad right click doesn't work on touchpad, only the buttons above it. Thinkpad E480 Ubuntu 18.04 LTS



Any ideas?



Update:

Meanwhile, I found out that in addition to the solution proposed by EntropyWins, one can also control this touchpad behavior via the Tweaks tool (a.k.a. gnome-tweaks) under Keyboard & Mouse -> Touchpad -> Mouse Click Emulation. In any case, as EntropyWins explains in his answer, this is not a bug.









share|improve this question













share|improve this question




share|improve this question








edited Apr 28 at 12:53

























asked Apr 27 at 12:52









Yuvalem

13818




13818











  • See if this useful: askubuntu.com/questions/957099/…
    – pomsky
    Apr 27 at 13:15










  • The above fix might work because as I understand it, it overrides the newer libinput driver with the older synaptics driver. My fix below requires a simpler settings flip and still uses the new driver, so hopefully it is a bit less likely to cause other problems in the future. It also doesn't require a reboot!
    – PatKilg
    Apr 27 at 16:41
















  • See if this useful: askubuntu.com/questions/957099/…
    – pomsky
    Apr 27 at 13:15










  • The above fix might work because as I understand it, it overrides the newer libinput driver with the older synaptics driver. My fix below requires a simpler settings flip and still uses the new driver, so hopefully it is a bit less likely to cause other problems in the future. It also doesn't require a reboot!
    – PatKilg
    Apr 27 at 16:41















See if this useful: askubuntu.com/questions/957099/…
– pomsky
Apr 27 at 13:15




See if this useful: askubuntu.com/questions/957099/…
– pomsky
Apr 27 at 13:15












The above fix might work because as I understand it, it overrides the newer libinput driver with the older synaptics driver. My fix below requires a simpler settings flip and still uses the new driver, so hopefully it is a bit less likely to cause other problems in the future. It also doesn't require a reboot!
– PatKilg
Apr 27 at 16:41




The above fix might work because as I understand it, it overrides the newer libinput driver with the older synaptics driver. My fix below requires a simpler settings flip and still uses the new driver, so hopefully it is a bit less likely to cause other problems in the future. It also doesn't require a reboot!
– PatKilg
Apr 27 at 16:41










1 Answer
1






active

oldest

votes

















up vote
27
down vote



accepted










Basically, Ubuntu 18.04 currently defaults to "Mac" behavior on the touchpad. The technical details are that Ubuntu defaults libinput touchpads to "clickfingers" behavior.



To revert that, run this in a terminal:



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


Another option (thanks OP) is to install gnome-tweak-tool (either through your software manager or through sudo apt install gnome-tweak-tool in the terminal). Navigate to the “Keyboard & Mouse” sub-menu in the left menu of gnome-tweak-tool, and select “Areas” from the touchpad’s “Mouse Click Emulation” options in the right side panel, as shown in the red box in the image below:
Relevant setting in gnome-tweak highlighted



[Warning: This fix is for the libinput driver that ships as the default input driver for Ubuntu 18.04. YMMV if you've installed the (different) synaptics driver before trying this fix.]






share|improve this answer


















  • 3




    Worked like a charm, thanks heaps! I wonder if the default MAC setting is a smart thing...
    – Yuvalem
    Apr 27 at 19:16







  • 7




    Also, I take Linus' approach to what is a bug: Don't f**k with things the user expects to work as it always has worked...
    – PatKilg
    Apr 29 at 1:48






  • 2




    Switching to the "area" method disables the right click altogether in my case (18.04, Acer Extensa 2510G). And I DO HATE the "fingers" method because you have to keep one finger on the touchpad or the menu disappears. Useless acrobatics just.
    – Pavel
    Apr 29 at 22:51






  • 2




    Both methods now work correctly after renaming 50-libinput.conf to 90-libinput.conf to make sure it's read after 70-synaptics.conf. Hmm.
    – Pavel
    Apr 29 at 23:17






  • 2




    Pavel--the reason my fix didn't work for you is (likely) because you have the synaptics drivers installed. 18.04 does not ship with the synaptics driver controlling the touchpad, you likely installed it yourself (or your flavor included them). My fix is for the libinput driver, not the synaptics driver.
    – PatKilg
    Apr 30 at 13:19











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028776%2fno-secondary-button-right-click-on-touchpad%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
27
down vote



accepted










Basically, Ubuntu 18.04 currently defaults to "Mac" behavior on the touchpad. The technical details are that Ubuntu defaults libinput touchpads to "clickfingers" behavior.



To revert that, run this in a terminal:



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


Another option (thanks OP) is to install gnome-tweak-tool (either through your software manager or through sudo apt install gnome-tweak-tool in the terminal). Navigate to the “Keyboard & Mouse” sub-menu in the left menu of gnome-tweak-tool, and select “Areas” from the touchpad’s “Mouse Click Emulation” options in the right side panel, as shown in the red box in the image below:
Relevant setting in gnome-tweak highlighted



[Warning: This fix is for the libinput driver that ships as the default input driver for Ubuntu 18.04. YMMV if you've installed the (different) synaptics driver before trying this fix.]






share|improve this answer


















  • 3




    Worked like a charm, thanks heaps! I wonder if the default MAC setting is a smart thing...
    – Yuvalem
    Apr 27 at 19:16







  • 7




    Also, I take Linus' approach to what is a bug: Don't f**k with things the user expects to work as it always has worked...
    – PatKilg
    Apr 29 at 1:48






  • 2




    Switching to the "area" method disables the right click altogether in my case (18.04, Acer Extensa 2510G). And I DO HATE the "fingers" method because you have to keep one finger on the touchpad or the menu disappears. Useless acrobatics just.
    – Pavel
    Apr 29 at 22:51






  • 2




    Both methods now work correctly after renaming 50-libinput.conf to 90-libinput.conf to make sure it's read after 70-synaptics.conf. Hmm.
    – Pavel
    Apr 29 at 23:17






  • 2




    Pavel--the reason my fix didn't work for you is (likely) because you have the synaptics drivers installed. 18.04 does not ship with the synaptics driver controlling the touchpad, you likely installed it yourself (or your flavor included them). My fix is for the libinput driver, not the synaptics driver.
    – PatKilg
    Apr 30 at 13:19















up vote
27
down vote



accepted










Basically, Ubuntu 18.04 currently defaults to "Mac" behavior on the touchpad. The technical details are that Ubuntu defaults libinput touchpads to "clickfingers" behavior.



To revert that, run this in a terminal:



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


Another option (thanks OP) is to install gnome-tweak-tool (either through your software manager or through sudo apt install gnome-tweak-tool in the terminal). Navigate to the “Keyboard & Mouse” sub-menu in the left menu of gnome-tweak-tool, and select “Areas” from the touchpad’s “Mouse Click Emulation” options in the right side panel, as shown in the red box in the image below:
Relevant setting in gnome-tweak highlighted



[Warning: This fix is for the libinput driver that ships as the default input driver for Ubuntu 18.04. YMMV if you've installed the (different) synaptics driver before trying this fix.]






share|improve this answer


















  • 3




    Worked like a charm, thanks heaps! I wonder if the default MAC setting is a smart thing...
    – Yuvalem
    Apr 27 at 19:16







  • 7




    Also, I take Linus' approach to what is a bug: Don't f**k with things the user expects to work as it always has worked...
    – PatKilg
    Apr 29 at 1:48






  • 2




    Switching to the "area" method disables the right click altogether in my case (18.04, Acer Extensa 2510G). And I DO HATE the "fingers" method because you have to keep one finger on the touchpad or the menu disappears. Useless acrobatics just.
    – Pavel
    Apr 29 at 22:51






  • 2




    Both methods now work correctly after renaming 50-libinput.conf to 90-libinput.conf to make sure it's read after 70-synaptics.conf. Hmm.
    – Pavel
    Apr 29 at 23:17






  • 2




    Pavel--the reason my fix didn't work for you is (likely) because you have the synaptics drivers installed. 18.04 does not ship with the synaptics driver controlling the touchpad, you likely installed it yourself (or your flavor included them). My fix is for the libinput driver, not the synaptics driver.
    – PatKilg
    Apr 30 at 13:19













up vote
27
down vote



accepted







up vote
27
down vote



accepted






Basically, Ubuntu 18.04 currently defaults to "Mac" behavior on the touchpad. The technical details are that Ubuntu defaults libinput touchpads to "clickfingers" behavior.



To revert that, run this in a terminal:



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


Another option (thanks OP) is to install gnome-tweak-tool (either through your software manager or through sudo apt install gnome-tweak-tool in the terminal). Navigate to the “Keyboard & Mouse” sub-menu in the left menu of gnome-tweak-tool, and select “Areas” from the touchpad’s “Mouse Click Emulation” options in the right side panel, as shown in the red box in the image below:
Relevant setting in gnome-tweak highlighted



[Warning: This fix is for the libinput driver that ships as the default input driver for Ubuntu 18.04. YMMV if you've installed the (different) synaptics driver before trying this fix.]






share|improve this answer














Basically, Ubuntu 18.04 currently defaults to "Mac" behavior on the touchpad. The technical details are that Ubuntu defaults libinput touchpads to "clickfingers" behavior.



To revert that, run this in a terminal:



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


Another option (thanks OP) is to install gnome-tweak-tool (either through your software manager or through sudo apt install gnome-tweak-tool in the terminal). Navigate to the “Keyboard & Mouse” sub-menu in the left menu of gnome-tweak-tool, and select “Areas” from the touchpad’s “Mouse Click Emulation” options in the right side panel, as shown in the red box in the image below:
Relevant setting in gnome-tweak highlighted



[Warning: This fix is for the libinput driver that ships as the default input driver for Ubuntu 18.04. YMMV if you've installed the (different) synaptics driver before trying this fix.]







share|improve this answer














share|improve this answer



share|improve this answer








edited May 4 at 7:47









David Foerster

26k1361106




26k1361106










answered Apr 27 at 16:38









PatKilg

38639




38639







  • 3




    Worked like a charm, thanks heaps! I wonder if the default MAC setting is a smart thing...
    – Yuvalem
    Apr 27 at 19:16







  • 7




    Also, I take Linus' approach to what is a bug: Don't f**k with things the user expects to work as it always has worked...
    – PatKilg
    Apr 29 at 1:48






  • 2




    Switching to the "area" method disables the right click altogether in my case (18.04, Acer Extensa 2510G). And I DO HATE the "fingers" method because you have to keep one finger on the touchpad or the menu disappears. Useless acrobatics just.
    – Pavel
    Apr 29 at 22:51






  • 2




    Both methods now work correctly after renaming 50-libinput.conf to 90-libinput.conf to make sure it's read after 70-synaptics.conf. Hmm.
    – Pavel
    Apr 29 at 23:17






  • 2




    Pavel--the reason my fix didn't work for you is (likely) because you have the synaptics drivers installed. 18.04 does not ship with the synaptics driver controlling the touchpad, you likely installed it yourself (or your flavor included them). My fix is for the libinput driver, not the synaptics driver.
    – PatKilg
    Apr 30 at 13:19













  • 3




    Worked like a charm, thanks heaps! I wonder if the default MAC setting is a smart thing...
    – Yuvalem
    Apr 27 at 19:16







  • 7




    Also, I take Linus' approach to what is a bug: Don't f**k with things the user expects to work as it always has worked...
    – PatKilg
    Apr 29 at 1:48






  • 2




    Switching to the "area" method disables the right click altogether in my case (18.04, Acer Extensa 2510G). And I DO HATE the "fingers" method because you have to keep one finger on the touchpad or the menu disappears. Useless acrobatics just.
    – Pavel
    Apr 29 at 22:51






  • 2




    Both methods now work correctly after renaming 50-libinput.conf to 90-libinput.conf to make sure it's read after 70-synaptics.conf. Hmm.
    – Pavel
    Apr 29 at 23:17






  • 2




    Pavel--the reason my fix didn't work for you is (likely) because you have the synaptics drivers installed. 18.04 does not ship with the synaptics driver controlling the touchpad, you likely installed it yourself (or your flavor included them). My fix is for the libinput driver, not the synaptics driver.
    – PatKilg
    Apr 30 at 13:19








3




3




Worked like a charm, thanks heaps! I wonder if the default MAC setting is a smart thing...
– Yuvalem
Apr 27 at 19:16





Worked like a charm, thanks heaps! I wonder if the default MAC setting is a smart thing...
– Yuvalem
Apr 27 at 19:16





7




7




Also, I take Linus' approach to what is a bug: Don't f**k with things the user expects to work as it always has worked...
– PatKilg
Apr 29 at 1:48




Also, I take Linus' approach to what is a bug: Don't f**k with things the user expects to work as it always has worked...
– PatKilg
Apr 29 at 1:48




2




2




Switching to the "area" method disables the right click altogether in my case (18.04, Acer Extensa 2510G). And I DO HATE the "fingers" method because you have to keep one finger on the touchpad or the menu disappears. Useless acrobatics just.
– Pavel
Apr 29 at 22:51




Switching to the "area" method disables the right click altogether in my case (18.04, Acer Extensa 2510G). And I DO HATE the "fingers" method because you have to keep one finger on the touchpad or the menu disappears. Useless acrobatics just.
– Pavel
Apr 29 at 22:51




2




2




Both methods now work correctly after renaming 50-libinput.conf to 90-libinput.conf to make sure it's read after 70-synaptics.conf. Hmm.
– Pavel
Apr 29 at 23:17




Both methods now work correctly after renaming 50-libinput.conf to 90-libinput.conf to make sure it's read after 70-synaptics.conf. Hmm.
– Pavel
Apr 29 at 23:17




2




2




Pavel--the reason my fix didn't work for you is (likely) because you have the synaptics drivers installed. 18.04 does not ship with the synaptics driver controlling the touchpad, you likely installed it yourself (or your flavor included them). My fix is for the libinput driver, not the synaptics driver.
– PatKilg
Apr 30 at 13:19





Pavel--the reason my fix didn't work for you is (likely) because you have the synaptics drivers installed. 18.04 does not ship with the synaptics driver controlling the touchpad, you likely installed it yourself (or your flavor included them). My fix is for the libinput driver, not the synaptics driver.
– PatKilg
Apr 30 at 13:19


















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028776%2fno-secondary-button-right-click-on-touchpad%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491