ubuntu18.04 配置1920 1080

添加 /etc/X11/xorg.conf 文件,将此模式保存为默认分辨率。

1、$ sudo vim /etc/X11/xorg.conf

(如果没有安装vim,可以使用“sudo gedit /etc/X11/xorg.conf”)

粘贴以下内容:

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

2、保存。重启后就变成1920x1080了。

ps:我的系统是18.04的,默认没有xorg.conf文件。但是没关系,将上述内容保存为xorg.conf文件就行了。
posted @ 2024-01-30 10:29  烧刘病  阅读(24)  评论(0编辑  收藏  举报
回到页首