How to disable touchscreen permanently on ubuntu 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












I am trying to disable the touchscreen on my Asus S200E laptop. In Ubuntu 16.04, I was able to do so with this:



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


How can this be done on Ubuntu 18.04?







share|improve this question


























    up vote
    2
    down vote

    favorite












    I am trying to disable the touchscreen on my Asus S200E laptop. In Ubuntu 16.04, I was able to do so with this:



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


    How can this be done on Ubuntu 18.04?







    share|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I am trying to disable the touchscreen on my Asus S200E laptop. In Ubuntu 16.04, I was able to do so with this:



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


      How can this be done on Ubuntu 18.04?







      share|improve this question














      I am trying to disable the touchscreen on my Asus S200E laptop. In Ubuntu 16.04, I was able to do so with this:



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


      How can this be done on Ubuntu 18.04?









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 20 at 3:59









      xiota

      1,0461421




      1,0461421










      asked May 20 at 1:48









      Nasikun Nasikun

      132




      132




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          It appears as if you are referring to files located at /usr/share/X11/xorg.conf.d. Perhaps the libinput driver was recently updated to support your touchscreen?



          Probably you want to edit /usr/share/X11/xorg.conf.d/10-evdev.conf with:



          Section "InputClass"
          Identifier "evdev touchscreen catchall"
          MatchIsTouchscreen "on"
          MatchDevicePath "/dev/input/event*"
          #Driver "evdev"
          Option "Ignore" "on"
          EndSection


          And /usr/share/X11/xorg.conf.d/40-libinput.conf with:



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


          If that does not work, get the name of your touchscreen with xinput, and add one of the following commands to a startup script:



          xinput set-prop [touchscreen] "Device Enabled" 0
          xinput disable [touchscreen]





          share|improve this answer






















            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1038248%2fhow-to-disable-touchscreen-permanently-on-ubuntu-18-04%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            It appears as if you are referring to files located at /usr/share/X11/xorg.conf.d. Perhaps the libinput driver was recently updated to support your touchscreen?



            Probably you want to edit /usr/share/X11/xorg.conf.d/10-evdev.conf with:



            Section "InputClass"
            Identifier "evdev touchscreen catchall"
            MatchIsTouchscreen "on"
            MatchDevicePath "/dev/input/event*"
            #Driver "evdev"
            Option "Ignore" "on"
            EndSection


            And /usr/share/X11/xorg.conf.d/40-libinput.conf with:



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


            If that does not work, get the name of your touchscreen with xinput, and add one of the following commands to a startup script:



            xinput set-prop [touchscreen] "Device Enabled" 0
            xinput disable [touchscreen]





            share|improve this answer


























              up vote
              1
              down vote



              accepted










              It appears as if you are referring to files located at /usr/share/X11/xorg.conf.d. Perhaps the libinput driver was recently updated to support your touchscreen?



              Probably you want to edit /usr/share/X11/xorg.conf.d/10-evdev.conf with:



              Section "InputClass"
              Identifier "evdev touchscreen catchall"
              MatchIsTouchscreen "on"
              MatchDevicePath "/dev/input/event*"
              #Driver "evdev"
              Option "Ignore" "on"
              EndSection


              And /usr/share/X11/xorg.conf.d/40-libinput.conf with:



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


              If that does not work, get the name of your touchscreen with xinput, and add one of the following commands to a startup script:



              xinput set-prop [touchscreen] "Device Enabled" 0
              xinput disable [touchscreen]





              share|improve this answer
























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                It appears as if you are referring to files located at /usr/share/X11/xorg.conf.d. Perhaps the libinput driver was recently updated to support your touchscreen?



                Probably you want to edit /usr/share/X11/xorg.conf.d/10-evdev.conf with:



                Section "InputClass"
                Identifier "evdev touchscreen catchall"
                MatchIsTouchscreen "on"
                MatchDevicePath "/dev/input/event*"
                #Driver "evdev"
                Option "Ignore" "on"
                EndSection


                And /usr/share/X11/xorg.conf.d/40-libinput.conf with:



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


                If that does not work, get the name of your touchscreen with xinput, and add one of the following commands to a startup script:



                xinput set-prop [touchscreen] "Device Enabled" 0
                xinput disable [touchscreen]





                share|improve this answer














                It appears as if you are referring to files located at /usr/share/X11/xorg.conf.d. Perhaps the libinput driver was recently updated to support your touchscreen?



                Probably you want to edit /usr/share/X11/xorg.conf.d/10-evdev.conf with:



                Section "InputClass"
                Identifier "evdev touchscreen catchall"
                MatchIsTouchscreen "on"
                MatchDevicePath "/dev/input/event*"
                #Driver "evdev"
                Option "Ignore" "on"
                EndSection


                And /usr/share/X11/xorg.conf.d/40-libinput.conf with:



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


                If that does not work, get the name of your touchscreen with xinput, and add one of the following commands to a startup script:



                xinput set-prop [touchscreen] "Device Enabled" 0
                xinput disable [touchscreen]






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jun 5 at 2:52

























                answered May 20 at 3:58









                xiota

                1,0461421




                1,0461421






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038248%2fhow-to-disable-touchscreen-permanently-on-ubuntu-18-04%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491