I apologise for the lateness of this followup! Since I see no other
responses to your query (which doesn't necessarily mean there haven't
been any, I know), I feel it is worth responding now.
Groovy hepcat Eli the Bearded was jivin' in comp.os.linux.misc on Mon,
15 Jan 2018 7:20 am. It's a cool scene! Dig it.
You need to open /etc/X11/xorg.conf and make an "InputDevice" entry
for your touchpad. See below.
> I very well know the config I want. Here's the command, using
> synclient:
>
> synclient RightButtonAreaLeft=0 RightButtonAreaTop=0 \
> ClickTime=20 AccelFactor=0.3 MaxSpeed=2.5 PalmDetect=1 \
> VertTwoFingerScroll=1 HorizTwoFingerScroll=1 VertEdgeScroll=0
> \ HorizEdgeScroll=0
>
> And wow! Nifty! "synclient -l" lists all the settings and with some
> experimentation I got middle click working with:
>
> synclient TapButton3=2 RightButtonAreaLeft=1800 \
> MiddleButtonAreaRight=1799 MiddleButtonAreaTop=1495 \
> MiddleButtonAreaLeft=1400
You probably want something like this (untested):
Section "InputDevice"
Identifier "synaptics"
Driver "synaptics"
Option "Device" "/dev/input/by-path/<name of your device goes here>"
Option "Protocol" "auto-dev"
Option "ClickTime" "20"
Option "AccelFactor" "0.3"
Option "MaxSpeed" "2.5"
Option "PalmDetect" "1"
Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "1"
Option "VertEdgeScroll" "0"
Option "HorizEdgeScroll" "0"
Option "TapButton3" "2"
Option "RightButtonAreaLeft" "1800"
Option "RightButtonAreaTop" "0"
Option "MiddleButtonAreaLeft" "1799"
Option "MiddleButtonAreaTop" "1495"
Option "MiddleButtonAreaLeft" "1400"
EndSection
I prefer the following settings, though, on my Lenovo Ideapad S10e
(and similar settings on other laptops):
Section "InputDevice"
Identifier "synaptics"
Driver "synaptics"
Option "Device" "/dev/input/by-path/platform-i8042-serio-1-event-mouse"
Option "Protocol" "event"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "VertEdgeScroll" "1"
Option "PalmDetect" "0"
Option "SHMConfig" "true"
Option "SendCoreEvents" "yes"
Option "HorizScrollDelta" "0"
Option "RBCornerButton" "0"
Option "RTCornerButton" "2"
EndSection
> I've added that to my .xinitrc, right after the xmodmap settings.
> (TapButton3=2 I now suspect is not useful.)
>
> I never knew about that tool and I wish I had. Where can I find full
> documentation on synclient?
>
> The docs in man are spartan. The docs here:
>
>
https://www.x.org/archive/X11R7.5/doc/man/man4/synaptics.4.html
>
> Don't incluse MiddleButton* directives. I found, quite by accident,
Try man synaptics and man xorg.conf.
> that the order of the settings for MiddleButtonArea* is significant.
> In the wrong order, you just get error messages.
My synaptics man page doesn't even list those options. It lists
the "SoftButtonAreas" option:
Option "SoftButtonAreas" "RBL RBR RBT RBB MBL MBR MBT MBB"
I assume that is equivalent though I've never used either.
--
----- Dig the NEW and IMPROVED news sig!! -----
-------------- Shaggy was here! ---------------
Ain't I'm a dawg!!