How can I disable touchpad while typing in ubuntu 14.04?

21,019

Solution 1

First entirely undo the current setting: Remove the tick for Disable touchpad while typing in Mouse & Touchpad settings.

Now search for and open Startup Applications from the Dash. Click Add.

Name: Syndaemon

Command: syndaemon -i 1.0 -K -R -t

Comment: Disable touchpad while typing, with a reasonable delay and only for tapping and scrolling

The -i 1.0 parameter sets the idle time of the keyboard to 1s. -K option ignores the Modifier keys. -R option uses the XRecord extension for detecting keyboard activity instead of polling the keyboard state. -t option disables tapping and scrolling but not mouse movements.

Click Add and then Close.

Reboot your computer.

Note: this is a user preference, so repeat this in every user account.

Solution 2

Open a terminal window and run:

gsettings get org.gnome.settings-daemon.peripherals.touchpad disable-while-typing

It should output:

true

If it doesn't, run:

gsettings set org.gnome.settings-daemon.peripherals.touchpad disable-while-typing true

Alternatively, you can install dconf editor:

sudo apt-get install dconf-editor

Open dconf-editor and browse to "org" > "gnome" > "settings-deamon" > "peripherals" > "touchpad", and tick "disable-while-typing":

enter image description here

Share:
21,019

Related videos on Youtube

user2425
Author by

user2425

Updated on September 18, 2022

Comments

  • user2425
    user2425 almost 2 years

    I want the touchpad to get disabled while typing.

    Opening the system configuration and selecting "Pointing Devices" I can change only very basic settings, namely the primary and secondary button assignment, double click speed and cursor movement speed.

    So, let's google...

    I have found this. Further details about reasons or possible fixes are missing.

    Some work-arounnds that I have found doesn't work for me. My system doesn't seem to load synaptics driver:

    If type synclient I get Couldn't find synaptics properties. No synaptics driver loaded?.

    I have also installed synaptiks, but at run it says that it can't find any touchpad.

    Nevertheless, the basic functions of the touchpad work.

    I don't know if this is relevant: my notebook is an Acer Aspire E 15 ES1-511-C18C and the Ubuntu version is, as I have said in the title, 14.04. If I run the app "Mouse and Touchpad", I can see that the device detected is "PS/2 Elantech Touchpad".

    ajh@ANTONIO-ACER:~$ syndaemon 
    ajh@ANTONIO-ACER:~$ killall syndaemon
    syndaemon: proceso no encontrado
    ajh@ANTONIO-ACER:~$ syndaemon -i 1 -K d
    ajh@ANTONIO-ACER:~$ killall syndaemon
    syndaemon: proceso no encontrado
    ajh@ANTONIO-ACER:~$ syndaemon -i 1 -K -d
    ajh@ANTONIO-ACER:~$ killall syndaemon
    syndaemon: proceso no encontrado
    

    (Note: "Proceso no encontrado" is "process not found" in Spanish).

    • αғsнιη
      αғsнιη over 9 years
      possible duplicate of askubuntu.com/questions/299868/…
    • αғsнιη
      αғsнιη over 9 years
    • user2425
      user2425 over 9 years
      That doesn't work for me, the touchpad is not disabled while typing. $killall syndaemon gives process not found. I think that the problem is that ubuntu recognizes the touchpad as a ps2 mouse.
    • αғsнιη
      αғsнιη over 9 years
      Because you didn't start it to disable your touchpad. first start it then if you want to stop capturing by syndaemon while typing, use killall syndaemon to stop it.
    • αғsнιη
      αғsнιη over 9 years
      I also said and still say run once syndaemon then try to kill it. you want to kill a process while it's not already open. right?
    • user2425
      user2425 over 9 years
      I have edited the question to add some terminal I/O
  • user2425
    user2425 over 9 years
    I have installed this dconf-editor, and the setting "disable while typing" is already enabled. But it doesn't work at all. I can type with the keyboard and click with the touchpad simultaneously.
  • Jacob Vlijm
    Jacob Vlijm over 9 years
    @user2425 I am really sorry to hear that, I was hoping the setting in itself would be the problem. is any of the comments helping you?
  • user2425
    user2425 over 9 years
    Not yet. My problem seems to be that the touchpad is detected as a mouse. I have entered the BIOS Setup and there's no option to change this behaviour.
  • lreeder
    lreeder almost 9 years
    Good solution, but works better for me without the -R option.
  • Vipin Verma
    Vipin Verma over 8 years
    doesn't work for me
  • zorkerz
    zorkerz over 8 years
    The -t seems to permanently disable tap to click and two finger scrolling permanently.
  • zorkerz
    zorkerz over 8 years
    This has not worked for me. After a few minutes my touchpad stops responding entirely. Notably I don't have the option to Disable touchpad while typing on ubuntu 15.10
  • Alexander Mills
    Alexander Mills over 7 years
    I get - "No such schema 'org.gnome.settings-daemon.peripherals.touchpad'"
  • Jacob Vlijm
    Jacob Vlijm over 7 years
    @AlexanderMills The option is removed in 16.04...
  • Alexander Mills
    Alexander Mills over 7 years
    huh, that's weird/annoying is there a way to disable the trackpad while typing in 16.04?
  • Jacob Vlijm
    Jacob Vlijm over 7 years
    @AlexanderMills here are some options. I didn't try them: askubuntu.com/questions/762189/…
  • Spoody
    Spoody over 6 years
    @zorkerz I'm still having the same problem under Ubuntu 16.04 any luck?