Fedora_vertical

Disable Laptop Touchpad – Fedora Linux

Share This:

Fedora_verticalI recently had a problem with my laptop, where the touchpad kept causing problems every time I would use it. So I needed a way to disable it so if I did end up touching it by accident nothing would happen. This was actually quite simple to do.




I knew the files I was looking for was XORG files. So from the terminal I went to the XORG configuration directory.


cd /usr/share/X11/xorg.conf.d

After I was in the directory I figured I should check what files are already in the directory.


ls -l

Bingo I saw a file I was pretty sure would be the file I needed to edit. It was 50-synaptics.conf and since I knew my touchpad used synaptics I was sure this would be the file. So I opened the file up as root in my text editor.


su - -c 'geany /usr/share/X11/xorg.conf.d/50-synaptics.conf'

When I opened the file I noticed the following text.


Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
EndSection
# This option enables the bottom right corner to be a right button on
# non-synaptics clickpads.
# This option is only interpreted by clickpads.

My first thought was to change the line MatchIsTouchpad “on” to MatchIsTouchpad “off” so I did just that. I then restarted my laptop.




Oh shit. I couldn’t move my cursor. And I didn’t mean that in a good way. I couldn’t move my cursor at all not even on my external mouse. This meant I would need to modify the file from the terminal. Normally to access the terminal I would just press CTRL + ALT + F2 but not this time. Apparently even my keyboard stopped working.

Let me pop in my Fedora Live USB stick I made earlier and boot off of that. Well that worked fine. Threw the Fedora Live USB stick I found the file again and changed MatchIsTouchpad “off” back to MatchIsTouchpad “on”.




Then I thought and did a little research for a bit. Then I thought some more and then some more. Then I decided to add Option “TouchpadOff” “1” to the config file. So I did and the file looked like the following.


Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "TouchpadOff" "1"
EndSection

Once again holding my breath with beads of sweat dripping down my face I decide to restart my laptop.

After I restarted my laptop I touched the touchpad. Nothing happened. Then I moved my external mouse. And the cursor moved. I jumped in the air so high I ended up breaking threw the ceiling and out of the building. Boy will I have a huge bill that I need to pay for these damages now.




I then tested the keyboard that worked fine as well. So I decided to call NASA and tell them the great news. I guess they weren’t that thrilled since they hung up so abruptly. But hey this was revolutionary.