Disable touchpad while typing not working for me

Well, you open the file /etc/default/grub with your favorite editor, and in the line where you might have:

GRUB_CMDLINE_LINUX_DEFAULT="quiet udev.log_priority=3"

you make it to be

GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_osi=! udev.log_priority=3"

Save the file then you run from terminal:
sudo update-grub

See more about Kernel parameters - ArchWiki