How to disable the “tap dragging”-feature in Ubuntu 18.04 (libinput) without disabling “tap to...
up vote
4
down vote
favorite
I can't seem to figure out how to disable the "tap dragging"-feature in Ubuntu 18.04's libinput. By disabling "tap dragging" I mean that I want to disable the dragging-functionality when using tap without actually disabling "Tap-to-click". This way when I want to drag something, I'd have to actually click on the touchpad. While it could be a handy feature for some, I don't really need it and it keeps triggering by accident. If it's any help, I am on Macbook Pro, some late-2013 or early-2014 version.
I've tried to search around for an answer, and checked libinput's manual to figure out the correct configuration. What I found was this:
Option "TappingDrag" "bool"
Enables or disables drag during tapping behavior ("tap-and-drag"). When enabled,
a tap followed by a finger held down causes a single button down only, all
motions of that finger thus translate into dragging motion. Tap-and-drag
requires option Tapping to be enabled.
I tried to set this option in /usr/share/X11/xorg.conf.d/40-libinput.conf
:
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TappingDrag" "false"
EndSection
Reboot and tap dragging is still there. I also tried to add the same TappingDrag
-option to the Touchscreen- and Tablet-sections in the config file with no luck. What am I doing wrong?
I hope someone knows the answer, this is really bugging me. Thanks in advance!
gnome xorg touchpad 18.04 libinput
add a comment |
up vote
4
down vote
favorite
I can't seem to figure out how to disable the "tap dragging"-feature in Ubuntu 18.04's libinput. By disabling "tap dragging" I mean that I want to disable the dragging-functionality when using tap without actually disabling "Tap-to-click". This way when I want to drag something, I'd have to actually click on the touchpad. While it could be a handy feature for some, I don't really need it and it keeps triggering by accident. If it's any help, I am on Macbook Pro, some late-2013 or early-2014 version.
I've tried to search around for an answer, and checked libinput's manual to figure out the correct configuration. What I found was this:
Option "TappingDrag" "bool"
Enables or disables drag during tapping behavior ("tap-and-drag"). When enabled,
a tap followed by a finger held down causes a single button down only, all
motions of that finger thus translate into dragging motion. Tap-and-drag
requires option Tapping to be enabled.
I tried to set this option in /usr/share/X11/xorg.conf.d/40-libinput.conf
:
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TappingDrag" "false"
EndSection
Reboot and tap dragging is still there. I also tried to add the same TappingDrag
-option to the Touchscreen- and Tablet-sections in the config file with no luck. What am I doing wrong?
I hope someone knows the answer, this is really bugging me. Thanks in advance!
gnome xorg touchpad 18.04 libinput
Am I the only one with this problem? :(
– kobra
May 10 at 6:24
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I can't seem to figure out how to disable the "tap dragging"-feature in Ubuntu 18.04's libinput. By disabling "tap dragging" I mean that I want to disable the dragging-functionality when using tap without actually disabling "Tap-to-click". This way when I want to drag something, I'd have to actually click on the touchpad. While it could be a handy feature for some, I don't really need it and it keeps triggering by accident. If it's any help, I am on Macbook Pro, some late-2013 or early-2014 version.
I've tried to search around for an answer, and checked libinput's manual to figure out the correct configuration. What I found was this:
Option "TappingDrag" "bool"
Enables or disables drag during tapping behavior ("tap-and-drag"). When enabled,
a tap followed by a finger held down causes a single button down only, all
motions of that finger thus translate into dragging motion. Tap-and-drag
requires option Tapping to be enabled.
I tried to set this option in /usr/share/X11/xorg.conf.d/40-libinput.conf
:
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TappingDrag" "false"
EndSection
Reboot and tap dragging is still there. I also tried to add the same TappingDrag
-option to the Touchscreen- and Tablet-sections in the config file with no luck. What am I doing wrong?
I hope someone knows the answer, this is really bugging me. Thanks in advance!
gnome xorg touchpad 18.04 libinput
I can't seem to figure out how to disable the "tap dragging"-feature in Ubuntu 18.04's libinput. By disabling "tap dragging" I mean that I want to disable the dragging-functionality when using tap without actually disabling "Tap-to-click". This way when I want to drag something, I'd have to actually click on the touchpad. While it could be a handy feature for some, I don't really need it and it keeps triggering by accident. If it's any help, I am on Macbook Pro, some late-2013 or early-2014 version.
I've tried to search around for an answer, and checked libinput's manual to figure out the correct configuration. What I found was this:
Option "TappingDrag" "bool"
Enables or disables drag during tapping behavior ("tap-and-drag"). When enabled,
a tap followed by a finger held down causes a single button down only, all
motions of that finger thus translate into dragging motion. Tap-and-drag
requires option Tapping to be enabled.
I tried to set this option in /usr/share/X11/xorg.conf.d/40-libinput.conf
:
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TappingDrag" "false"
EndSection
Reboot and tap dragging is still there. I also tried to add the same TappingDrag
-option to the Touchscreen- and Tablet-sections in the config file with no luck. What am I doing wrong?
I hope someone knows the answer, this is really bugging me. Thanks in advance!
gnome xorg touchpad 18.04 libinput
gnome xorg touchpad 18.04 libinput
edited May 12 at 20:12
asked May 5 at 16:12
kobra
306
306
Am I the only one with this problem? :(
– kobra
May 10 at 6:24
add a comment |
Am I the only one with this problem? :(
– kobra
May 10 at 6:24
Am I the only one with this problem? :(
– kobra
May 10 at 6:24
Am I the only one with this problem? :(
– kobra
May 10 at 6:24
add a comment |
2 Answers
2
active
oldest
votes
up vote
4
down vote
accepted
Since 18.04 is using Xorg instead of Wayland, you should be able to set it this way:
First find the device:
% 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)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=14 [slave keyboard (3)]
I'm on a thinkpad. Your devices are likely different.
List the properties of the touchpad:
% xinput list-props 12
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
libinput Tapping Enabled (276): 1
libinput Tapping Enabled Default (277): 0
libinput Tapping Drag Enabled (278): 1
...
Then disable it:
% xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Drag Enabled' 0
The way I set this permanently is by putting into a script that runs on login.
I hope that helps. I don't know how to fix it at the system-level, nor on Wayland.
2
Woah. Magic. This fixed the problem. Thank you very much!
– kobra
May 14 at 7:32
My system is a desktop with one USB mouse and no touchpad, but it's still trying to tap-and-drag things. Does anyone know how I can disable it without any Snaptics/Touchpad devices in xinput?
– DMack
Jun 25 at 22:48
@DMack I didn't have anything saying "Synaptics" either, the name of my touchpad was just a serial number, so I suppose it does not matter.
– kobra
Aug 28 at 7:22
add a comment |
up vote
0
down vote
GNOME has a setting for this, it is just not accessible in GNOME Control Center.
You can either use terminal or dconf-editor to access this setting.
Terminal:
Turn off tap-and-drag
gsettings set org.gnome.desktop.peripherals.touchpad.tap-and-drag false
Check it was successful
gsettings get org.gnome.desktop.peripherals.touchpad.tap-and-drag
dconf-editor:
- Install dconf-editor
- Inside dconf editor navigate to org/gnome/desktop/peripherals/touchpad
- Find tap-and-drag and turn off the setting
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Since 18.04 is using Xorg instead of Wayland, you should be able to set it this way:
First find the device:
% 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)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=14 [slave keyboard (3)]
I'm on a thinkpad. Your devices are likely different.
List the properties of the touchpad:
% xinput list-props 12
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
libinput Tapping Enabled (276): 1
libinput Tapping Enabled Default (277): 0
libinput Tapping Drag Enabled (278): 1
...
Then disable it:
% xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Drag Enabled' 0
The way I set this permanently is by putting into a script that runs on login.
I hope that helps. I don't know how to fix it at the system-level, nor on Wayland.
2
Woah. Magic. This fixed the problem. Thank you very much!
– kobra
May 14 at 7:32
My system is a desktop with one USB mouse and no touchpad, but it's still trying to tap-and-drag things. Does anyone know how I can disable it without any Snaptics/Touchpad devices in xinput?
– DMack
Jun 25 at 22:48
@DMack I didn't have anything saying "Synaptics" either, the name of my touchpad was just a serial number, so I suppose it does not matter.
– kobra
Aug 28 at 7:22
add a comment |
up vote
4
down vote
accepted
Since 18.04 is using Xorg instead of Wayland, you should be able to set it this way:
First find the device:
% 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)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=14 [slave keyboard (3)]
I'm on a thinkpad. Your devices are likely different.
List the properties of the touchpad:
% xinput list-props 12
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
libinput Tapping Enabled (276): 1
libinput Tapping Enabled Default (277): 0
libinput Tapping Drag Enabled (278): 1
...
Then disable it:
% xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Drag Enabled' 0
The way I set this permanently is by putting into a script that runs on login.
I hope that helps. I don't know how to fix it at the system-level, nor on Wayland.
2
Woah. Magic. This fixed the problem. Thank you very much!
– kobra
May 14 at 7:32
My system is a desktop with one USB mouse and no touchpad, but it's still trying to tap-and-drag things. Does anyone know how I can disable it without any Snaptics/Touchpad devices in xinput?
– DMack
Jun 25 at 22:48
@DMack I didn't have anything saying "Synaptics" either, the name of my touchpad was just a serial number, so I suppose it does not matter.
– kobra
Aug 28 at 7:22
add a comment |
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Since 18.04 is using Xorg instead of Wayland, you should be able to set it this way:
First find the device:
% 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)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=14 [slave keyboard (3)]
I'm on a thinkpad. Your devices are likely different.
List the properties of the touchpad:
% xinput list-props 12
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
libinput Tapping Enabled (276): 1
libinput Tapping Enabled Default (277): 0
libinput Tapping Drag Enabled (278): 1
...
Then disable it:
% xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Drag Enabled' 0
The way I set this permanently is by putting into a script that runs on login.
I hope that helps. I don't know how to fix it at the system-level, nor on Wayland.
Since 18.04 is using Xorg instead of Wayland, you should be able to set it this way:
First find the device:
% 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)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=14 [slave keyboard (3)]
I'm on a thinkpad. Your devices are likely different.
List the properties of the touchpad:
% xinput list-props 12
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
libinput Tapping Enabled (276): 1
libinput Tapping Enabled Default (277): 0
libinput Tapping Drag Enabled (278): 1
...
Then disable it:
% xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Drag Enabled' 0
The way I set this permanently is by putting into a script that runs on login.
I hope that helps. I don't know how to fix it at the system-level, nor on Wayland.
answered May 12 at 22:49
Zach Moazeni
1562
1562
2
Woah. Magic. This fixed the problem. Thank you very much!
– kobra
May 14 at 7:32
My system is a desktop with one USB mouse and no touchpad, but it's still trying to tap-and-drag things. Does anyone know how I can disable it without any Snaptics/Touchpad devices in xinput?
– DMack
Jun 25 at 22:48
@DMack I didn't have anything saying "Synaptics" either, the name of my touchpad was just a serial number, so I suppose it does not matter.
– kobra
Aug 28 at 7:22
add a comment |
2
Woah. Magic. This fixed the problem. Thank you very much!
– kobra
May 14 at 7:32
My system is a desktop with one USB mouse and no touchpad, but it's still trying to tap-and-drag things. Does anyone know how I can disable it without any Snaptics/Touchpad devices in xinput?
– DMack
Jun 25 at 22:48
@DMack I didn't have anything saying "Synaptics" either, the name of my touchpad was just a serial number, so I suppose it does not matter.
– kobra
Aug 28 at 7:22
2
2
Woah. Magic. This fixed the problem. Thank you very much!
– kobra
May 14 at 7:32
Woah. Magic. This fixed the problem. Thank you very much!
– kobra
May 14 at 7:32
My system is a desktop with one USB mouse and no touchpad, but it's still trying to tap-and-drag things. Does anyone know how I can disable it without any Snaptics/Touchpad devices in xinput?
– DMack
Jun 25 at 22:48
My system is a desktop with one USB mouse and no touchpad, but it's still trying to tap-and-drag things. Does anyone know how I can disable it without any Snaptics/Touchpad devices in xinput?
– DMack
Jun 25 at 22:48
@DMack I didn't have anything saying "Synaptics" either, the name of my touchpad was just a serial number, so I suppose it does not matter.
– kobra
Aug 28 at 7:22
@DMack I didn't have anything saying "Synaptics" either, the name of my touchpad was just a serial number, so I suppose it does not matter.
– kobra
Aug 28 at 7:22
add a comment |
up vote
0
down vote
GNOME has a setting for this, it is just not accessible in GNOME Control Center.
You can either use terminal or dconf-editor to access this setting.
Terminal:
Turn off tap-and-drag
gsettings set org.gnome.desktop.peripherals.touchpad.tap-and-drag false
Check it was successful
gsettings get org.gnome.desktop.peripherals.touchpad.tap-and-drag
dconf-editor:
- Install dconf-editor
- Inside dconf editor navigate to org/gnome/desktop/peripherals/touchpad
- Find tap-and-drag and turn off the setting
add a comment |
up vote
0
down vote
GNOME has a setting for this, it is just not accessible in GNOME Control Center.
You can either use terminal or dconf-editor to access this setting.
Terminal:
Turn off tap-and-drag
gsettings set org.gnome.desktop.peripherals.touchpad.tap-and-drag false
Check it was successful
gsettings get org.gnome.desktop.peripherals.touchpad.tap-and-drag
dconf-editor:
- Install dconf-editor
- Inside dconf editor navigate to org/gnome/desktop/peripherals/touchpad
- Find tap-and-drag and turn off the setting
add a comment |
up vote
0
down vote
up vote
0
down vote
GNOME has a setting for this, it is just not accessible in GNOME Control Center.
You can either use terminal or dconf-editor to access this setting.
Terminal:
Turn off tap-and-drag
gsettings set org.gnome.desktop.peripherals.touchpad.tap-and-drag false
Check it was successful
gsettings get org.gnome.desktop.peripherals.touchpad.tap-and-drag
dconf-editor:
- Install dconf-editor
- Inside dconf editor navigate to org/gnome/desktop/peripherals/touchpad
- Find tap-and-drag and turn off the setting
GNOME has a setting for this, it is just not accessible in GNOME Control Center.
You can either use terminal or dconf-editor to access this setting.
Terminal:
Turn off tap-and-drag
gsettings set org.gnome.desktop.peripherals.touchpad.tap-and-drag false
Check it was successful
gsettings get org.gnome.desktop.peripherals.touchpad.tap-and-drag
dconf-editor:
- Install dconf-editor
- Inside dconf editor navigate to org/gnome/desktop/peripherals/touchpad
- Find tap-and-drag and turn off the setting
answered Nov 23 at 16:24
rockon999
1186
1186
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032459%2fhow-to-disable-the-tap-dragging-feature-in-ubuntu-18-04-libinput-without-dis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Am I the only one with this problem? :(
– kobra
May 10 at 6:24