Monday, April 29, 2024
41
rated 0 times [  41] [ 0]  / answers: 1 / hits: 46981  / 1 Year ago, tue, january 31, 2023, 1:21:21

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?


More From » multiple-monitors

 Answers
7

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.


[#28708] Wednesday, February 1, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
darpose

Total Points: 424
Total Questions: 99
Total Answers: 121

Location: Jersey
Member since Fri, Oct 1, 2021
3 Years ago
darpose questions
Sun, Jan 23, 22, 04:32, 2 Years ago
Tue, Apr 25, 23, 23:44, 1 Year ago
Wed, Dec 15, 21, 14:42, 2 Years ago
Wed, Jun 2, 21, 23:41, 3 Years ago
;