TechBuzzPro

How to Permanently Disable the Synaptics Touchpad on Linux

· 5 min read · Windows & PC

In this article
  1. What You’ll Need
  2. Step‑by‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can permanently disable the Synaptics touchpad by editing Xorg configuration files or blacklisting the driver, which stops the system from loading the driver at boot.

What You’ll Need

  • A Linux distribution that uses the Xorg display server (most Ubuntu, Debian, Fedora, and Arch installations do).
  • Administrative (sudo) privileges.
  • A terminal emulator.
  • A text editor you are comfortable with (nano, vim, or gedit).
  • Basic knowledge of file paths such as /etc/X11/xorg.conf.d/ and /etc/modprobe.d/.

Step‑by‑Step

  1. Open a terminal and gain root access. Run sudo -i and enter your password. Staying in a root shell prevents you from having to prepend sudo to every command.
  2. Identify the exact driver name. Execute xinput list. Look for a line that contains “Synaptics” – it will usually be listed as SynPS/2 Synaptics TouchPad or similar. Note the name because the module to blacklist is synaptics.
  3. Create a custom Xorg configuration file. Run mkdir -p /etc/X11/xorg.conf.d if the directory does not already exist. Then open a new file with nano /etc/X11/xorg.conf.d/70-synaptics.conf.
  4. Insert the following stanza into the file.
    Section "InputClass"
            Identifier "disable-synaptics-touchpad"
            MatchIsTouchpad "on"
            Driver "synaptics"
            Option "Ignore" "true"
        EndSection
    This tells Xorg to ignore any device that matches the Synaptics driver.
  5. Save and close the file. In nano, press Ctrl+O then Enter to write the file, followed by Ctrl+X to exit.
  6. Blacklist the kernel module (optional but more robust). Open /etc/modprobe.d/blacklist.conf with nano /etc/modprobe.d/blacklist.conf and add the line:
    blacklist synaptics
    This prevents the kernel from loading the Synaptics driver at boot time.
  7. Update initramfs (required on some distributions). Run update-initramfs -u on Debian‑based systems or mkinitcpio -P on Arch‑based systems. This step ensures the blacklist is applied early in the boot process.
  8. Reboot the system. Use reboot or simply log out and back in if you are using a display manager that restarts X.
  9. Verify that the touchpad is disabled. After the system comes back, run xinput list-props "SynPS/2 Synaptics TouchPad". If the device still appears, try xinput disable "SynPS/2 Synaptics TouchPad" as a temporary test.
  10. Make a backup of the configuration. Copy the file to a safe location: cp /etc/X11/xorg.conf.d/70-synaptics.conf ~/synaptics-backup.conf. This makes it easy to revert if you later need the touchpad.

Common Mistakes

  • Editing /etc/X11/xorg.conf instead of the xorg.conf.d directory. Modern distributions prefer the latter; the former may be ignored.
  • Forgetting to add the Option "Ignore" "true" line, which results in the file being read but the touchpad remaining active.
  • Using the wrong driver name (e.g., "libinput" instead of "synaptics"). If your system uses libinput, the above stanza will have no effect.
  • Neglecting to run update-initramfs or mkinitcpio. The blacklist will not take effect until the initramfs is regenerated.
  • Not applying sudo when editing files, leading to permission‑denied errors and an incomplete configuration.

Tips

  • Before making any changes, run sudo cp /etc/X11/xorg.conf.d/70-synaptics.conf /etc/X11/xorg.conf.d/70-synaptics.conf.bak to keep a copy of the original file.
  • If you are using a distribution that defaults to the libinput driver, you can disable the touchpad with a similar file that sets Driver "libinput" and Option "DisableWhileTyping" "true", or simply add Option "TouchpadOff" "1".
  • Use grep -i synaptics /var/log/Xorg.0.log after reboot to confirm that the driver was ignored.
  • When testing, you can temporarily disable the device without a reboot by running xinput --disable "SynPS/2 Synaptics TouchPad". This is useful for confirming that the correct device is being targeted.
  • If you have multiple touchpad devices (e.g., an external USB touchpad), make sure you only disable the built‑in Synaptics one. Identify each device with xinput list before applying changes.

Troubleshooting

If the touchpad still works after a reboot:

  1. Run xinput list again. Verify that the device name matches the one you disabled. If it shows a different driver (e.g., libinput), you need to create a libinput‑specific stanza instead of the synaptics one.
  2. Check the Xorg log for errors: grep -i "synaptics" /var/log/Xorg.0.log. Look for lines that say “(EE)” which indicate the configuration was ignored.
  3. Confirm the blacklist file is being read: grep -i synaptics /etc/modprobe.d/blacklist.conf. If the line is missing or commented out, add it again and regenerate initramfs.
  4. Some laptops expose the touchpad as an “i2c‑hid” device rather than a PS/2 device. In that case, the module to blacklist may be i2c_hid instead of synaptics. Add blacklist i2c_hid and update initramfs.
  5. If you are using Wayland instead of Xorg (common on newer GNOME installations), the Xorg configuration will have no effect. Switch to an Xorg session at the login screen or use the GNOME Settings → Mouse & Touchpad → Touchpad toggle.

If the system fails to start the graphical environment after the changes:

  1. Switch to a virtual console with Ctrl+Alt+F3 and log in.
  2. Rename the custom config file: mv /etc/X11/xorg.conf.d/70-synaptics.conf /etc/X11/xorg.conf.d/70-synaptics.conf.disabled.
  3. Reboot with reboot. The graphical session should start normally, and you can re‑try the steps more carefully.

Frequently Asked Questions

Will disabling the Synaptics driver affect the external mouse?

No. The driver only controls the built‑in touchpad hardware. External USB or Bluetooth mice use separate drivers and remain functional.

Can I re‑enable the touchpad without reinstalling the driver?

Yes. Remove or comment out the stanza in 70-synaptics.conf and delete the blacklist line, then regenerate initramfs and reboot.

Is there a GUI way to disable the Synaptics touchpad?

Most desktop environments provide a toggle in Settings → Mouse & Touchpad, but that only disables the device for the current session. The method described here disables it at the system level.

What if my distro uses libinput instead of synaptics?

Create a file like /etc/X11/xorg.conf.d/90-libinput.conf with Driver "libinput" and Option "TouchpadOff" "1". The rest of the steps (blacklist, reboot) remain the same.

Will blacklisting the module affect other hardware?

Only the Synaptics touchpad module is affected. Other input devices use different modules, so they continue to work normally.

Do I need to repeat these steps after a kernel update?

No. The configuration files live in /etc and persist across kernel upgrades. Only if the update replaces the driver package with a different name would you need to adjust the blacklist.