How do I disable the touchpad while typing (Ubuntu 18.04)?












6















I asked this a year ago, with the new (awful) upgrade 18.04 upgrade, the fix got removed and reapplying it doesn't work.



I have a laptop, and while typing, my palm touches the touchpad, which makes the mouse move, close tabs by itself, delete words, open programs, and all other actions.



I want to disable it while typing, same way Windows automatically does it.



This is the previous question, the accepted answer worked for me in 16.04, but no longer works anymore. How do I disable the touchpad while typing?



Note that running the command mentioned in the accepted answer gives this:



Input:



sudo apt install xserver-xorg-input-libinput


Output:



xserver-xorg-input-libinput is already the newest version (0.27.1-1).
The following packages were automatically installed and are no longer required:
libgnome-keyring-common libgnome-keyring0 libnih-dbus1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Yes, I restarted my laptop.










share|improve this question























  • Have you tried it from gnome tweaks?

    – PRATAP
    Oct 19 '18 at 22:11











  • You could try using syndaemon, as this answer describes.

    – earthmeLon
    Oct 19 '18 at 23:09













  • @earthmeLon Already tried that, doesn't work well. The one in 16.04 was working perfectly.

    – MichaelX
    Oct 19 '18 at 23:15











  • @PRATAP I've only used gnome tweaks once for a skin or something, do you know if it has an option for this?

    – MichaelX
    Oct 19 '18 at 23:17
















6















I asked this a year ago, with the new (awful) upgrade 18.04 upgrade, the fix got removed and reapplying it doesn't work.



I have a laptop, and while typing, my palm touches the touchpad, which makes the mouse move, close tabs by itself, delete words, open programs, and all other actions.



I want to disable it while typing, same way Windows automatically does it.



This is the previous question, the accepted answer worked for me in 16.04, but no longer works anymore. How do I disable the touchpad while typing?



Note that running the command mentioned in the accepted answer gives this:



Input:



sudo apt install xserver-xorg-input-libinput


Output:



xserver-xorg-input-libinput is already the newest version (0.27.1-1).
The following packages were automatically installed and are no longer required:
libgnome-keyring-common libgnome-keyring0 libnih-dbus1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Yes, I restarted my laptop.










share|improve this question























  • Have you tried it from gnome tweaks?

    – PRATAP
    Oct 19 '18 at 22:11











  • You could try using syndaemon, as this answer describes.

    – earthmeLon
    Oct 19 '18 at 23:09













  • @earthmeLon Already tried that, doesn't work well. The one in 16.04 was working perfectly.

    – MichaelX
    Oct 19 '18 at 23:15











  • @PRATAP I've only used gnome tweaks once for a skin or something, do you know if it has an option for this?

    – MichaelX
    Oct 19 '18 at 23:17














6












6








6


2






I asked this a year ago, with the new (awful) upgrade 18.04 upgrade, the fix got removed and reapplying it doesn't work.



I have a laptop, and while typing, my palm touches the touchpad, which makes the mouse move, close tabs by itself, delete words, open programs, and all other actions.



I want to disable it while typing, same way Windows automatically does it.



This is the previous question, the accepted answer worked for me in 16.04, but no longer works anymore. How do I disable the touchpad while typing?



Note that running the command mentioned in the accepted answer gives this:



Input:



sudo apt install xserver-xorg-input-libinput


Output:



xserver-xorg-input-libinput is already the newest version (0.27.1-1).
The following packages were automatically installed and are no longer required:
libgnome-keyring-common libgnome-keyring0 libnih-dbus1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Yes, I restarted my laptop.










share|improve this question














I asked this a year ago, with the new (awful) upgrade 18.04 upgrade, the fix got removed and reapplying it doesn't work.



I have a laptop, and while typing, my palm touches the touchpad, which makes the mouse move, close tabs by itself, delete words, open programs, and all other actions.



I want to disable it while typing, same way Windows automatically does it.



This is the previous question, the accepted answer worked for me in 16.04, but no longer works anymore. How do I disable the touchpad while typing?



Note that running the command mentioned in the accepted answer gives this:



Input:



sudo apt install xserver-xorg-input-libinput


Output:



xserver-xorg-input-libinput is already the newest version (0.27.1-1).
The following packages were automatically installed and are no longer required:
libgnome-keyring-common libgnome-keyring0 libnih-dbus1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Yes, I restarted my laptop.







touchpad






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 19 '18 at 22:04









MichaelXMichaelX

216316




216316













  • Have you tried it from gnome tweaks?

    – PRATAP
    Oct 19 '18 at 22:11











  • You could try using syndaemon, as this answer describes.

    – earthmeLon
    Oct 19 '18 at 23:09













  • @earthmeLon Already tried that, doesn't work well. The one in 16.04 was working perfectly.

    – MichaelX
    Oct 19 '18 at 23:15











  • @PRATAP I've only used gnome tweaks once for a skin or something, do you know if it has an option for this?

    – MichaelX
    Oct 19 '18 at 23:17



















  • Have you tried it from gnome tweaks?

    – PRATAP
    Oct 19 '18 at 22:11











  • You could try using syndaemon, as this answer describes.

    – earthmeLon
    Oct 19 '18 at 23:09













  • @earthmeLon Already tried that, doesn't work well. The one in 16.04 was working perfectly.

    – MichaelX
    Oct 19 '18 at 23:15











  • @PRATAP I've only used gnome tweaks once for a skin or something, do you know if it has an option for this?

    – MichaelX
    Oct 19 '18 at 23:17

















Have you tried it from gnome tweaks?

– PRATAP
Oct 19 '18 at 22:11





Have you tried it from gnome tweaks?

– PRATAP
Oct 19 '18 at 22:11













You could try using syndaemon, as this answer describes.

– earthmeLon
Oct 19 '18 at 23:09







You could try using syndaemon, as this answer describes.

– earthmeLon
Oct 19 '18 at 23:09















@earthmeLon Already tried that, doesn't work well. The one in 16.04 was working perfectly.

– MichaelX
Oct 19 '18 at 23:15





@earthmeLon Already tried that, doesn't work well. The one in 16.04 was working perfectly.

– MichaelX
Oct 19 '18 at 23:15













@PRATAP I've only used gnome tweaks once for a skin or something, do you know if it has an option for this?

– MichaelX
Oct 19 '18 at 23:17





@PRATAP I've only used gnome tweaks once for a skin or something, do you know if it has an option for this?

– MichaelX
Oct 19 '18 at 23:17










5 Answers
5






active

oldest

votes


















1














Install Touchpad Indicator GNOME extension. Perfect.



https://extensions.gnome.org/extension/131/touchpad-indicator/



Switch the touchpad, trackpoint, fingertouch, touchscreen or a pen device on and off easily from the top panel. Optionally, automatically disable some or all devices when a mouse is plugged in and re-enable them when unplugged.






share|improve this answer



















  • 1





    I tried that before, it doesn't offer what I'm looking for.

    – MichaelX
    Oct 21 '18 at 15:49



















1














Install gnome-tweaks



sudo apt install gnome-tweaks


and open it.



Under the tab Keyboard & Mouse you will find in the main window under Touchpad the switch Disable While Typing.



enter image description here






share|improve this answer





















  • 3





    Doesn't work. What theme are you using?

    – MichaelX
    Oct 21 '18 at 15:48











  • I'm using a MacOS theme..However, opening gnome-tweaks & should display this menu.

    – abu_bua
    Oct 21 '18 at 15:58






  • 2





    The menu is displayed, selecting that option does not fix the problem.

    – MichaelX
    Oct 21 '18 at 16:02






  • 4





    Restarted the computer, it simply doesn't work.

    – MichaelX
    Oct 23 '18 at 1:33






  • 1





    This does not work for me on 18.10 either.

    – CPBL
    Jan 31 at 14:52



















1














I did it this way:



sudo apt remove xserver-xorg-input-synaptics
sudo apt install xserver-xorg-input-libinput
sudo reboot


On my machine I had both of them, so synaptics was default, deleting it helped me.
Do not forget to reboot.






share|improve this answer































    0














    Assuming your system is using libinput, not synaptics, here is the correction. Copy the following place in /etc/X11/xorg.conf.d/90-libinput.conf. Must log out to trigger a re-load of X11.



    The change that affects the touchpad while typing is in the second to last line. In my case, I have some boiler plate that channels all of the action to the libinput driver, that may not be strictly necessary. HOwever, I'm certain that the last stanza is your magic bullet.



    # Match on all types of devices but tablet devices and joysticks
    Section "InputClass"
    Identifier "libinput pointer catchall"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    EndSection

    Section "InputClass"
    Identifier "libinput keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    EndSection

    Section "InputClass"
    Identifier "libinput touchpad catchall"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    EndSection

    Section "InputClass"
    Identifier "libinput touchscreen catchall"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    EndSection

    Section "InputClass"
    Identifier "MyTouchpad"
    MatchIsTouchpad "on"
    Driver "libinput"
    Option "Tapping" "on"
    Option "DisableWhileTyping" "on"
    EndSection





    share|improve this answer































      0














      I tried to many ways that did not work. Finally founded with this link below:
      https://help.ubuntu.com/community/SynapticsTouchpad



      Type: xinput list
      Find your touchpad ID. For example it is "7"



      Type: xinput --watch-props 7



      Find "Palm detection" and "Palm Dimension" lines. There will be a number in parentheses near these lines. For example Palm Detection=(400) Palm Dimension=401



      Open a new tab or New window



      Type: xinput --set-prop 7 "400" 1
      Type: xinput --set-prop 7 "401" 1, 100
      After change of these settings you must see the changes with the previous tab like Property 'Synaptics Palm Dimensions' changed.
      For palm dimension you can find best for fits with you.






      share|improve this answer








      New contributor




      Erdem KAYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















        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%2f1085390%2fhow-do-i-disable-the-touchpad-while-typing-ubuntu-18-04%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









        1














        Install Touchpad Indicator GNOME extension. Perfect.



        https://extensions.gnome.org/extension/131/touchpad-indicator/



        Switch the touchpad, trackpoint, fingertouch, touchscreen or a pen device on and off easily from the top panel. Optionally, automatically disable some or all devices when a mouse is plugged in and re-enable them when unplugged.






        share|improve this answer



















        • 1





          I tried that before, it doesn't offer what I'm looking for.

          – MichaelX
          Oct 21 '18 at 15:49
















        1














        Install Touchpad Indicator GNOME extension. Perfect.



        https://extensions.gnome.org/extension/131/touchpad-indicator/



        Switch the touchpad, trackpoint, fingertouch, touchscreen or a pen device on and off easily from the top panel. Optionally, automatically disable some or all devices when a mouse is plugged in and re-enable them when unplugged.






        share|improve this answer



















        • 1





          I tried that before, it doesn't offer what I'm looking for.

          – MichaelX
          Oct 21 '18 at 15:49














        1












        1








        1







        Install Touchpad Indicator GNOME extension. Perfect.



        https://extensions.gnome.org/extension/131/touchpad-indicator/



        Switch the touchpad, trackpoint, fingertouch, touchscreen or a pen device on and off easily from the top panel. Optionally, automatically disable some or all devices when a mouse is plugged in and re-enable them when unplugged.






        share|improve this answer













        Install Touchpad Indicator GNOME extension. Perfect.



        https://extensions.gnome.org/extension/131/touchpad-indicator/



        Switch the touchpad, trackpoint, fingertouch, touchscreen or a pen device on and off easily from the top panel. Optionally, automatically disable some or all devices when a mouse is plugged in and re-enable them when unplugged.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 19 '18 at 23:17









        heynnemaheynnema

        21k22360




        21k22360








        • 1





          I tried that before, it doesn't offer what I'm looking for.

          – MichaelX
          Oct 21 '18 at 15:49














        • 1





          I tried that before, it doesn't offer what I'm looking for.

          – MichaelX
          Oct 21 '18 at 15:49








        1




        1





        I tried that before, it doesn't offer what I'm looking for.

        – MichaelX
        Oct 21 '18 at 15:49





        I tried that before, it doesn't offer what I'm looking for.

        – MichaelX
        Oct 21 '18 at 15:49













        1














        Install gnome-tweaks



        sudo apt install gnome-tweaks


        and open it.



        Under the tab Keyboard & Mouse you will find in the main window under Touchpad the switch Disable While Typing.



        enter image description here






        share|improve this answer





















        • 3





          Doesn't work. What theme are you using?

          – MichaelX
          Oct 21 '18 at 15:48











        • I'm using a MacOS theme..However, opening gnome-tweaks & should display this menu.

          – abu_bua
          Oct 21 '18 at 15:58






        • 2





          The menu is displayed, selecting that option does not fix the problem.

          – MichaelX
          Oct 21 '18 at 16:02






        • 4





          Restarted the computer, it simply doesn't work.

          – MichaelX
          Oct 23 '18 at 1:33






        • 1





          This does not work for me on 18.10 either.

          – CPBL
          Jan 31 at 14:52
















        1














        Install gnome-tweaks



        sudo apt install gnome-tweaks


        and open it.



        Under the tab Keyboard & Mouse you will find in the main window under Touchpad the switch Disable While Typing.



        enter image description here






        share|improve this answer





















        • 3





          Doesn't work. What theme are you using?

          – MichaelX
          Oct 21 '18 at 15:48











        • I'm using a MacOS theme..However, opening gnome-tweaks & should display this menu.

          – abu_bua
          Oct 21 '18 at 15:58






        • 2





          The menu is displayed, selecting that option does not fix the problem.

          – MichaelX
          Oct 21 '18 at 16:02






        • 4





          Restarted the computer, it simply doesn't work.

          – MichaelX
          Oct 23 '18 at 1:33






        • 1





          This does not work for me on 18.10 either.

          – CPBL
          Jan 31 at 14:52














        1












        1








        1







        Install gnome-tweaks



        sudo apt install gnome-tweaks


        and open it.



        Under the tab Keyboard & Mouse you will find in the main window under Touchpad the switch Disable While Typing.



        enter image description here






        share|improve this answer















        Install gnome-tweaks



        sudo apt install gnome-tweaks


        and open it.



        Under the tab Keyboard & Mouse you will find in the main window under Touchpad the switch Disable While Typing.



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Oct 19 '18 at 23:57

























        answered Oct 19 '18 at 23:26









        abu_buaabu_bua

        4,04181530




        4,04181530








        • 3





          Doesn't work. What theme are you using?

          – MichaelX
          Oct 21 '18 at 15:48











        • I'm using a MacOS theme..However, opening gnome-tweaks & should display this menu.

          – abu_bua
          Oct 21 '18 at 15:58






        • 2





          The menu is displayed, selecting that option does not fix the problem.

          – MichaelX
          Oct 21 '18 at 16:02






        • 4





          Restarted the computer, it simply doesn't work.

          – MichaelX
          Oct 23 '18 at 1:33






        • 1





          This does not work for me on 18.10 either.

          – CPBL
          Jan 31 at 14:52














        • 3





          Doesn't work. What theme are you using?

          – MichaelX
          Oct 21 '18 at 15:48











        • I'm using a MacOS theme..However, opening gnome-tweaks & should display this menu.

          – abu_bua
          Oct 21 '18 at 15:58






        • 2





          The menu is displayed, selecting that option does not fix the problem.

          – MichaelX
          Oct 21 '18 at 16:02






        • 4





          Restarted the computer, it simply doesn't work.

          – MichaelX
          Oct 23 '18 at 1:33






        • 1





          This does not work for me on 18.10 either.

          – CPBL
          Jan 31 at 14:52








        3




        3





        Doesn't work. What theme are you using?

        – MichaelX
        Oct 21 '18 at 15:48





        Doesn't work. What theme are you using?

        – MichaelX
        Oct 21 '18 at 15:48













        I'm using a MacOS theme..However, opening gnome-tweaks & should display this menu.

        – abu_bua
        Oct 21 '18 at 15:58





        I'm using a MacOS theme..However, opening gnome-tweaks & should display this menu.

        – abu_bua
        Oct 21 '18 at 15:58




        2




        2





        The menu is displayed, selecting that option does not fix the problem.

        – MichaelX
        Oct 21 '18 at 16:02





        The menu is displayed, selecting that option does not fix the problem.

        – MichaelX
        Oct 21 '18 at 16:02




        4




        4





        Restarted the computer, it simply doesn't work.

        – MichaelX
        Oct 23 '18 at 1:33





        Restarted the computer, it simply doesn't work.

        – MichaelX
        Oct 23 '18 at 1:33




        1




        1





        This does not work for me on 18.10 either.

        – CPBL
        Jan 31 at 14:52





        This does not work for me on 18.10 either.

        – CPBL
        Jan 31 at 14:52











        1














        I did it this way:



        sudo apt remove xserver-xorg-input-synaptics
        sudo apt install xserver-xorg-input-libinput
        sudo reboot


        On my machine I had both of them, so synaptics was default, deleting it helped me.
        Do not forget to reboot.






        share|improve this answer




























          1














          I did it this way:



          sudo apt remove xserver-xorg-input-synaptics
          sudo apt install xserver-xorg-input-libinput
          sudo reboot


          On my machine I had both of them, so synaptics was default, deleting it helped me.
          Do not forget to reboot.






          share|improve this answer


























            1












            1








            1







            I did it this way:



            sudo apt remove xserver-xorg-input-synaptics
            sudo apt install xserver-xorg-input-libinput
            sudo reboot


            On my machine I had both of them, so synaptics was default, deleting it helped me.
            Do not forget to reboot.






            share|improve this answer













            I did it this way:



            sudo apt remove xserver-xorg-input-synaptics
            sudo apt install xserver-xorg-input-libinput
            sudo reboot


            On my machine I had both of them, so synaptics was default, deleting it helped me.
            Do not forget to reboot.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 5 at 13:17









            Vadim KVadim K

            1513




            1513























                0














                Assuming your system is using libinput, not synaptics, here is the correction. Copy the following place in /etc/X11/xorg.conf.d/90-libinput.conf. Must log out to trigger a re-load of X11.



                The change that affects the touchpad while typing is in the second to last line. In my case, I have some boiler plate that channels all of the action to the libinput driver, that may not be strictly necessary. HOwever, I'm certain that the last stanza is your magic bullet.



                # Match on all types of devices but tablet devices and joysticks
                Section "InputClass"
                Identifier "libinput pointer catchall"
                MatchIsPointer "on"
                MatchDevicePath "/dev/input/event*"
                Driver "libinput"
                EndSection

                Section "InputClass"
                Identifier "libinput keyboard catchall"
                MatchIsKeyboard "on"
                MatchDevicePath "/dev/input/event*"
                Driver "libinput"
                EndSection

                Section "InputClass"
                Identifier "libinput touchpad catchall"
                MatchIsTouchpad "on"
                MatchDevicePath "/dev/input/event*"
                Driver "libinput"
                EndSection

                Section "InputClass"
                Identifier "libinput touchscreen catchall"
                MatchIsTouchscreen "on"
                MatchDevicePath "/dev/input/event*"
                Driver "libinput"
                EndSection

                Section "InputClass"
                Identifier "MyTouchpad"
                MatchIsTouchpad "on"
                Driver "libinput"
                Option "Tapping" "on"
                Option "DisableWhileTyping" "on"
                EndSection





                share|improve this answer




























                  0














                  Assuming your system is using libinput, not synaptics, here is the correction. Copy the following place in /etc/X11/xorg.conf.d/90-libinput.conf. Must log out to trigger a re-load of X11.



                  The change that affects the touchpad while typing is in the second to last line. In my case, I have some boiler plate that channels all of the action to the libinput driver, that may not be strictly necessary. HOwever, I'm certain that the last stanza is your magic bullet.



                  # Match on all types of devices but tablet devices and joysticks
                  Section "InputClass"
                  Identifier "libinput pointer catchall"
                  MatchIsPointer "on"
                  MatchDevicePath "/dev/input/event*"
                  Driver "libinput"
                  EndSection

                  Section "InputClass"
                  Identifier "libinput keyboard catchall"
                  MatchIsKeyboard "on"
                  MatchDevicePath "/dev/input/event*"
                  Driver "libinput"
                  EndSection

                  Section "InputClass"
                  Identifier "libinput touchpad catchall"
                  MatchIsTouchpad "on"
                  MatchDevicePath "/dev/input/event*"
                  Driver "libinput"
                  EndSection

                  Section "InputClass"
                  Identifier "libinput touchscreen catchall"
                  MatchIsTouchscreen "on"
                  MatchDevicePath "/dev/input/event*"
                  Driver "libinput"
                  EndSection

                  Section "InputClass"
                  Identifier "MyTouchpad"
                  MatchIsTouchpad "on"
                  Driver "libinput"
                  Option "Tapping" "on"
                  Option "DisableWhileTyping" "on"
                  EndSection





                  share|improve this answer


























                    0












                    0








                    0







                    Assuming your system is using libinput, not synaptics, here is the correction. Copy the following place in /etc/X11/xorg.conf.d/90-libinput.conf. Must log out to trigger a re-load of X11.



                    The change that affects the touchpad while typing is in the second to last line. In my case, I have some boiler plate that channels all of the action to the libinput driver, that may not be strictly necessary. HOwever, I'm certain that the last stanza is your magic bullet.



                    # Match on all types of devices but tablet devices and joysticks
                    Section "InputClass"
                    Identifier "libinput pointer catchall"
                    MatchIsPointer "on"
                    MatchDevicePath "/dev/input/event*"
                    Driver "libinput"
                    EndSection

                    Section "InputClass"
                    Identifier "libinput keyboard catchall"
                    MatchIsKeyboard "on"
                    MatchDevicePath "/dev/input/event*"
                    Driver "libinput"
                    EndSection

                    Section "InputClass"
                    Identifier "libinput touchpad catchall"
                    MatchIsTouchpad "on"
                    MatchDevicePath "/dev/input/event*"
                    Driver "libinput"
                    EndSection

                    Section "InputClass"
                    Identifier "libinput touchscreen catchall"
                    MatchIsTouchscreen "on"
                    MatchDevicePath "/dev/input/event*"
                    Driver "libinput"
                    EndSection

                    Section "InputClass"
                    Identifier "MyTouchpad"
                    MatchIsTouchpad "on"
                    Driver "libinput"
                    Option "Tapping" "on"
                    Option "DisableWhileTyping" "on"
                    EndSection





                    share|improve this answer













                    Assuming your system is using libinput, not synaptics, here is the correction. Copy the following place in /etc/X11/xorg.conf.d/90-libinput.conf. Must log out to trigger a re-load of X11.



                    The change that affects the touchpad while typing is in the second to last line. In my case, I have some boiler plate that channels all of the action to the libinput driver, that may not be strictly necessary. HOwever, I'm certain that the last stanza is your magic bullet.



                    # Match on all types of devices but tablet devices and joysticks
                    Section "InputClass"
                    Identifier "libinput pointer catchall"
                    MatchIsPointer "on"
                    MatchDevicePath "/dev/input/event*"
                    Driver "libinput"
                    EndSection

                    Section "InputClass"
                    Identifier "libinput keyboard catchall"
                    MatchIsKeyboard "on"
                    MatchDevicePath "/dev/input/event*"
                    Driver "libinput"
                    EndSection

                    Section "InputClass"
                    Identifier "libinput touchpad catchall"
                    MatchIsTouchpad "on"
                    MatchDevicePath "/dev/input/event*"
                    Driver "libinput"
                    EndSection

                    Section "InputClass"
                    Identifier "libinput touchscreen catchall"
                    MatchIsTouchscreen "on"
                    MatchDevicePath "/dev/input/event*"
                    Driver "libinput"
                    EndSection

                    Section "InputClass"
                    Identifier "MyTouchpad"
                    MatchIsTouchpad "on"
                    Driver "libinput"
                    Option "Tapping" "on"
                    Option "DisableWhileTyping" "on"
                    EndSection






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Oct 19 '18 at 23:30









                    pauljohn32pauljohn32

                    2,424925




                    2,424925























                        0














                        I tried to many ways that did not work. Finally founded with this link below:
                        https://help.ubuntu.com/community/SynapticsTouchpad



                        Type: xinput list
                        Find your touchpad ID. For example it is "7"



                        Type: xinput --watch-props 7



                        Find "Palm detection" and "Palm Dimension" lines. There will be a number in parentheses near these lines. For example Palm Detection=(400) Palm Dimension=401



                        Open a new tab or New window



                        Type: xinput --set-prop 7 "400" 1
                        Type: xinput --set-prop 7 "401" 1, 100
                        After change of these settings you must see the changes with the previous tab like Property 'Synaptics Palm Dimensions' changed.
                        For palm dimension you can find best for fits with you.






                        share|improve this answer








                        New contributor




                        Erdem KAYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.

























                          0














                          I tried to many ways that did not work. Finally founded with this link below:
                          https://help.ubuntu.com/community/SynapticsTouchpad



                          Type: xinput list
                          Find your touchpad ID. For example it is "7"



                          Type: xinput --watch-props 7



                          Find "Palm detection" and "Palm Dimension" lines. There will be a number in parentheses near these lines. For example Palm Detection=(400) Palm Dimension=401



                          Open a new tab or New window



                          Type: xinput --set-prop 7 "400" 1
                          Type: xinput --set-prop 7 "401" 1, 100
                          After change of these settings you must see the changes with the previous tab like Property 'Synaptics Palm Dimensions' changed.
                          For palm dimension you can find best for fits with you.






                          share|improve this answer








                          New contributor




                          Erdem KAYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.























                            0












                            0








                            0







                            I tried to many ways that did not work. Finally founded with this link below:
                            https://help.ubuntu.com/community/SynapticsTouchpad



                            Type: xinput list
                            Find your touchpad ID. For example it is "7"



                            Type: xinput --watch-props 7



                            Find "Palm detection" and "Palm Dimension" lines. There will be a number in parentheses near these lines. For example Palm Detection=(400) Palm Dimension=401



                            Open a new tab or New window



                            Type: xinput --set-prop 7 "400" 1
                            Type: xinput --set-prop 7 "401" 1, 100
                            After change of these settings you must see the changes with the previous tab like Property 'Synaptics Palm Dimensions' changed.
                            For palm dimension you can find best for fits with you.






                            share|improve this answer








                            New contributor




                            Erdem KAYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.










                            I tried to many ways that did not work. Finally founded with this link below:
                            https://help.ubuntu.com/community/SynapticsTouchpad



                            Type: xinput list
                            Find your touchpad ID. For example it is "7"



                            Type: xinput --watch-props 7



                            Find "Palm detection" and "Palm Dimension" lines. There will be a number in parentheses near these lines. For example Palm Detection=(400) Palm Dimension=401



                            Open a new tab or New window



                            Type: xinput --set-prop 7 "400" 1
                            Type: xinput --set-prop 7 "401" 1, 100
                            After change of these settings you must see the changes with the previous tab like Property 'Synaptics Palm Dimensions' changed.
                            For palm dimension you can find best for fits with you.







                            share|improve this answer








                            New contributor




                            Erdem KAYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            share|improve this answer



                            share|improve this answer






                            New contributor




                            Erdem KAYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            answered 26 mins ago









                            Erdem KAYAErdem KAYA

                            1




                            1




                            New contributor




                            Erdem KAYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





                            New contributor





                            Erdem KAYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






                            Erdem KAYA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






























                                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%2f1085390%2fhow-do-i-disable-the-touchpad-while-typing-ubuntu-18-04%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

                                香粉寮

                                GameSpot