美文网首页
Ubuntu 18.04 Virtual Box设置分辨率192

Ubuntu 18.04 Virtual Box设置分辨率192

作者: 测绘男的杂货铺 | 来源:发表于2020-06-11 20:15 被阅读0次

由于Ubuntu 18.04版本的屏幕分辨率没有1920 * 1080,所以需要自己配置一下。

首先在终端中输入sudo apt install vim安装vim
然后输入 sudo vim /etc/X11/xorg.conf,编辑文件
按i进入编辑
接着在弹出来的终端中输入下面的内容,编辑完后按ESC,在输入 :wq(冒号+wq) 保存并退出:

Section "Monitor"

Identifier "Configured Monitor"

Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

Option "PreferredMode" "1920x1080_60.00"

EndSection

Section "Screen"

Identifier "Default Screen"

Monitor "Configured Monitor"

Device "Configured Video Device"

EndSection

Section "Device"

Identifier "Configured Video Device"

EndSection

————————————————
版权声明:本文为CSDN博主「LSUNQQ」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/LSUNQQ/article/details/100166540

相关文章

网友评论

      本文标题:Ubuntu 18.04 Virtual Box设置分辨率192

      本文链接:https://www.haomeiwen.com/subject/yrjptktx.html