Sometimes, touch-pad is not disable when you typing on your laptop, and you might be got crazy with your laptop, and want to fuck it up. Calm down! You can overcome this irritation by following the instruction below:
Use xinput command to list your device and check PS/2 device information
xinput list Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Logitech USB Receiver id=9 [slave pointer (2)] ⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)] ⎜ ↳ PS/2 Generic Mouse id=13 [slave pointer (2)]
Then, id=13 is my touch pad id on my laptop, so I will use the command below to disable or enable it
xinput set-prop 13 "Device Enabled" 0 # disable xinput set-prop 13 "Device Enabled" 1 # enable
13 is id of touch pad device in my T420 laptop, maybe yours different . You can you xinput list to get the id of touch pd device on your laptop.
If you want make it more convenience, you can make a script to make it easier
for eg: ~/touchpad.sh
#/bin/bash xinput set-prop 13 "Device Enabled" $1
then create an alias
alias touchpad='sh ~/touchpad.sh'
touchpad 0 # 1 to enable it again
Help this could help you ! ;) And you will love your laptop with fedora (or linux in general) OS again ;)