How do I disable the touchpad while typing?












21















It's impossible to write this way, text gets deleted, windows change, random tabs open. I've tried every solution I came across but none actually solve it (some don't even work)



I've tried installing touchpad indicator, I've tried adding a syndaemon option from startup application, I tried the same but from the terminal, nothing works.



I Just want to disable the touchpad completely while typing, no scrolling, no moving the cursor, nothing.










share|improve this question




















  • 1





    It is very easy. Run xinput disable <ID>. The ID you can find by xinput command. But I suggest installing libinput, it should solve the issues.

    – Pilot6
    Feb 22 '17 at 11:33






  • 1





    @pilot6 Sorry, I meant to say I Want to disable it only while typing, not all the time.

    – MichaelX
    Feb 22 '17 at 11:53











  • What is the Ubuntu version?

    – Pilot6
    Feb 22 '17 at 11:53











  • @Pilot6 16.04.1

    – MichaelX
    Feb 22 '17 at 11:56













  • Related: askubuntu.com/questions/773595 askubuntu.com/questions/462135

    – dskrvk
    Oct 21 '18 at 18:58


















21















It's impossible to write this way, text gets deleted, windows change, random tabs open. I've tried every solution I came across but none actually solve it (some don't even work)



I've tried installing touchpad indicator, I've tried adding a syndaemon option from startup application, I tried the same but from the terminal, nothing works.



I Just want to disable the touchpad completely while typing, no scrolling, no moving the cursor, nothing.










share|improve this question




















  • 1





    It is very easy. Run xinput disable <ID>. The ID you can find by xinput command. But I suggest installing libinput, it should solve the issues.

    – Pilot6
    Feb 22 '17 at 11:33






  • 1





    @pilot6 Sorry, I meant to say I Want to disable it only while typing, not all the time.

    – MichaelX
    Feb 22 '17 at 11:53











  • What is the Ubuntu version?

    – Pilot6
    Feb 22 '17 at 11:53











  • @Pilot6 16.04.1

    – MichaelX
    Feb 22 '17 at 11:56













  • Related: askubuntu.com/questions/773595 askubuntu.com/questions/462135

    – dskrvk
    Oct 21 '18 at 18:58
















21












21








21


6






It's impossible to write this way, text gets deleted, windows change, random tabs open. I've tried every solution I came across but none actually solve it (some don't even work)



I've tried installing touchpad indicator, I've tried adding a syndaemon option from startup application, I tried the same but from the terminal, nothing works.



I Just want to disable the touchpad completely while typing, no scrolling, no moving the cursor, nothing.










share|improve this question
















It's impossible to write this way, text gets deleted, windows change, random tabs open. I've tried every solution I came across but none actually solve it (some don't even work)



I've tried installing touchpad indicator, I've tried adding a syndaemon option from startup application, I tried the same but from the terminal, nothing works.



I Just want to disable the touchpad completely while typing, no scrolling, no moving the cursor, nothing.







touchpad






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 23 '17 at 8:33









Tom Hale

1,46421027




1,46421027










asked Feb 22 '17 at 11:29









MichaelXMichaelX

201215




201215








  • 1





    It is very easy. Run xinput disable <ID>. The ID you can find by xinput command. But I suggest installing libinput, it should solve the issues.

    – Pilot6
    Feb 22 '17 at 11:33






  • 1





    @pilot6 Sorry, I meant to say I Want to disable it only while typing, not all the time.

    – MichaelX
    Feb 22 '17 at 11:53











  • What is the Ubuntu version?

    – Pilot6
    Feb 22 '17 at 11:53











  • @Pilot6 16.04.1

    – MichaelX
    Feb 22 '17 at 11:56













  • Related: askubuntu.com/questions/773595 askubuntu.com/questions/462135

    – dskrvk
    Oct 21 '18 at 18:58
















  • 1





    It is very easy. Run xinput disable <ID>. The ID you can find by xinput command. But I suggest installing libinput, it should solve the issues.

    – Pilot6
    Feb 22 '17 at 11:33






  • 1





    @pilot6 Sorry, I meant to say I Want to disable it only while typing, not all the time.

    – MichaelX
    Feb 22 '17 at 11:53











  • What is the Ubuntu version?

    – Pilot6
    Feb 22 '17 at 11:53











  • @Pilot6 16.04.1

    – MichaelX
    Feb 22 '17 at 11:56













  • Related: askubuntu.com/questions/773595 askubuntu.com/questions/462135

    – dskrvk
    Oct 21 '18 at 18:58










1




1





It is very easy. Run xinput disable <ID>. The ID you can find by xinput command. But I suggest installing libinput, it should solve the issues.

– Pilot6
Feb 22 '17 at 11:33





It is very easy. Run xinput disable <ID>. The ID you can find by xinput command. But I suggest installing libinput, it should solve the issues.

– Pilot6
Feb 22 '17 at 11:33




1




1





@pilot6 Sorry, I meant to say I Want to disable it only while typing, not all the time.

– MichaelX
Feb 22 '17 at 11:53





@pilot6 Sorry, I meant to say I Want to disable it only while typing, not all the time.

– MichaelX
Feb 22 '17 at 11:53













What is the Ubuntu version?

– Pilot6
Feb 22 '17 at 11:53





What is the Ubuntu version?

– Pilot6
Feb 22 '17 at 11:53













@Pilot6 16.04.1

– MichaelX
Feb 22 '17 at 11:56







@Pilot6 16.04.1

– MichaelX
Feb 22 '17 at 11:56















Related: askubuntu.com/questions/773595 askubuntu.com/questions/462135

– dskrvk
Oct 21 '18 at 18:58







Related: askubuntu.com/questions/773595 askubuntu.com/questions/462135

– dskrvk
Oct 21 '18 at 18:58












5 Answers
5






active

oldest

votes


















22














I suggest installing libinput it has much better "disable while typing" and "palm detection" algorithms.



Run



sudo apt install xserver-xorg-input-libinput


and restart the GUI session, or reboot.



If you need "tap to click", you can add



Option "Tapping" "true"


to the touchpad section of /usr/share/X11/xorg.conf.d/90-libinput.conf.



All options can be found on the manual page.



If you are using Ubuntu 16.04 with the -hwe-16.94 stack, you will need to install xserver-xorg-input-libinput-hwe-16.04 package instead of xserver-xorg-input-libinput.



You can check which HWE stack is installed by checking if xserver-xorg or xserver-xorg-hwe-16.04 package is installed.






share|improve this answer


























  • +1 for best answer after OP changed question.

    – WinEunuuchs2Unix
    Feb 22 '17 at 12:47











  • I suggested the same in a comment even before OP clarified the question.

    – Pilot6
    Feb 22 '17 at 12:50











  • I had read your comment when it was first activity after thread was startled. Sorry I forgot to raise the comment then I'm bad with that. Rectified :)

    – WinEunuuchs2Unix
    Feb 22 '17 at 13:15






  • 2





    The scrolling should be normal, not "natural". It is possible to reverse it, but it seems that you used natural before.

    – Pilot6
    Feb 22 '17 at 13:24






  • 1





    The option is "NaturalScrolling". Try "true" and "false" to get what you want. "False" is the default.

    – Pilot6
    Feb 22 '17 at 13:25





















10














Open System Settings -> Mouse & Touchpad : in the Touchpad section switch from ON to OFF



enter image description here



Additional information for other users reading this post : The answer was written before the content of the question was changed, originally the question was : "An actual solution to disable touchpad? I just want to disable the touchpad completely, no scrolling, no moving the cursor, nothing." - so the answer from @Pilot6 is the much better solution for what the current version of the question is asking about !






share|improve this answer





















  • 1





    Sorry. My mistake. I messed up the title. I want to disable the touchpad while typing, not disable it all the time.

    – MichaelX
    Feb 22 '17 at 11:50



















3














You can also do it with Synaptics.



synclient PalmDetect=1


That will not be permanent, but you can do this by creating or editing the following file and adding Option "PalmDetect" "1"



# /etc/X11/xorg.conf.d/70-synaptics.conf
Section "InputClass"
Identifier "touchpad"
Driver "Synaptics"
Option "PalmDetect" "1"
EndSection


https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Disable_touchpad_while_typing






share|improve this answer































    1














    In my eyes, palmdetect is not exactly "disable while typing", because this feature doesn't really consider what's happening on the keyboard. In my case, I don't permanently touch the pad while typing, so the detection didn't work properly. On the same link that HarlemSquirrel already posted, there's also a second solution which does exaclty what is requested (in the modified OP):




    Using syndaemon syndaemon monitors keyboard activity and disables the
    touchpad while typing. It has several options to control when the
    disabling occurs. View them with $ syndaemon -h For example, to disable tapping and scrolling for 0.5
    seconds after each keypress (ignoring modifier keys like Ctrl), use




    syndaemon -i 0.5 -t -K -R



    Once you have determined the options you
    like, you should use your login manager or xinitrc to have it run
    automatically when X starts. The -d option will make it start in the
    background as a daemon.







    share|improve this answer

































      0














      This is very similar to How do I disable a touchpad using the command line? which recommends the synclient program.



      If you have a Synaptics touchpad, then you can bind hotkeys to turn the pad off and on with




      • synclient TouchpadOff=1

      • synclient TouchpadOff=0






      share|improve this answer


























      • Does this answer the question regarding automatic "disable while typing" feature?

        – Pilot6
        Feb 23 '17 at 16:47











      • It doesn't do so automatically, but I've found it useful and doesn't require the addition of another package. Either way is good. Yours is automatic; mine while manual is also valid for the OP's question.

        – Rache
        Feb 23 '17 at 17:24













      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f886092%2fhow-do-i-disable-the-touchpad-while-typing%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      22














      I suggest installing libinput it has much better "disable while typing" and "palm detection" algorithms.



      Run



      sudo apt install xserver-xorg-input-libinput


      and restart the GUI session, or reboot.



      If you need "tap to click", you can add



      Option "Tapping" "true"


      to the touchpad section of /usr/share/X11/xorg.conf.d/90-libinput.conf.



      All options can be found on the manual page.



      If you are using Ubuntu 16.04 with the -hwe-16.94 stack, you will need to install xserver-xorg-input-libinput-hwe-16.04 package instead of xserver-xorg-input-libinput.



      You can check which HWE stack is installed by checking if xserver-xorg or xserver-xorg-hwe-16.04 package is installed.






      share|improve this answer


























      • +1 for best answer after OP changed question.

        – WinEunuuchs2Unix
        Feb 22 '17 at 12:47











      • I suggested the same in a comment even before OP clarified the question.

        – Pilot6
        Feb 22 '17 at 12:50











      • I had read your comment when it was first activity after thread was startled. Sorry I forgot to raise the comment then I'm bad with that. Rectified :)

        – WinEunuuchs2Unix
        Feb 22 '17 at 13:15






      • 2





        The scrolling should be normal, not "natural". It is possible to reverse it, but it seems that you used natural before.

        – Pilot6
        Feb 22 '17 at 13:24






      • 1





        The option is "NaturalScrolling". Try "true" and "false" to get what you want. "False" is the default.

        – Pilot6
        Feb 22 '17 at 13:25


















      22














      I suggest installing libinput it has much better "disable while typing" and "palm detection" algorithms.



      Run



      sudo apt install xserver-xorg-input-libinput


      and restart the GUI session, or reboot.



      If you need "tap to click", you can add



      Option "Tapping" "true"


      to the touchpad section of /usr/share/X11/xorg.conf.d/90-libinput.conf.



      All options can be found on the manual page.



      If you are using Ubuntu 16.04 with the -hwe-16.94 stack, you will need to install xserver-xorg-input-libinput-hwe-16.04 package instead of xserver-xorg-input-libinput.



      You can check which HWE stack is installed by checking if xserver-xorg or xserver-xorg-hwe-16.04 package is installed.






      share|improve this answer


























      • +1 for best answer after OP changed question.

        – WinEunuuchs2Unix
        Feb 22 '17 at 12:47











      • I suggested the same in a comment even before OP clarified the question.

        – Pilot6
        Feb 22 '17 at 12:50











      • I had read your comment when it was first activity after thread was startled. Sorry I forgot to raise the comment then I'm bad with that. Rectified :)

        – WinEunuuchs2Unix
        Feb 22 '17 at 13:15






      • 2





        The scrolling should be normal, not "natural". It is possible to reverse it, but it seems that you used natural before.

        – Pilot6
        Feb 22 '17 at 13:24






      • 1





        The option is "NaturalScrolling". Try "true" and "false" to get what you want. "False" is the default.

        – Pilot6
        Feb 22 '17 at 13:25
















      22












      22








      22







      I suggest installing libinput it has much better "disable while typing" and "palm detection" algorithms.



      Run



      sudo apt install xserver-xorg-input-libinput


      and restart the GUI session, or reboot.



      If you need "tap to click", you can add



      Option "Tapping" "true"


      to the touchpad section of /usr/share/X11/xorg.conf.d/90-libinput.conf.



      All options can be found on the manual page.



      If you are using Ubuntu 16.04 with the -hwe-16.94 stack, you will need to install xserver-xorg-input-libinput-hwe-16.04 package instead of xserver-xorg-input-libinput.



      You can check which HWE stack is installed by checking if xserver-xorg or xserver-xorg-hwe-16.04 package is installed.






      share|improve this answer















      I suggest installing libinput it has much better "disable while typing" and "palm detection" algorithms.



      Run



      sudo apt install xserver-xorg-input-libinput


      and restart the GUI session, or reboot.



      If you need "tap to click", you can add



      Option "Tapping" "true"


      to the touchpad section of /usr/share/X11/xorg.conf.d/90-libinput.conf.



      All options can be found on the manual page.



      If you are using Ubuntu 16.04 with the -hwe-16.94 stack, you will need to install xserver-xorg-input-libinput-hwe-16.04 package instead of xserver-xorg-input-libinput.



      You can check which HWE stack is installed by checking if xserver-xorg or xserver-xorg-hwe-16.04 package is installed.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Nov 14 '17 at 8:33









      Melebius

      4,57651839




      4,57651839










      answered Feb 22 '17 at 12:00









      Pilot6Pilot6

      51.7k15107197




      51.7k15107197













      • +1 for best answer after OP changed question.

        – WinEunuuchs2Unix
        Feb 22 '17 at 12:47











      • I suggested the same in a comment even before OP clarified the question.

        – Pilot6
        Feb 22 '17 at 12:50











      • I had read your comment when it was first activity after thread was startled. Sorry I forgot to raise the comment then I'm bad with that. Rectified :)

        – WinEunuuchs2Unix
        Feb 22 '17 at 13:15






      • 2





        The scrolling should be normal, not "natural". It is possible to reverse it, but it seems that you used natural before.

        – Pilot6
        Feb 22 '17 at 13:24






      • 1





        The option is "NaturalScrolling". Try "true" and "false" to get what you want. "False" is the default.

        – Pilot6
        Feb 22 '17 at 13:25





















      • +1 for best answer after OP changed question.

        – WinEunuuchs2Unix
        Feb 22 '17 at 12:47











      • I suggested the same in a comment even before OP clarified the question.

        – Pilot6
        Feb 22 '17 at 12:50











      • I had read your comment when it was first activity after thread was startled. Sorry I forgot to raise the comment then I'm bad with that. Rectified :)

        – WinEunuuchs2Unix
        Feb 22 '17 at 13:15






      • 2





        The scrolling should be normal, not "natural". It is possible to reverse it, but it seems that you used natural before.

        – Pilot6
        Feb 22 '17 at 13:24






      • 1





        The option is "NaturalScrolling". Try "true" and "false" to get what you want. "False" is the default.

        – Pilot6
        Feb 22 '17 at 13:25



















      +1 for best answer after OP changed question.

      – WinEunuuchs2Unix
      Feb 22 '17 at 12:47





      +1 for best answer after OP changed question.

      – WinEunuuchs2Unix
      Feb 22 '17 at 12:47













      I suggested the same in a comment even before OP clarified the question.

      – Pilot6
      Feb 22 '17 at 12:50





      I suggested the same in a comment even before OP clarified the question.

      – Pilot6
      Feb 22 '17 at 12:50













      I had read your comment when it was first activity after thread was startled. Sorry I forgot to raise the comment then I'm bad with that. Rectified :)

      – WinEunuuchs2Unix
      Feb 22 '17 at 13:15





      I had read your comment when it was first activity after thread was startled. Sorry I forgot to raise the comment then I'm bad with that. Rectified :)

      – WinEunuuchs2Unix
      Feb 22 '17 at 13:15




      2




      2





      The scrolling should be normal, not "natural". It is possible to reverse it, but it seems that you used natural before.

      – Pilot6
      Feb 22 '17 at 13:24





      The scrolling should be normal, not "natural". It is possible to reverse it, but it seems that you used natural before.

      – Pilot6
      Feb 22 '17 at 13:24




      1




      1





      The option is "NaturalScrolling". Try "true" and "false" to get what you want. "False" is the default.

      – Pilot6
      Feb 22 '17 at 13:25







      The option is "NaturalScrolling". Try "true" and "false" to get what you want. "False" is the default.

      – Pilot6
      Feb 22 '17 at 13:25















      10














      Open System Settings -> Mouse & Touchpad : in the Touchpad section switch from ON to OFF



      enter image description here



      Additional information for other users reading this post : The answer was written before the content of the question was changed, originally the question was : "An actual solution to disable touchpad? I just want to disable the touchpad completely, no scrolling, no moving the cursor, nothing." - so the answer from @Pilot6 is the much better solution for what the current version of the question is asking about !






      share|improve this answer





















      • 1





        Sorry. My mistake. I messed up the title. I want to disable the touchpad while typing, not disable it all the time.

        – MichaelX
        Feb 22 '17 at 11:50
















      10














      Open System Settings -> Mouse & Touchpad : in the Touchpad section switch from ON to OFF



      enter image description here



      Additional information for other users reading this post : The answer was written before the content of the question was changed, originally the question was : "An actual solution to disable touchpad? I just want to disable the touchpad completely, no scrolling, no moving the cursor, nothing." - so the answer from @Pilot6 is the much better solution for what the current version of the question is asking about !






      share|improve this answer





















      • 1





        Sorry. My mistake. I messed up the title. I want to disable the touchpad while typing, not disable it all the time.

        – MichaelX
        Feb 22 '17 at 11:50














      10












      10








      10







      Open System Settings -> Mouse & Touchpad : in the Touchpad section switch from ON to OFF



      enter image description here



      Additional information for other users reading this post : The answer was written before the content of the question was changed, originally the question was : "An actual solution to disable touchpad? I just want to disable the touchpad completely, no scrolling, no moving the cursor, nothing." - so the answer from @Pilot6 is the much better solution for what the current version of the question is asking about !






      share|improve this answer















      Open System Settings -> Mouse & Touchpad : in the Touchpad section switch from ON to OFF



      enter image description here



      Additional information for other users reading this post : The answer was written before the content of the question was changed, originally the question was : "An actual solution to disable touchpad? I just want to disable the touchpad completely, no scrolling, no moving the cursor, nothing." - so the answer from @Pilot6 is the much better solution for what the current version of the question is asking about !







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Mar 15 '17 at 11:24

























      answered Feb 22 '17 at 11:44









      cl-netboxcl-netbox

      25.9k573114




      25.9k573114








      • 1





        Sorry. My mistake. I messed up the title. I want to disable the touchpad while typing, not disable it all the time.

        – MichaelX
        Feb 22 '17 at 11:50














      • 1





        Sorry. My mistake. I messed up the title. I want to disable the touchpad while typing, not disable it all the time.

        – MichaelX
        Feb 22 '17 at 11:50








      1




      1





      Sorry. My mistake. I messed up the title. I want to disable the touchpad while typing, not disable it all the time.

      – MichaelX
      Feb 22 '17 at 11:50





      Sorry. My mistake. I messed up the title. I want to disable the touchpad while typing, not disable it all the time.

      – MichaelX
      Feb 22 '17 at 11:50











      3














      You can also do it with Synaptics.



      synclient PalmDetect=1


      That will not be permanent, but you can do this by creating or editing the following file and adding Option "PalmDetect" "1"



      # /etc/X11/xorg.conf.d/70-synaptics.conf
      Section "InputClass"
      Identifier "touchpad"
      Driver "Synaptics"
      Option "PalmDetect" "1"
      EndSection


      https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Disable_touchpad_while_typing






      share|improve this answer




























        3














        You can also do it with Synaptics.



        synclient PalmDetect=1


        That will not be permanent, but you can do this by creating or editing the following file and adding Option "PalmDetect" "1"



        # /etc/X11/xorg.conf.d/70-synaptics.conf
        Section "InputClass"
        Identifier "touchpad"
        Driver "Synaptics"
        Option "PalmDetect" "1"
        EndSection


        https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Disable_touchpad_while_typing






        share|improve this answer


























          3












          3








          3







          You can also do it with Synaptics.



          synclient PalmDetect=1


          That will not be permanent, but you can do this by creating or editing the following file and adding Option "PalmDetect" "1"



          # /etc/X11/xorg.conf.d/70-synaptics.conf
          Section "InputClass"
          Identifier "touchpad"
          Driver "Synaptics"
          Option "PalmDetect" "1"
          EndSection


          https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Disable_touchpad_while_typing






          share|improve this answer













          You can also do it with Synaptics.



          synclient PalmDetect=1


          That will not be permanent, but you can do this by creating or editing the following file and adding Option "PalmDetect" "1"



          # /etc/X11/xorg.conf.d/70-synaptics.conf
          Section "InputClass"
          Identifier "touchpad"
          Driver "Synaptics"
          Option "PalmDetect" "1"
          EndSection


          https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Disable_touchpad_while_typing







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 16 '17 at 13:53









          HarlemSquirrelHarlemSquirrel

          1,76262536




          1,76262536























              1














              In my eyes, palmdetect is not exactly "disable while typing", because this feature doesn't really consider what's happening on the keyboard. In my case, I don't permanently touch the pad while typing, so the detection didn't work properly. On the same link that HarlemSquirrel already posted, there's also a second solution which does exaclty what is requested (in the modified OP):




              Using syndaemon syndaemon monitors keyboard activity and disables the
              touchpad while typing. It has several options to control when the
              disabling occurs. View them with $ syndaemon -h For example, to disable tapping and scrolling for 0.5
              seconds after each keypress (ignoring modifier keys like Ctrl), use




              syndaemon -i 0.5 -t -K -R



              Once you have determined the options you
              like, you should use your login manager or xinitrc to have it run
              automatically when X starts. The -d option will make it start in the
              background as a daemon.







              share|improve this answer






























                1














                In my eyes, palmdetect is not exactly "disable while typing", because this feature doesn't really consider what's happening on the keyboard. In my case, I don't permanently touch the pad while typing, so the detection didn't work properly. On the same link that HarlemSquirrel already posted, there's also a second solution which does exaclty what is requested (in the modified OP):




                Using syndaemon syndaemon monitors keyboard activity and disables the
                touchpad while typing. It has several options to control when the
                disabling occurs. View them with $ syndaemon -h For example, to disable tapping and scrolling for 0.5
                seconds after each keypress (ignoring modifier keys like Ctrl), use




                syndaemon -i 0.5 -t -K -R



                Once you have determined the options you
                like, you should use your login manager or xinitrc to have it run
                automatically when X starts. The -d option will make it start in the
                background as a daemon.







                share|improve this answer




























                  1












                  1








                  1







                  In my eyes, palmdetect is not exactly "disable while typing", because this feature doesn't really consider what's happening on the keyboard. In my case, I don't permanently touch the pad while typing, so the detection didn't work properly. On the same link that HarlemSquirrel already posted, there's also a second solution which does exaclty what is requested (in the modified OP):




                  Using syndaemon syndaemon monitors keyboard activity and disables the
                  touchpad while typing. It has several options to control when the
                  disabling occurs. View them with $ syndaemon -h For example, to disable tapping and scrolling for 0.5
                  seconds after each keypress (ignoring modifier keys like Ctrl), use




                  syndaemon -i 0.5 -t -K -R



                  Once you have determined the options you
                  like, you should use your login manager or xinitrc to have it run
                  automatically when X starts. The -d option will make it start in the
                  background as a daemon.







                  share|improve this answer















                  In my eyes, palmdetect is not exactly "disable while typing", because this feature doesn't really consider what's happening on the keyboard. In my case, I don't permanently touch the pad while typing, so the detection didn't work properly. On the same link that HarlemSquirrel already posted, there's also a second solution which does exaclty what is requested (in the modified OP):




                  Using syndaemon syndaemon monitors keyboard activity and disables the
                  touchpad while typing. It has several options to control when the
                  disabling occurs. View them with $ syndaemon -h For example, to disable tapping and scrolling for 0.5
                  seconds after each keypress (ignoring modifier keys like Ctrl), use




                  syndaemon -i 0.5 -t -K -R



                  Once you have determined the options you
                  like, you should use your login manager or xinitrc to have it run
                  automatically when X starts. The -d option will make it start in the
                  background as a daemon.








                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 16 at 11:56

























                  answered Nov 4 '18 at 22:24









                  Daniel AlderDaniel Alder

                  1,2131221




                  1,2131221























                      0














                      This is very similar to How do I disable a touchpad using the command line? which recommends the synclient program.



                      If you have a Synaptics touchpad, then you can bind hotkeys to turn the pad off and on with




                      • synclient TouchpadOff=1

                      • synclient TouchpadOff=0






                      share|improve this answer


























                      • Does this answer the question regarding automatic "disable while typing" feature?

                        – Pilot6
                        Feb 23 '17 at 16:47











                      • It doesn't do so automatically, but I've found it useful and doesn't require the addition of another package. Either way is good. Yours is automatic; mine while manual is also valid for the OP's question.

                        – Rache
                        Feb 23 '17 at 17:24


















                      0














                      This is very similar to How do I disable a touchpad using the command line? which recommends the synclient program.



                      If you have a Synaptics touchpad, then you can bind hotkeys to turn the pad off and on with




                      • synclient TouchpadOff=1

                      • synclient TouchpadOff=0






                      share|improve this answer


























                      • Does this answer the question regarding automatic "disable while typing" feature?

                        – Pilot6
                        Feb 23 '17 at 16:47











                      • It doesn't do so automatically, but I've found it useful and doesn't require the addition of another package. Either way is good. Yours is automatic; mine while manual is also valid for the OP's question.

                        – Rache
                        Feb 23 '17 at 17:24
















                      0












                      0








                      0







                      This is very similar to How do I disable a touchpad using the command line? which recommends the synclient program.



                      If you have a Synaptics touchpad, then you can bind hotkeys to turn the pad off and on with




                      • synclient TouchpadOff=1

                      • synclient TouchpadOff=0






                      share|improve this answer















                      This is very similar to How do I disable a touchpad using the command line? which recommends the synclient program.



                      If you have a Synaptics touchpad, then you can bind hotkeys to turn the pad off and on with




                      • synclient TouchpadOff=1

                      • synclient TouchpadOff=0







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Apr 13 '17 at 12:24









                      Community

                      1




                      1










                      answered Feb 23 '17 at 16:44









                      RacheRache

                      1093




                      1093













                      • Does this answer the question regarding automatic "disable while typing" feature?

                        – Pilot6
                        Feb 23 '17 at 16:47











                      • It doesn't do so automatically, but I've found it useful and doesn't require the addition of another package. Either way is good. Yours is automatic; mine while manual is also valid for the OP's question.

                        – Rache
                        Feb 23 '17 at 17:24





















                      • Does this answer the question regarding automatic "disable while typing" feature?

                        – Pilot6
                        Feb 23 '17 at 16:47











                      • It doesn't do so automatically, but I've found it useful and doesn't require the addition of another package. Either way is good. Yours is automatic; mine while manual is also valid for the OP's question.

                        – Rache
                        Feb 23 '17 at 17:24



















                      Does this answer the question regarding automatic "disable while typing" feature?

                      – Pilot6
                      Feb 23 '17 at 16:47





                      Does this answer the question regarding automatic "disable while typing" feature?

                      – Pilot6
                      Feb 23 '17 at 16:47













                      It doesn't do so automatically, but I've found it useful and doesn't require the addition of another package. Either way is good. Yours is automatic; mine while manual is also valid for the OP's question.

                      – Rache
                      Feb 23 '17 at 17:24







                      It doesn't do so automatically, but I've found it useful and doesn't require the addition of another package. Either way is good. Yours is automatic; mine while manual is also valid for the OP's question.

                      – Rache
                      Feb 23 '17 at 17:24




















                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f886092%2fhow-do-i-disable-the-touchpad-while-typing%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Category:香港粉麵

                      List *all* the tuples!

                      Channel [V]