Disable second, non-existent screen from command line
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
add a comment |
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
add a comment |
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
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
multiple-monitors vga
edited Nov 4 '13 at 20:14
qbi
15k863118
15k863118
asked Oct 27 '13 at 17:21
N. McA.N. McA.
88117
88117
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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,VGA2and 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.
could you please expand on which run on startup is best for this. Also, I sometimes face a problem after runningxrandr --auto && xrandr --output VGA2 --offwhere my lockscreen background is blank. my version- 14.04 Ubuntu GNOME
– rahulroy9202
Apr 28 '15 at 12:17
add a comment |
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.
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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,VGA2and 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.
could you please expand on which run on startup is best for this. Also, I sometimes face a problem after runningxrandr --auto && xrandr --output VGA2 --offwhere my lockscreen background is blank. my version- 14.04 Ubuntu GNOME
– rahulroy9202
Apr 28 '15 at 12:17
add a comment |
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,VGA2and 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.
could you please expand on which run on startup is best for this. Also, I sometimes face a problem after runningxrandr --auto && xrandr --output VGA2 --offwhere my lockscreen background is blank. my version- 14.04 Ubuntu GNOME
– rahulroy9202
Apr 28 '15 at 12:17
add a comment |
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,VGA2and 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.
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,VGA2and 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.
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 runningxrandr --auto && xrandr --output VGA2 --offwhere my lockscreen background is blank. my version- 14.04 Ubuntu GNOME
– rahulroy9202
Apr 28 '15 at 12:17
add a comment |
could you please expand on which run on startup is best for this. Also, I sometimes face a problem after runningxrandr --auto && xrandr --output VGA2 --offwhere 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
add a comment |
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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