In my laptop Libinput is used as my touch-pad driver. this solution is for Libinput. you may have Synaptic as your driver. to check this open terminal and run
xinput --list
in mine this will give the following result yours may differ.
nesi@Alpha:~$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL0651:00 06CB:2985 id=11 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated_Webcam_HD id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ Dell WMI hotkeys id=13 [slave keyboard (3)]
Mine is a dell laptop for some reason name of my touch-pad driver is not detected properly. “DLL0651:00 06CB:2985 id=11” this is my touch-pad. if yours is synaptic you’ll see that written here instead.
note the id of the device. mine is 11. then in terminal run the following command to check what options are turned on. [by default a zero = false, and one = true ]
xinput list-props 11
this will list all options of your touchpad
xinput list-props 11
Device 'DLL0651:00 06CB:2985':
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 (275): 1
libinput Tapping Enabled Default (276): 0
libinput Tapping Drag Enabled (277): 1
libinput Tapping Drag Enabled Default (278): 1
libinput Tapping Drag Lock Enabled (279): 0
libinput Tapping Drag Lock Enabled Default (280): 0
libinput Tapping Button Mapping Enabled (281): 1, 0
libinput Tapping Button Mapping Default (282): 1, 0
libinput Accel Speed (283): -0.508333
libinput Accel Speed Default (284): 0.000000
libinput Natural Scrolling Enabled (285): 0
libinput Natural Scrolling Enabled Default (286): 0
libinput Send Events Modes Available (260): 1, 1
libinput Send Events Mode Enabled (261): 0, 0
libinput Send Events Mode Enabled Default (262): 0, 0
libinput Left Handed Enabled (287): 0
libinput Left Handed Enabled Default (288): 0
libinput Scroll Methods Available (289): 1, 1, 0
libinput Scroll Method Enabled (290): 1, 0, 0
libinput Scroll Method Enabled Default (291): 1, 0, 0
libinput Click Methods Available (292): 1, 1
libinput Click Method Enabled (293): 1, 0
libinput Click Method Enabled Default (294): 1, 0
libinput Middle Emulation Enabled (295): 0
libinput Middle Emulation Enabled Default (296): 0
libinput Disable While Typing Enabled (297): 1
libinput Disable While Typing Enabled Default (298): 1
Device Node (263): "/dev/input/event12"
Device Product ID (264): 1739, 10629
libinput Drag Lock Buttons (299):
libinput Horizontal Scroll Enabled (300): 1
check the last option it reads “libinput Horizontal Scroll Enabled (300): 1 “ which means Horizontal scroll is enabled,(value 1 means true). and ID number of the option is 300 given in bracket. In yours ID may be different.
Disable while typing is the option available for Palm Detection. by default it was enabled on my device. if your is showing value 0. note the ID of this option as well.
to change the value of Horizontal scrolling from 1 to 0, type in the following command
xinput set-prop 11 300 0
where,
set-prop: set property
11 : ID of the device whose property is being changed
300 : ID of the option available.
0 : zero to make the value “false”
[in case you want to turn it back on: xinput set-prop 11 300 1 ]
Doing the above will turn off the horizontal scroll for the current section.
if you want to make this change permanent, add that command to startup
goto:
settings >> applications >> startup >> click the + button to add new >> custom command >> type in the command : xinput set-prop 11 300 0
IDs will be different in your system. thats all.
Do the same for any options you need.
[ Update: In case you connect another pointing device later, make sure you connect them after the system has finished loading OS. because otherwise there is a small chance that the ID of your touchpad may change. Today I connected my usb mouse before loading os. and ID of my touchpad changed from 11 to 12, thus my startup command didn’t run. ]