无法设置分辨率

在这里插入图片描述

解决方法

方法一:(临时性,重启会失效)

使用xrandr命令调节分辨率,带*号的为当前分辨率,如下:

在这里插入图片描述

改变分辨率用,xrandr -s 1360x768_60.02

此方法为临时更改,重启Ubuntu后会失效

在这里插入图片描述

方法二:(永久性,重启也不失效):

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

sudo vim /etc/X11/xorg.conf

如果出现以下情况,就说明没有安装vim,可以输入命令:

sudo gedit /etc/X11/xorg.conf

在这里插入图片描述

将下面内容粘贴进去

Section "Monitor"
Identifier "Configured Monitor"
Modeline "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +
vsync
Option "PreferredMode" "1360x768_60.00"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection

如下:
在这里插入图片描述

最后保存,重启Ubuntu即可

可提供远程搭建运行服务

不会调试运行的同学,你只需打开远程,会帮你搭建调试好一切(JDK、Idea/Eclipse、MySQL、Tomcat、Maven………)
在这里插入图片描述

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐