You are not logged in.

#1 2016-09-08 12:55:04

odrec
Member
Registered: 2016-09-08
Posts: 17

[SOLVED] Configuring touchpad to allow simple dragging of windows

Hello, I just installed Arch Linux for the first time and I'm experiencing a really frustrating behavior with my touchpad on my MSI GE70 laptop.

I'm trying to drag windows on my Enlightenment desktop environemnt by clicking with one finger and holding the taskbar of the window and using a second finger to move it. The thing is that sometimes it works correctly but most of the times I try it the body of the window just rolls itself into the taskbar whenever I try to use the second finger to move it. Any ideas what synclient configuration can help me fix this? This is my current one

Parameter settings:
    LeftEdge                = 130
    RightEdge               = 3130
    TopEdge                 = 114
    BottomEdge              = 2005
    FingerLow               = 20
    FingerHigh              = 30
    MaxTapTime              = 180
    MaxTapMove              = 171
    MaxDoubleTapTime        = 100
    SingleTapTimeout        = 320
    ClickTime               = 100
    EmulateMidButtonTime    = 0
    EmulateTwoFingerMinZ    = 40
    EmulateTwoFingerMinW    = 8
    VertScrollDelta         = 77
    HorizScrollDelta        = 77
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 1
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 1
    MinSpeed                = 1
    MaxSpeed                = 1.75
    AccelFactor             = 0.0514403
    TouchpadOff             = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 2
    TapButton3              = 3
    ClickFinger1            = 1
    ClickFinger2            = 3
    ClickFinger3            = 2
    CircularScrolling       = 1
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 0
    CoastingFriction        = 50
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 0
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 19
    VertHysteresis          = 19
    ClickPad                = 1
    RightButtonAreaLeft     = 1630
    RightButtonAreaRight    = 0
    RightButtonAreaTop      = 1737
    RightButtonAreaBottom   = 0
    MiddleButtonAreaLeft    = 0
    MiddleButtonAreaRight   = 0
    MiddleButtonAreaTop     = 0
    MiddleButtonAreaBottom  = 0

Last edited by odrec (2016-09-19 15:31:55)

Offline

#2 2016-09-08 14:53:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] Configuring touchpad to allow simple dragging of windows

Hello, and welcome to Arch Linux.

First, please take a look at how to use BBCode and edit your post to use code tags around program output.  That same link is below all message post boxes on the forums.

How did you generate that output?
What is the output of xinput  ?  (This will lead to additional questions)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-09-15 17:47:09

odrec
Member
Registered: 2016-09-08
Posts: 17

Re: [SOLVED] Configuring touchpad to allow simple dragging of windows

ewaller wrote:

Hello, and welcome to Arch Linux.

First, please take a look at how to use BBCode and edit your post to use code tags around program output.  That same link is below all message post boxes on the forums.

How did you generate that output?
What is the output of xinput  ?  (This will lead to additional questions)

Hello, sorry for the delay to answer. I had to put aside my Linux configuration to focus on other things. I fixed the quote on top. The command I used for that output was merely synclient

The output of xinput is

Virtual core pointer                    	id=2	[master pointer  (3)]
    --> Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
    -->ETPS/2 Elantech 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)]
    -->Video Bus                               	id=8	[slave  keyboard (3)]
    -->Power Button                            	id=9	[slave  keyboard (3)]
    -->USB 2.0 Webcam Device                   	id=10	[slave  keyboard (3)]
    -->AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    -->MSI WMI hotkeys

Offline

#4 2016-09-15 18:07:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] Configuring touchpad to allow simple dragging of windows

Okay, now the output of xinput list-props "ETPS/2 Elantech Touchpad"


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2016-09-19 11:33:14

odrec
Member
Registered: 2016-09-08
Posts: 17

Re: [SOLVED] Configuring touchpad to allow simple dragging of windows

ewaller wrote:

Okay, now the output of xinput list-props "ETPS/2 Elantech Touchpad"

Here it is

Device 'ETPS/2 Elantech Touchpad':
	Device Enabled (139):	1
	Coordinate Transformation Matrix (141):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (266):	1
	Device Accel Constant Deceleration (267):	2.500000
	Device Accel Adaptive Deceleration (268):	1.000000
	Device Accel Velocity Scaling (269):	12.500000
	Synaptics Edges (270):	130, 3130, 114, 2005
	Synaptics Finger (271):	20, 30, 0
	Synaptics Tap Time (272):	180
	Synaptics Tap Move (273):	171
	Synaptics Tap Durations (274):	320, 100, 100
	Synaptics ClickPad (275):	1
	Synaptics Middle Button Timeout (276):	0
	Synaptics Two-Finger Pressure (277):	40
	Synaptics Two-Finger Width (278):	8
	Synaptics Scrolling Distance (279):	77, 77
	Synaptics Edge Scrolling (280):	1, 1, 0
	Synaptics Two-Finger Scrolling (281):	1, 1
	Synaptics Move Speed (282):	1.000000, 1.750000, 0.051440, 0.000000
	Synaptics Off (283):	0
	Synaptics Locked Drags (284):	0
	Synaptics Locked Drags Timeout (285):	5000
	Synaptics Tap Action (286):	0, 0, 0, 0, 1, 2, 3
	Synaptics Click Action (287):	1, 3, 2
	Synaptics Circular Scrolling (288):	1
	Synaptics Circular Scrolling Distance (289):	0.100000
	Synaptics Circular Scrolling Trigger (290):	0
	Synaptics Circular Pad (291):	0
	Synaptics Palm Detection (292):	0
	Synaptics Palm Dimensions (293):	10, 200
	Synaptics Coasting Speed (294):	0.000000, 50.000000
	Synaptics Pressure Motion (295):	30, 160
	Synaptics Pressure Motion Factor (296):	1.000000, 1.000000
	Synaptics Grab Event Device (297):	0
	Synaptics Gestures (298):	1
	Synaptics Capabilities (299):	1, 0, 0, 1, 1, 1, 1
	Synaptics Pad Resolution (300):	33, 33
	Synaptics Area (301):	0, 0, 0, 0
	Synaptics Soft Button Areas (302):	1630, 0, 1737, 0, 0, 0, 0, 0
	Synaptics Noise Cancellation (303):	19, 19
	Device Product ID (259):	2, 14
	Device Node (260):	"/dev/input/event8"

I have also realized that trying to select text by dragging the mouse pad is difficult. Doable but difficult. Just like dragging a window.

Offline

#6 2016-09-19 12:46:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: [SOLVED] Configuring touchpad to allow simple dragging of windows

Do you want to be able to "shade" the window when you double click the titlebar, because that is what is happening.  If you don't use that option, then don't bother with touchpad settings - just change the settings in your WM.

If you *do* want to be able to use the window shade on double click, then you'll have to decrease the double click delay.  This also could be done in the WM settings rather than the touchpad settings.

Alteratively, if you don't want use tap-to-click and only use the physical buttons for clicking, then disable tap-to-click in your touchpad settings.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2016-09-19 13:41:05

odrec
Member
Registered: 2016-09-08
Posts: 17

Re: [SOLVED] Configuring touchpad to allow simple dragging of windows

Trilby wrote:

Do you want to be able to "shade" the window when you double click the titlebar, because that is what is happening.  If you don't use that option, then don't bother with touchpad settings - just change the settings in your WM.

If you *do* want to be able to use the window shade on double click, then you'll have to decrease the double click delay.  This also could be done in the WM settings rather than the touchpad settings.

Alteratively, if you don't want use tap-to-click and only use the physical buttons for clicking, then disable tap-to-click in your touchpad settings.

Thanks a lot! I went into the interaction setting of the touch pad on Enlightenment and changed the Thumbscroll setting "Threshold for applying drag movement" value from 100 pixels/s to 980 pixels/s and the "Threshold for a thumb drag" from 8 pixels to 12 pixels. Now the dragging interactions seems much more natural.

Offline

#8 2016-09-19 15:16:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] Configuring touchpad to allow simple dragging of windows

I'm glad it is working for you even though we diverged from the original question smile  Be sure to mark your thread as solved.

As an aside, let me bring closure to my questions. What I had been working towards is to discover whether you are using the libinput or the synaptics driver.  Post number 5 shows that you are using the Synaptics driver and the parameters available to you from that driver. In the future, you may want to investigate using the libinput driver; it is far more mature for multi touch operations. OTOH, if Synaptics works for you, great.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2016-09-19 15:30:32

odrec
Member
Registered: 2016-09-08
Posts: 17

Re: [SOLVED] Configuring touchpad to allow simple dragging of windows

ewaller wrote:

I'm glad it is working for you even though we diverged from the original question smile  Be sure to mark your thread as solved.

As an aside, let me bring closure to my questions. What I had been working towards is to discover whether you are using the libinput or the synaptics driver.  Post number 5 shows that you are using the Synaptics driver and the parameters available to you from that driver. In the future, you may want to investigate using the libinput driver; it is far more mature for multi touch operations. OTOH, if Synaptics works for you, great.


Now that you mention it I will try with the libinput driver actually since, even though it is working much better now, sometimes it shows unwanted behavior like before. Thanks for the time you took to answer!

Offline

Board footer

Powered by FluxBB