{"id":372,"date":"2019-08-30T16:44:56","date_gmt":"2019-08-31T00:44:56","guid":{"rendered":"https:\/\/www.actinia.me\/?p=372"},"modified":"2019-08-30T16:44:56","modified_gmt":"2019-08-31T00:44:56","slug":"continuously-move-dragged-content-with-touch-pad","status":"publish","type":"post","link":"https:\/\/www.actinia.me\/?p=372","title":{"rendered":"Continuously move dragged content with touch pad"},"content":{"rendered":"<p>Following operation only takes effect in Xorg. If you are in Wayland, you need to log out and switch to a Xorg session.<\/p>\n<p>First, you need to find out device ID of your touchpad:<\/p>\n<p><code>$ xinput list<\/code><\/p>\n<p>This command will give you something like :<br \/>\n<code>\u23a1 Virtual core pointer                    \tid=2\t[master pointer  (3)]<\/code><br \/>\n<code>\u239c   \u21b3 Virtual core XTEST pointer              \tid=4\t[slave  pointer  (2)]<\/code><br \/>\n<code>\u239c   \u21b3 SYNA7813:00 06CB:16DB                   \tid=13\t[slave  pointer  (2)]<\/code><br \/>\n<code>\u239c   \u21b3 ETPS\/2 Elantech Touchpad                \tid=15\t[slave  pointer  (2)]<\/code><br \/>\n<code>\u239c   \u21b3 dougav\u2019s mouse                        \tid=9\t[slave  pointer  (2)]<\/code><br \/>\n<code>\u23a3 Virtual core keyboard                   \tid=3\t[master keyboard (2)]<\/code><br \/>\n<code>    \u21b3 Virtual core XTEST keyboard             \tid=5\t[slave  keyboard (3)]<\/code><br \/>\n<code>    \u21b3 Power Button                            \tid=6\t[slave  keyboard (3)]<\/code><br \/>\n<code>    \u21b3 Video Bus                               \tid=7\t[slave  keyboard (3)]<\/code><br \/>\n<code>    \u21b3 Power Button                            \tid=8\t[slave  keyboard (3)]<\/code><br \/>\n<code>    \u21b3 Clavier de Dawud W Vong                 \tid=10\t[slave  keyboard (3)]<\/code><br \/>\n<code>    \u21b3 HP Wide Vision HD                       \tid=11\t[slave  keyboard (3)]<\/code><br \/>\n<code>    \u21b3 Intel Virtual Button driver             \tid=12\t[slave  keyboard (3)]<\/code><br \/>\n<code>    \u21b3 AT Translated Set 2 keyboard            \tid=14\t[slave  keyboard (3)]<\/code><br \/>\n<code>    \u21b3 HP WMI hotkeys                          \tid=16\t[slave  keyboard (3)]<\/code><br \/>\n<code>    \u21b3 HP Wireless hotkeys                     \tid=17\t[slave  keyboard (3)]<\/code><\/code><\/p>\n<p>Touchpad&#8217;s ID is <strong>15<\/strong> in this case<br \/>\nYou can list Properties of your TOuchpad with:<br \/>\n<code>$ xinput --list-props 15<\/code><br \/>\nyou&#8217;ll see something like:<br \/>\n<code>Device 'ETPS\/2 Elantech Touchpad':<\/code><br \/>\n<code>\tDevice Enabled (143):\t1<\/code><br \/>\n<code>\tCoordinate Transformation Matrix (145):\t1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<\/code><br \/>\n<code>\tlibinput Tapping Enabled (296):\t1<\/code><br \/>\n<code>\tlibinput Tapping Enabled Default (297):\t0<\/code><br \/>\n<code>\tlibinput Tapping Drag Enabled (298):\t1<\/code><br \/>\n<code>\tlibinput Tapping Drag Enabled Default (299):\t1<\/code><br \/>\n<code>\tlibinput Tapping Drag Lock Enabled (300):\t0<\/code><br \/>\n<code>\tlibinput Tapping Drag Lock Enabled Default (301):\t0<\/code><br \/>\n<code>\tlibinput Tapping Button Mapping Enabled (302):\t1, 0<\/code><br \/>\n<code>\tlibinput Tapping Button Mapping Default (303):\t1, 0<\/code><br \/>\n<code>\tlibinput Natural Scrolling Enabled (278):\t1<\/code><br \/>\n<code>\tlibinput Natural Scrolling Enabled Default (279):\t0<\/code><br \/>\n<code>\t......<\/code><\/p>\n<p>Property &#8220;<strong>libinput Tapping Drag Lock Enabled<\/strong>&#8221; which should be 0 by default is what we need to turn on.<br \/>\nExecute:<\/p>\n<p><code>$ xinput set-prop 12 \"libinput Tapping Drag Lock Enabled\" 1<\/code><br \/>\nThis will enable Drag lock function.<br \/>\nNow you will be able to continuously drag contents without being restricted by touchpad size.<br \/>\nWhen your dragging movement reaches the edge of the touchpad, you can quickly lift your finger and click-hold the middle of the touchpad without losing your connection with the dragged content.<br \/>\nPlease add this command to .xprofile to make it permanently available.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following operation only takes effect in Xorg. If you are in Wayland, you need to log out and switch to a Xorg session. First, you need to find out device ID of your touchpad: $ xinput list This command will give you something like : \u23a1 Virtual core pointer id=2 [master pointer (3)] \u239c \u21b3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts\/372"}],"collection":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=372"}],"version-history":[{"count":4,"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts\/372\/revisions"}],"predecessor-version":[{"id":376,"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts\/372\/revisions\/376"}],"wp:attachment":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}