Unable to disable xinput












2















I'm trying to disable my touch screen with xinput.



The output of running is xinput --list



Virtual core pointer                        id=2    [master pointer  (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ELAN0B00:00 04F3:306A Touchpad id=12 [slave pointer (2)]
⎜ ↳ WCOM0033:00 2D1F:001E Pen (0) id=16 [slave pointer (2)]
⎜ ↳ G2Touch Multi-Touch by G2TSP id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ 720p HD Camera id=9 [slave keyboard (3)]
↳ 720p HD Camera id=10 [slave keyboard (3)]
↳ WCOM0033:00 2D1F:001E id=13 [slave keyboard (3)]
↳ Intel Virtual Button driver id=14 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]


My device seems to be id=11, so I run:



xinput disable 11



After running this it gets disabled until I use the touch screen then 5 seconds later gets re-enabled automatically?? How can I permanently disable touch screen.










share|improve this question





























    2















    I'm trying to disable my touch screen with xinput.



    The output of running is xinput --list



    Virtual core pointer                        id=2    [master pointer  (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ ELAN0B00:00 04F3:306A Touchpad id=12 [slave pointer (2)]
    ⎜ ↳ WCOM0033:00 2D1F:001E Pen (0) id=16 [slave pointer (2)]
    ⎜ ↳ G2Touch Multi-Touch by G2TSP id=11 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ 720p HD Camera id=9 [slave keyboard (3)]
    ↳ 720p HD Camera id=10 [slave keyboard (3)]
    ↳ WCOM0033:00 2D1F:001E id=13 [slave keyboard (3)]
    ↳ Intel Virtual Button driver id=14 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]


    My device seems to be id=11, so I run:



    xinput disable 11



    After running this it gets disabled until I use the touch screen then 5 seconds later gets re-enabled automatically?? How can I permanently disable touch screen.










    share|improve this question



























      2












      2








      2


      2






      I'm trying to disable my touch screen with xinput.



      The output of running is xinput --list



      Virtual core pointer                        id=2    [master pointer  (3)]
      ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
      ⎜ ↳ ELAN0B00:00 04F3:306A Touchpad id=12 [slave pointer (2)]
      ⎜ ↳ WCOM0033:00 2D1F:001E Pen (0) id=16 [slave pointer (2)]
      ⎜ ↳ G2Touch Multi-Touch by G2TSP id=11 [slave pointer (2)]
      ⎣ Virtual core keyboard id=3 [master keyboard (2)]
      ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
      ↳ Power Button id=6 [slave keyboard (3)]
      ↳ Video Bus id=7 [slave keyboard (3)]
      ↳ Power Button id=8 [slave keyboard (3)]
      ↳ 720p HD Camera id=9 [slave keyboard (3)]
      ↳ 720p HD Camera id=10 [slave keyboard (3)]
      ↳ WCOM0033:00 2D1F:001E id=13 [slave keyboard (3)]
      ↳ Intel Virtual Button driver id=14 [slave keyboard (3)]
      ↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]


      My device seems to be id=11, so I run:



      xinput disable 11



      After running this it gets disabled until I use the touch screen then 5 seconds later gets re-enabled automatically?? How can I permanently disable touch screen.










      share|improve this question
















      I'm trying to disable my touch screen with xinput.



      The output of running is xinput --list



      Virtual core pointer                        id=2    [master pointer  (3)]
      ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
      ⎜ ↳ ELAN0B00:00 04F3:306A Touchpad id=12 [slave pointer (2)]
      ⎜ ↳ WCOM0033:00 2D1F:001E Pen (0) id=16 [slave pointer (2)]
      ⎜ ↳ G2Touch Multi-Touch by G2TSP id=11 [slave pointer (2)]
      ⎣ Virtual core keyboard id=3 [master keyboard (2)]
      ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
      ↳ Power Button id=6 [slave keyboard (3)]
      ↳ Video Bus id=7 [slave keyboard (3)]
      ↳ Power Button id=8 [slave keyboard (3)]
      ↳ 720p HD Camera id=9 [slave keyboard (3)]
      ↳ 720p HD Camera id=10 [slave keyboard (3)]
      ↳ WCOM0033:00 2D1F:001E id=13 [slave keyboard (3)]
      ↳ Intel Virtual Button driver id=14 [slave keyboard (3)]
      ↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]


      My device seems to be id=11, so I run:



      xinput disable 11



      After running this it gets disabled until I use the touch screen then 5 seconds later gets re-enabled automatically?? How can I permanently disable touch screen.







      touchscreen input-devices






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 '17 at 23:31









      NerdOfCode

      1,092424




      1,092424










      asked Nov 15 '17 at 22:40









      YoronYoron

      114




      114






















          1 Answer
          1






          active

          oldest

          votes


















          4














          I've run through a couple of ways to disable my touchscreen - the one that seems cleanest for me, in Ubuntu 17.10 is to edit the file "/usr/share/X11/xorg.conf.d/40-libinput.conf" and modify the section referring to touchscreens:



          sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf


          Scroll to the section about touchscreens, and add the line 'Option "Ignore" "on"' - the section contents will look like



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


          see man xorg.conf, this option indicates to xorg that "the device should be ignored entirely, and not added to the server."






          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',
            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%2f976847%2funable-to-disable-xinput%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            I've run through a couple of ways to disable my touchscreen - the one that seems cleanest for me, in Ubuntu 17.10 is to edit the file "/usr/share/X11/xorg.conf.d/40-libinput.conf" and modify the section referring to touchscreens:



            sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf


            Scroll to the section about touchscreens, and add the line 'Option "Ignore" "on"' - the section contents will look like



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


            see man xorg.conf, this option indicates to xorg that "the device should be ignored entirely, and not added to the server."






            share|improve this answer




























              4














              I've run through a couple of ways to disable my touchscreen - the one that seems cleanest for me, in Ubuntu 17.10 is to edit the file "/usr/share/X11/xorg.conf.d/40-libinput.conf" and modify the section referring to touchscreens:



              sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf


              Scroll to the section about touchscreens, and add the line 'Option "Ignore" "on"' - the section contents will look like



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


              see man xorg.conf, this option indicates to xorg that "the device should be ignored entirely, and not added to the server."






              share|improve this answer


























                4












                4








                4







                I've run through a couple of ways to disable my touchscreen - the one that seems cleanest for me, in Ubuntu 17.10 is to edit the file "/usr/share/X11/xorg.conf.d/40-libinput.conf" and modify the section referring to touchscreens:



                sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf


                Scroll to the section about touchscreens, and add the line 'Option "Ignore" "on"' - the section contents will look like



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


                see man xorg.conf, this option indicates to xorg that "the device should be ignored entirely, and not added to the server."






                share|improve this answer













                I've run through a couple of ways to disable my touchscreen - the one that seems cleanest for me, in Ubuntu 17.10 is to edit the file "/usr/share/X11/xorg.conf.d/40-libinput.conf" and modify the section referring to touchscreens:



                sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf


                Scroll to the section about touchscreens, and add the line 'Option "Ignore" "on"' - the section contents will look like



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


                see man xorg.conf, this option indicates to xorg that "the device should be ignored entirely, and not added to the server."







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 15 '17 at 7:30









                Charles GreenCharles Green

                13.6k73758




                13.6k73758






























                    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%2f976847%2funable-to-disable-xinput%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

                    日野市

                    Tu-95轟炸機