Created
July 13, 2019 03:49
-
-
Save ImaginativeShohag/91a935e9a962811ddbdfbba3e3d95738 to your computer and use it in GitHub Desktop.
Ubuntu: Change monitor resolution of Unknown Display
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xrandr --newmode $(cvt 1920 1080 60 | grep Mode | sed -e 's/.*"/1920x1080/') 2> /dev/null | |
xrandr --addmode VGA-1 1920x1080 | |
xrandr --output VGA-1 --mode 1920x1080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment