[SOLVED] Middle click with three fingers tap on XFCE edition

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
zangetsu
Level 1
Level 1
Posts: 35
Joined: Thu Nov 24, 2016 6:12 am
Location: Turin, Italy

[SOLVED] Middle click with three fingers tap on XFCE edition

Post by zangetsu » Sun Aug 05, 2018 7:05 am

On Mint 19 XFCE, I would like to set middle click with three fingers tap on my touchpad. When I was on Linux Mint 18 KDE edition, touchpad's settings had that option but now on XFCE there isn't that option...So, I followed this guide...but it didn't work.

How could I obtain what I want? :cry:
Last edited by zangetsu on Sun Aug 19, 2018 1:38 pm, edited 3 times in total.

zangetsu
Level 1
Level 1
Posts: 35
Joined: Thu Nov 24, 2016 6:12 am
Location: Turin, Italy

Re: Touchpad middle click with three fingers tap on XFCE

Post by zangetsu » Thu Aug 09, 2018 12:34 pm

Up

zangetsu
Level 1
Level 1
Posts: 35
Joined: Thu Nov 24, 2016 6:12 am
Location: Turin, Italy

Re: Middle click with three fingers tap on XFCE edition

Post by zangetsu » Sat Aug 18, 2018 12:33 pm

Up

User avatar
smurphos
Level 8
Level 8
Posts: 2005
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Middle click with three fingers tap on XFCE edition

Post by smurphos » Sun Aug 19, 2018 4:48 am

You can test for output from your touch pad using xev run in the terminal.

E.g on Mint Cinnamon 19 and my hardware a three finger tap returns button 2 (middle click) by default. The click settings for the Touchpad are set to Automatic.

I've just checked in a Vbox install of XFCE 19 and on my hardware at least the three finger tap works by default. Might be different in a bare metal install though... :? gsettings get org.gnome.desktop.peripherals.touchpad click-method returns 'fingers'

if your is different you can set it via gsettings set org.gnome.desktop.peripherals.touchpad click-method 'fingers'

You can easily review the touchpad settings using the GUI app dconf-editor - apt install dconf-editor

Is your touchpad working correctly otherwise? If all the settings look Ok and it's still not working you could try an alternative touchpad driver. See the XFCE release notes here for instructions - https://www.linuxmint.com/rel_tara_xfce.php

zangetsu
Level 1
Level 1
Posts: 35
Joined: Thu Nov 24, 2016 6:12 am
Location: Turin, Italy

Re: Middle click with three fingers tap on XFCE edition

Post by zangetsu » Sun Aug 19, 2018 9:46 am

smurphos wrote:
Sun Aug 19, 2018 4:48 am
You can test for output from your touch pad using xev run in the terminal.
I tried xev command and when I tap the touchpad with three fingers there is no output in the terminal instead, when I use the middle click with USB mouse, It detects the button pressure and then the release...this is the output with USB Mouse:

Code: Select all

ButtonPress event, serial 37, synthetic NO, window 0x5000001,
    root 0x190, subw 0x0, time 587275, (162,2), root:(1033,438),
    state 0x10, button 2, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x5000001,
    root 0x190, subw 0x0, time 587403, (162,2), root:(1033,438),
    state 0x210, button 2, same_screen YES

smurphos wrote:
Sun Aug 19, 2018 4:48 am
E.g on Mint Cinnamon 19 and my hardware a three finger tap returns button 2 (middle click) by default. The click settings for the Touchpad are set to Automatic.
Yeah, with Cinnamon or KDE It was all fine...
smurphos wrote:
Sun Aug 19, 2018 4:48 am
I've just checked in a Vbox install of XFCE 19 and on my hardware at least the three finger tap works by default. Might be different in a bare metal install though... :?
Yes, I think it could be different
smurphos wrote:
Sun Aug 19, 2018 4:48 am
gsettings get org.gnome.desktop.peripherals.touchpad click-method returns 'fingers'
if your is different you can set it via gsettings set org.gnome.desktop.peripherals.touchpad click-method 'fingers'
Same output...'fingers'
smurphos wrote:
Sun Aug 19, 2018 4:48 am
You can easily review the touchpad settings using the GUI app dconf-editor - apt install dconf-editor
Everything seems good. The only thing worthy of note is that there is no a middle click setting :lol:
smurphos wrote:
Sun Aug 19, 2018 4:48 am
Is your touchpad working correctly otherwise? If all the settings look Ok and it's still not working you could try an alternative touchpad driver. See the XFCE release notes here for instructions - https://www.linuxmint.com/rel_tara_xfce.php
I tried even this...not even "libinput" driver worked...


I am desperate :x

User avatar
smurphos
Level 8
Level 8
Posts: 2005
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Middle click with three fingers tap on XFCE edition

Post by smurphos » Sun Aug 19, 2018 11:28 am

Mmm.....may be sending you off on a wild goose chase but....using libinput .....viewtopic.php?f=208&t=275565&start=20#p1512113

zangetsu
Level 1
Level 1
Posts: 35
Joined: Thu Nov 24, 2016 6:12 am
Location: Turin, Italy

Re: Middle click with three fingers tap on XFCE edition

Post by zangetsu » Sun Aug 19, 2018 1:37 pm

After several imprecations, I abandoned libinput and switched back to synaptics driver. Then I found out that synclient TapButton3=2 command works for what I was searching for...so, I created an executable script with the following code:

Code: Select all

#! /bin/bash

synclient TapButton3=2
exit 0
and I run it, automatically, at every startup.

Thanks a lot for the help....so, this is the end :D

Post Reply

Return to “Other topics”