Disable touchpad - ID keeps changing

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











up vote
0
down vote

favorite












What I have so far:



#!/bin/bash
output=$( xinput)

output2=$"$output" | sed 's/.* touchpad (.*) [ .*/1/'


My laptop touchpad sucks and I want to just use the center mouse control stick and buttons. This is easy in Windows, but in Lubuntu, it can apparently only be done with commands. It would be easier if xinput always yielded the same ID numbers, but they seem to change after reboot. My xinput reads:



⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=13 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS DualPoint Stick id=14 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_3M: In id=10 [slave keyboard (3)]
↳ Dell WMI hotkeys id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]


Can someone help me get "13" into a variable so I can use it to disable the item?










share|improve this question







New contributor




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























    up vote
    0
    down vote

    favorite












    What I have so far:



    #!/bin/bash
    output=$( xinput)

    output2=$"$output" | sed 's/.* touchpad (.*) [ .*/1/'


    My laptop touchpad sucks and I want to just use the center mouse control stick and buttons. This is easy in Windows, but in Lubuntu, it can apparently only be done with commands. It would be easier if xinput always yielded the same ID numbers, but they seem to change after reboot. My xinput reads:



    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=13 [slave pointer (2)]
    ⎜ ↳ AlpsPS/2 ALPS DualPoint Stick id=14 [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)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ Laptop_Integrated_Webcam_3M: In id=10 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=11 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]


    Can someone help me get "13" into a variable so I can use it to disable the item?










    share|improve this question







    New contributor




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





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      What I have so far:



      #!/bin/bash
      output=$( xinput)

      output2=$"$output" | sed 's/.* touchpad (.*) [ .*/1/'


      My laptop touchpad sucks and I want to just use the center mouse control stick and buttons. This is easy in Windows, but in Lubuntu, it can apparently only be done with commands. It would be easier if xinput always yielded the same ID numbers, but they seem to change after reboot. My xinput reads:



      ⎡ Virtual core pointer id=2 [master pointer (3)]
      ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
      ⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=13 [slave pointer (2)]
      ⎜ ↳ AlpsPS/2 ALPS DualPoint Stick id=14 [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)]
      ↳ Sleep Button id=9 [slave keyboard (3)]
      ↳ Laptop_Integrated_Webcam_3M: In id=10 [slave keyboard (3)]
      ↳ Dell WMI hotkeys id=11 [slave keyboard (3)]
      ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]


      Can someone help me get "13" into a variable so I can use it to disable the item?










      share|improve this question







      New contributor




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











      What I have so far:



      #!/bin/bash
      output=$( xinput)

      output2=$"$output" | sed 's/.* touchpad (.*) [ .*/1/'


      My laptop touchpad sucks and I want to just use the center mouse control stick and buttons. This is easy in Windows, but in Lubuntu, it can apparently only be done with commands. It would be easier if xinput always yielded the same ID numbers, but they seem to change after reboot. My xinput reads:



      ⎡ Virtual core pointer id=2 [master pointer (3)]
      ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
      ⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=13 [slave pointer (2)]
      ⎜ ↳ AlpsPS/2 ALPS DualPoint Stick id=14 [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)]
      ↳ Sleep Button id=9 [slave keyboard (3)]
      ↳ Laptop_Integrated_Webcam_3M: In id=10 [slave keyboard (3)]
      ↳ Dell WMI hotkeys id=11 [slave keyboard (3)]
      ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]


      Can someone help me get "13" into a variable so I can use it to disable the item?







      touchpad lubuntu






      share|improve this question







      New contributor




      primuspaul 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 question







      New contributor




      primuspaul 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 question




      share|improve this question






      New contributor




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









      asked 2 hours ago









      primuspaul

      1




      1




      New contributor




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





      New contributor





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






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

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          primuspaul is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474393%2fdisable-touchpad-id-keeps-changing%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          primuspaul is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          primuspaul is a new contributor. Be nice, and check out our Code of Conduct.












          primuspaul is a new contributor. Be nice, and check out our Code of Conduct.











          primuspaul is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474393%2fdisable-touchpad-id-keeps-changing%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay