Comment 8 for bug 1234846

Revision history for this message
mario89 (vazileh) wrote :

Ah, I found my workaround again. Very complicated, that I can tell you. Since this thread is #1 google result if you search for drag lock, and the actual solution is far behind at 3rd or 4th page, I will post the solution here. Hope this can compensate the unwillingness of Ubuntu developers:

1. Open a terminal.

2. type "xinput list" to see your devices. Look for your TouchPad device. Make a note of its id#. (mine is 10) If you are not sure which id is the correct one, just try any of them. You will see that it was the wrong one if it doesn't show anything in step 3 or if it doesn't work in the end.

3. Then type "xinput list-props 10 | grep Lock" (replace '10' with whatever your ID is) and you'll see options for locked drags and a timeout value. Make a note of their ID#s (in parentheses) for easy access. You want to set locked drags to 1, and timeout to whatever is comfortable for you (bug reporter suggested 500).

4. Then type
"xinput set-prop 10 248 1" (259 is my ID for Locked Drags)
"xinput set-prop 10 285 500" (260 is my ID for Locked Drags Timeout)

5. Done. Changes should take effect immediately. If not, maybe you picked the wrong id in step 2. Just try with a different id.