[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: emulating 3 button mouse



cderr wrote: 
> On 2019-08-23 09:51, Dan Ritter wrote:
> > cderr wrote:
> > > my new Dell laptop (running buster) has a trackpad with only 2 buttons
> > > (areas really) how do i get it to paste like i want (by clicking on
> > > both
> > > buttons simultaneously?). i use KDE (and also sometimes a console
> > > (with gpm)
> > > 
> > > some dmesg output follows
> > > 
> > > 3.008497] psmouse serio1: elantech: assuming hardware version 4 (with
> > > firmware version 0x4f1001)
> > > 3.018097] psmouse serio1: elantech: Synaptics capabilities query
> > > result
> > > 0x01, 0x17, 0x11.
> > > 3.028001] psmouse serio1: elantech: Elan sample query result 00, 2d,
> > > 85
> > > 
> > > please let me know if there's other info needed and i'll happily
> > > provide it
> > > 
> > 
> > either:
> > 
> > etc/X11/xorg.conf.d/...
> > 
> > 
> > Section "InputClass"
> >     ...
> >     Option          "TapButton2"                "2"
> >     Option          "TapButton3"                "3"
> >     Option      "EmulateMidButtonTime"          "25"
> > 
> > 
> > The time is in milliseconds; you might want to adjust it.
> > 
> > Or you can try synclient, which should take
> > synclient Tapbutton2=2 Tapbutton3=3
> > 
> > -dsr-
> 
> 
> Thanks for this. I think it's getting close to the right answer, but on my
> freshly installed buster, i haven't got the directory structure that you are
> pointing me towards. Here's what's in /etc/X11:
> 
> Where should i insert the InputClass stanza?

 /usr/share/X11/xorg.conf.d/  is likely. I have a
40-libinput.conf there.


-dsr-


Reply to: