Disable second, non-existent screen from command line












7















My laptop adds/enables a VGA monitor called vga2 that doesn't actually exist every time I reboot, which fiddles with the mouse speed amongst other annoyances. What can I do to either stop it being enabled or automatically disable it on boot?










share|improve this question





























    7















    My laptop adds/enables a VGA monitor called vga2 that doesn't actually exist every time I reboot, which fiddles with the mouse speed amongst other annoyances. What can I do to either stop it being enabled or automatically disable it on boot?










    share|improve this question



























      7












      7








      7


      3






      My laptop adds/enables a VGA monitor called vga2 that doesn't actually exist every time I reboot, which fiddles with the mouse speed amongst other annoyances. What can I do to either stop it being enabled or automatically disable it on boot?










      share|improve this question
















      My laptop adds/enables a VGA monitor called vga2 that doesn't actually exist every time I reboot, which fiddles with the mouse speed amongst other annoyances. What can I do to either stop it being enabled or automatically disable it on boot?







      multiple-monitors vga






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 4 '13 at 20:14









      qbi

      15k863118




      15k863118










      asked Oct 27 '13 at 17:21









      N. McA.N. McA.

      88117




      88117






















          2 Answers
          2






          active

          oldest

          votes


















          14





          +50









          You can use the following command:



          xrandr --auto


          If this doesn't disable your non-existent VGA, then use the following method:





          • First run:



            xrandr --current


            to get the right name of your VGA. This can be VGA, VGA-0, VGA1, VGA2 and others.




          • If the name of your VGA is, for example VGA2 (as you said), then run:



            xrandr --auto && xrandr --output VGA2 --off


            This should disable the output of VGA2.




          See man xrandr for more info.



          Then, if you get it to work, put the right command in a small script, make it executable and put it to run on start up.






          share|improve this answer


























          • could you please expand on which run on startup is best for this. Also, I sometimes face a problem after running xrandr --auto && xrandr --output VGA2 --off where my lockscreen background is blank. my version- 14.04 Ubuntu GNOME

            – rahulroy9202
            Apr 28 '15 at 12:17



















          -1














          This method also fixes https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1721637?comments=all which affected me today after fresh install of 18.04.1 when I put the Dock to the bottom from the side.






          share|improve this answer








          New contributor




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
















          • 2





            What method? This seems to be intended as a comment on another answer. Here, answers are expected to provide a solution to the question, so we delete posts like this one. I know you are not able to comment at the moment because of the reputation restriction, but if you feel this information is important, you can make a self-answered questions to share it here (or you can, for example, make 25 edit suggestions that are approved to earn 50 reputation)

            – Zanna
            6 hours ago













          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%2f366813%2fdisable-second-non-existent-screen-from-command-line%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          14





          +50









          You can use the following command:



          xrandr --auto


          If this doesn't disable your non-existent VGA, then use the following method:





          • First run:



            xrandr --current


            to get the right name of your VGA. This can be VGA, VGA-0, VGA1, VGA2 and others.




          • If the name of your VGA is, for example VGA2 (as you said), then run:



            xrandr --auto && xrandr --output VGA2 --off


            This should disable the output of VGA2.




          See man xrandr for more info.



          Then, if you get it to work, put the right command in a small script, make it executable and put it to run on start up.






          share|improve this answer


























          • could you please expand on which run on startup is best for this. Also, I sometimes face a problem after running xrandr --auto && xrandr --output VGA2 --off where my lockscreen background is blank. my version- 14.04 Ubuntu GNOME

            – rahulroy9202
            Apr 28 '15 at 12:17
















          14





          +50









          You can use the following command:



          xrandr --auto


          If this doesn't disable your non-existent VGA, then use the following method:





          • First run:



            xrandr --current


            to get the right name of your VGA. This can be VGA, VGA-0, VGA1, VGA2 and others.




          • If the name of your VGA is, for example VGA2 (as you said), then run:



            xrandr --auto && xrandr --output VGA2 --off


            This should disable the output of VGA2.




          See man xrandr for more info.



          Then, if you get it to work, put the right command in a small script, make it executable and put it to run on start up.






          share|improve this answer


























          • could you please expand on which run on startup is best for this. Also, I sometimes face a problem after running xrandr --auto && xrandr --output VGA2 --off where my lockscreen background is blank. my version- 14.04 Ubuntu GNOME

            – rahulroy9202
            Apr 28 '15 at 12:17














          14





          +50







          14





          +50



          14




          +50





          You can use the following command:



          xrandr --auto


          If this doesn't disable your non-existent VGA, then use the following method:





          • First run:



            xrandr --current


            to get the right name of your VGA. This can be VGA, VGA-0, VGA1, VGA2 and others.




          • If the name of your VGA is, for example VGA2 (as you said), then run:



            xrandr --auto && xrandr --output VGA2 --off


            This should disable the output of VGA2.




          See man xrandr for more info.



          Then, if you get it to work, put the right command in a small script, make it executable and put it to run on start up.






          share|improve this answer















          You can use the following command:



          xrandr --auto


          If this doesn't disable your non-existent VGA, then use the following method:





          • First run:



            xrandr --current


            to get the right name of your VGA. This can be VGA, VGA-0, VGA1, VGA2 and others.




          • If the name of your VGA is, for example VGA2 (as you said), then run:



            xrandr --auto && xrandr --output VGA2 --off


            This should disable the output of VGA2.




          See man xrandr for more info.



          Then, if you get it to work, put the right command in a small script, make it executable and put it to run on start up.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:25









          Community

          1




          1










          answered Nov 4 '13 at 20:11









          Radu RădeanuRadu Rădeanu

          116k34247323




          116k34247323













          • could you please expand on which run on startup is best for this. Also, I sometimes face a problem after running xrandr --auto && xrandr --output VGA2 --off where my lockscreen background is blank. my version- 14.04 Ubuntu GNOME

            – rahulroy9202
            Apr 28 '15 at 12:17



















          • could you please expand on which run on startup is best for this. Also, I sometimes face a problem after running xrandr --auto && xrandr --output VGA2 --off where my lockscreen background is blank. my version- 14.04 Ubuntu GNOME

            – rahulroy9202
            Apr 28 '15 at 12:17

















          could you please expand on which run on startup is best for this. Also, I sometimes face a problem after running xrandr --auto && xrandr --output VGA2 --off where my lockscreen background is blank. my version- 14.04 Ubuntu GNOME

          – rahulroy9202
          Apr 28 '15 at 12:17





          could you please expand on which run on startup is best for this. Also, I sometimes face a problem after running xrandr --auto && xrandr --output VGA2 --off where my lockscreen background is blank. my version- 14.04 Ubuntu GNOME

          – rahulroy9202
          Apr 28 '15 at 12:17













          -1














          This method also fixes https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1721637?comments=all which affected me today after fresh install of 18.04.1 when I put the Dock to the bottom from the side.






          share|improve this answer








          New contributor




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
















          • 2





            What method? This seems to be intended as a comment on another answer. Here, answers are expected to provide a solution to the question, so we delete posts like this one. I know you are not able to comment at the moment because of the reputation restriction, but if you feel this information is important, you can make a self-answered questions to share it here (or you can, for example, make 25 edit suggestions that are approved to earn 50 reputation)

            – Zanna
            6 hours ago


















          -1














          This method also fixes https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1721637?comments=all which affected me today after fresh install of 18.04.1 when I put the Dock to the bottom from the side.






          share|improve this answer








          New contributor




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
















          • 2





            What method? This seems to be intended as a comment on another answer. Here, answers are expected to provide a solution to the question, so we delete posts like this one. I know you are not able to comment at the moment because of the reputation restriction, but if you feel this information is important, you can make a self-answered questions to share it here (or you can, for example, make 25 edit suggestions that are approved to earn 50 reputation)

            – Zanna
            6 hours ago
















          -1












          -1








          -1







          This method also fixes https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1721637?comments=all which affected me today after fresh install of 18.04.1 when I put the Dock to the bottom from the side.






          share|improve this answer








          New contributor




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










          This method also fixes https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1721637?comments=all which affected me today after fresh install of 18.04.1 when I put the Dock to the bottom from the side.







          share|improve this answer








          New contributor




          user915063 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




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









          answered 7 hours ago









          user915063user915063

          1




          1




          New contributor




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





          New contributor





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






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








          • 2





            What method? This seems to be intended as a comment on another answer. Here, answers are expected to provide a solution to the question, so we delete posts like this one. I know you are not able to comment at the moment because of the reputation restriction, but if you feel this information is important, you can make a self-answered questions to share it here (or you can, for example, make 25 edit suggestions that are approved to earn 50 reputation)

            – Zanna
            6 hours ago
















          • 2





            What method? This seems to be intended as a comment on another answer. Here, answers are expected to provide a solution to the question, so we delete posts like this one. I know you are not able to comment at the moment because of the reputation restriction, but if you feel this information is important, you can make a self-answered questions to share it here (or you can, for example, make 25 edit suggestions that are approved to earn 50 reputation)

            – Zanna
            6 hours ago










          2




          2





          What method? This seems to be intended as a comment on another answer. Here, answers are expected to provide a solution to the question, so we delete posts like this one. I know you are not able to comment at the moment because of the reputation restriction, but if you feel this information is important, you can make a self-answered questions to share it here (or you can, for example, make 25 edit suggestions that are approved to earn 50 reputation)

          – Zanna
          6 hours ago







          What method? This seems to be intended as a comment on another answer. Here, answers are expected to provide a solution to the question, so we delete posts like this one. I know you are not able to comment at the moment because of the reputation restriction, but if you feel this information is important, you can make a self-answered questions to share it here (or you can, for example, make 25 edit suggestions that are approved to earn 50 reputation)

          – Zanna
          6 hours ago




















          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%2f366813%2fdisable-second-non-existent-screen-from-command-line%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