Choose style:

Author Topic: Touchpad accidentaly brings up the right-click context menu while scrolling.  (Read 394 times)

0 Members and 1 Guest are viewing this topic.

Offline Specter

  • nOOb
  • *
  • Posts: 9
  • Karma: 1
  • Noob Linux Enthusiast
    • View Profile
  • Peppermint version(s): 9
Hello, everybody!
It's not that big of a deal, but sometimes it's annoying while working.
The problem is in the title; the touchpad brings up the right-click menu while making quick scrolls. Is there a way to tweak these particular settings to disable the right-click menu while making fast scrolls?

Edit: After looking around i probably need to adjust the doble and single-click speed and delay. Are there any suggestions on how to accomplish that in Pepp 9?
Edit2: Slightly moving the pointer counts as a click/tap; slightly scrolling causes a doble-click/tap.

Thanks in advance!
« Last Edit: February 05, 2019, 03:27:04 pm by Specter »
"forever is composed entirely of nows"

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24472
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
See if changing to these settings in the Peppermint Control Center (Touchpad Options) helps:-

WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Specter

  • nOOb
  • *
  • Posts: 9
  • Karma: 1
  • Noob Linux Enthusiast
    • View Profile
  • Peppermint version(s): 9
Nope, the problem persists. Slightly moving the cursor causes a single tap. Same with the scrolling, it causes a two-finger tap.
I need to move/scroll longer distance not to trigger a tap/click.

Edit: If I am to guess, the fix should be something like this:

If cursor moves 2 or more pixels do not count as a tap.
Tap/Click and Two-Finger Tap/Click shouldn't occur while cursor is moving.

P.S. Im not a programmer :D
« Last Edit: February 05, 2019, 04:28:05 pm by Specter »
"forever is composed entirely of nows"

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24472
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
What's the output from:
Code: [Select]
xinput --list
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Specter

  • nOOb
  • *
  • Posts: 9
  • Karma: 1
  • Noob Linux Enthusiast
    • View Profile
  • Peppermint version(s): 9
Code: [Select]
 $ xinput --list
⎡ Virtual core pointer                    id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              id=12 [slave  pointer  (2)]
⎣ Virtual core keyboard                    id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard              id=5 [slave  keyboard (3)]
    ↳ Power Button                            id=6 [slave  keyboard (3)]
    ↳ Video Bus                                id=7 [slave  keyboard (3)]
    ↳ Power Button                            id=8 [slave  keyboard (3)]
    ↳ Lenovo EasyCamera: Lenovo EasyC          id=9 [slave  keyboard (3)]
    ↳ Ideapad extra buttons                    id=10 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            id=11 [slave  keyboard (3)]

Maybe i should edit the finger tap settings in synaptics?

Code: [Select]
Synaptics Finger (270):	25, 30, 0
Synaptics Tap Time (271): 180
Synaptics Tap Move (272): 263
Synaptics Tap Durations (273): 180, 180, 100
Synaptics ClickPad (274): 0
Synaptics Middle Button Timeout (275): 75

But I don't really know what I am doing. Just read a bunch of forums. I will wait for your assistance. Thanks for helping me!
"forever is composed entirely of nows"

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24472
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Can we have the full output from:
Code: [Select]
xinput --list-props 12
BTW, it can't hurt to experiment with setting in here .. changes will only last until you next log off/on (or reboot) anyway.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Specter

  • nOOb
  • *
  • Posts: 9
  • Karma: 1
  • Noob Linux Enthusiast
    • View Profile
  • Peppermint version(s): 9
How to edit those settinngs btw?  :D

Code: [Select]
$ xinput --list-props "SynPS/2 Synaptics TouchPad"
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (140): 1
Coordinate Transformation Matrix (142): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (265): 1
Device Accel Constant Deceleration (266): 2.500000
Device Accel Adaptive Deceleration (267): 1.000000
Device Accel Velocity Scaling (268): 12.500000
Synaptics Edges (269): 1511, 5433, 1271, 4607
Synaptics Finger (270): 25, 30, 0
Synaptics Tap Time (271): 180
Synaptics Tap Move (272): 263
Synaptics Tap Durations (273): 180, 180, 100
Synaptics ClickPad (274): 0
Synaptics Middle Button Timeout (275): 75
Synaptics Two-Finger Pressure (276): 282
Synaptics Two-Finger Width (277): 7
Synaptics Scrolling Distance (278): 119, 119
Synaptics Edge Scrolling (279): 0, 0, 0
Synaptics Two-Finger Scrolling (280): 1, 1
Synaptics Move Speed (281): 1.000000, 1.750000, 0.033411, 0.000000
Synaptics Off (282): 0
Synaptics Locked Drags (283): 0
Synaptics Locked Drags Timeout (284): 5000
Synaptics Tap Action (285): 2, 3, 0, 0, 1, 3, 0
Synaptics Click Action (286): 1, 1, 0
Synaptics Circular Scrolling (287): 0
Synaptics Circular Scrolling Distance (288): 0.100000
Synaptics Circular Scrolling Trigger (289): 0
Synaptics Circular Pad (290): 0
Synaptics Palm Detection (291): 0
Synaptics Palm Dimensions (292): 10, 200
Synaptics Coasting Speed (293): 20.000000, 50.000000
Synaptics Pressure Motion (294): 30, 160
Synaptics Pressure Motion Factor (295): 1.000000, 1.000000
Synaptics Resolution Detect (296): 1
Synaptics Grab Event Device (297): 0
Synaptics Gestures (298): 1
Synaptics Capabilities (299): 1, 0, 1, 1, 1, 1, 1
Synaptics Pad Resolution (300): 78, 51
Synaptics Area (301): 0, 0, 0, 0
Synaptics Noise Cancellation (302): 8, 8
Device Product ID (260): 2, 7
Device Node (261): "/dev/input/event5"
"forever is composed entirely of nows"

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24472
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Can you post the output from
Code: [Select]
synclient -l
and would it be enough for us to simply disable double-finger tap = right-click ?

We can test this in a non-persistent way first.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Specter

  • nOOb
  • *
  • Posts: 9
  • Karma: 1
  • Noob Linux Enthusiast
    • View Profile
  • Peppermint version(s): 9
I would prefer to keep the double-finger right-click. Btw the problem is there even without the double finger tap.
For example:
If I'm on Youtube and i try to move the cursor slightly and quickly it registers as a click and opens a video even though the cursor moves.

Here is the output:
Code: [Select]
$ synclient -l
Parameter settings:
    LeftEdge                = 1511
    RightEdge               = 5433
    TopEdge                 = 1271
    BottomEdge              = 4607
    FingerLow               = 25
    FingerHigh              = 30
    MaxTapTime              = 180
    MaxTapMove              = 263
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 282
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 119
    HorizScrollDelta        = 119
    VertEdgeScroll          = 0
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 1
    MinSpeed                = 1
    MaxSpeed                = 1.75
    AccelFactor             = 0.0334113
    TouchpadOff             = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 2
    RBCornerButton          = 3
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 3
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 0
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 20
    CoastingFriction        = 50
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    ResolutionDetect        = 1
    GrabEventDevice         = 0
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 8
    VertHysteresis          = 8
    ClickPad                = 0
"forever is composed entirely of nows"

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24472
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
See how you get on with
Code: [Select]
synclient TapButton2=0
?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Specter

  • nOOb
  • *
  • Posts: 9
  • Karma: 1
  • Noob Linux Enthusiast
    • View Profile
  • Peppermint version(s): 9
This disables the double finger tap. It didn't fix the problem. I should probably edit MaxTapTime and MaxDoubleTapTime.
"forever is composed entirely of nows"

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24472
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Try it then and let us know how you get on.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec