linux mint 18 virtual machine to set the resolution of 1080P
- 2020-05-15 03:19:50
- OfStack
Introduction: Linux mint 18 was released, but installed under a virtual machine and found no 1080p resolution option, may be the reason for the 4.4 kernel? Search 1 solution, self - test available, record 1.
1. Create an shell script as follows:
#!/bin/sh
cvt 1920 1080
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 "1920x1080_60.00"
xrandr --output Virtual1 --mode "1920x1080_60.00"
#xrandr -s "1920x1080_60.00"
2. Save the name resize_display.sh
3. Set the script to boot