I recently updated to 17.10 from 17.04 and now I have no way to disable the touchpad on my laptop. When I do Fn + F9 (in my case), I see the touchpad logo in the screen as it where disabled, but is not.



I had the same problem on my Asus X555UB, but I use the command synclient TouchpadOff=1 in @Legolas script. This works for me. source

  • 2
    I tried this code and it works for the touchpad only, but doesn't disable the buttons. Anyway it's much better and less annoying. Thank you!
    – dr46ul
    Oct 31 '17 at 11:13
  • works on my Thinkpad T520
    – Michael
    Oct 31 '17 at 19:27

I am not sure why they key is not working for your laptop. But I can suggest a general alternative.

Put the following code in a file, such as touchpad_toggle.sh:

STATUS=`gsettings get org.gnome.desktop.peripherals.touchpad send-events`
if [ "$STATUS" = "'enabled'" ]
    gsettings set org.gnome.desktop.peripherals.touchpad send-events 'disabled'
    gsettings set org.gnome.desktop.peripherals.touchpad send-events 'enabled'

Grant the file executable permission:

chmod +x touchpad_toggle.sh

Add a keyboard shortcut to the file from SettingsDevicesKeyboard.

  • has no effect on my thinkpad T520
    – Michael
    Oct 31 '17 at 19:27
  • #how to disable touchpad on 18.04 , works on ubuntu 18.04
    – Saulius M
    Mar 2 '18 at 18:47
  • works in Ubuntu 18.04
    – orestis
    May 13 '18 at 20:05

Based on answers from Fernando and Legolas, here's a script that works for me:

synclient -l | grep TouchpadOff | grep 1
if [ $? == 0 ]; then
  synclient TouchpadOff=0
  synclient TouchpadOff=1
  • I'm using a macbook pro and this seems to disable the mouse pointer moving, but doesn't block clicking or highlighting with the touchpad. I guess there are another couple of settings needed for that.
    – JonnyBoy
    Nov 6 '17 at 17:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.