Re: emulating 3 button mouse

cderr <[email protected]> Fri, 23 Aug 2019 22:25:06 -0400
Newsgroups gmane.linux.debian.user.laptop
Message-ID <[email protected]>
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:

root@deletion:/etc/X11# ls -la
total 104
drwxr-xr-x  13 root root  4096 Aug 23 06:57 .
drwxr-xr-x 153 root root 12288 Aug 23 21:17 ..
drwxr-xr-x   2 root root  4096 Aug 23 06:48 app-defaults
drwxr-xr-x   2 root root  4096 Aug 13 07:13 cursors
-rw-r--r--   1 root root    15 Aug 23 06:57 default-display-manager
drwxr-xr-x   6 root root  4096 Aug 13 07:11 fonts
drwxr-xr-x   3 root root  4096 Aug 23 06:41 ja_JP.eucJP
drwxr-xr-x   3 root root  4096 Aug 23 06:41 ja_JP.UTF-8
lrwxrwxrwx   1 root root    14 Dec 31  2018 openbox -> ../xdg/openbox
-rw-r--r--   1 root root 17394 Nov 23  2016 rgb.txt
drwxr-xr-x   2 root root  4096 Aug 13 07:28 xinit
drwxr-xr-x   2 root root  4096 Feb 11  2019 xkb
-rwxr-xr-x   1 root root   709 Nov 23  2016 Xreset
drwxr-xr-x   2 root root  4096 Aug 13 07:14 Xreset.d
drwxr-xr-x   2 root root  4096 Aug 13 07:14 Xresources
-rwxr-xr-x   1 root root  3517 Nov 23  2016 Xsession
drwxr-xr-x   2 root root  4096 Aug 13 07:41 Xsession.d
-rw-r--r--   1 root root   265 Nov 23  2016 Xsession.options
drwxr-xr-x   2 root root  4096 Aug 13 07:33 xsm
-rw-r--r--   1 root root    13 Dec  5  2016 XvMCConfig
-rw-r--r--   1 root root   630 Aug 13 07:35 Xwrapper.config
root@deletion:/etc/X11#


Where should i insert the InputClass stanza?

     thanks again for the assistance,
         ~c