Ubuntu登录界面分辨率太高怎么办?

时间:2023-03-14 11:35:58 

最近有用户反映,在虚拟机中安装Ubuntu系统后发现登录界面的分辨率很高,这使得每次登录时还要拖动页面来输入登录名和密码,给操作带来不便。有些用户也去修改了屏幕分辨率,但是问题并未得到解决。那么,Ubuntu登录界面分辨率太高该怎么办呢?

Ubuntu登录界面分辨率太高怎么办?

在/ect/X11/下,发现多了一个xorg.conf.BeforeVMwareToolsInstall文件,看来是由于安装VMwareTools修改了配置文件。于是进行对照,发现原来的

Section “Screen”

Identifier “Default Screen”

Device “VMware Inc [VMware SVGA II] PCI Display Adapter”

Monitor “Generic Monitor”

DefaultDepth 24

EndSection

被修改为:

Section “Screen”

Identifier “Default Screen”

Device “VMware SVGA”

Monitor “VMware”

# Don‘t specify DefaultColorDepth unless you know what you’re

# doing. It will override the driver‘s preferences which can

# cause the X server not to run if the host doesn’t support the

# depth.

Subsection “Display”

# VGA mode: better left untouched

Depth 4

Modes “640x480”

ViewPort 0 0

EndSubsection

Subsection “Display”

Depth 8

Modes “1024x768”

ViewPort 0 0

EndSubsection

Subsection “Display”

Depth 15

Modes “1024x768”

ViewPort 0 0

EndSubsection

Subsection “Display”

Depth 16

Modes “1024x768”

ViewPort 0 0

EndSubsection

Subsection “Display”

Depth 24

Modes “1024x768”

ViewPort 0 0

EndSubsection

EndSection

在Section “Screen”中多了几个子段Subsection “Display”,这几个子段中列举出了几组分辨率和颜色深度,忽然明白,其实也可以自己进行修改/etc/X11/xorg.conf文件,修改方法:去掉原来的默认的颜色深度,增加几组子段Subsection “Display”,在子段中,列举出相应的Modes模式(也就是分辨率),Depth颜色深度,以及ViewPort(应该是视图顶点,为0 0),需要注意的是:这几组中的分辨率应该为你要改成的分辨率,只是其颜色深度不同而已;修改完成后保存,然后重启即可。

另外,安装完VMwareTools后,鼠标的滚轮突然不能使用,原来配置文件中关于鼠标的配置也被修改:

Section “InputDevice”

Identifier “Configured Mouse”

Driver “mouse”

Option “CorePointer”

Option “Device” “/dev/input/mice”

Option “Protocol” “ps/2” #此处原来为“ImPS/2”

Option “ZAxisMapping” “4 5”

Option “Emulate3Buttons” “true”

EndSection

将“ps/2”改为“ImPS/2”保存,重启后即可。

标签:Ubuntu,登录界面,分辨率太高
0
投稿

猜你喜欢

  • Win10总是自动安装软件怎么办?Win10防止电脑乱下软件解决方法

    2022-03-29 11:32:09
  • 优酷怎么去广告

    2023-06-28 03:41:49
  • ​MP3TAG如何开启库功能

    2023-06-17 23:53:51
  • Word文档中如何快速定位到指定页码的位置

    2023-07-25 00:27:27
  • 电脑软件无法卸载怎么办?

    2023-06-01 14:06:55
  • 在word文档中怎么制作星期表格?

    2023-08-02 11:27:01
  • Win10如何内录

    2022-05-09 22:36:34
  • 计算机硬件的主要技术指标是什么

    2023-02-06 16:55:30
  • Win7系统玩cf怎么截图?

    2022-10-11 19:16:10
  • 联想ThinkPad X13 2021笔记本重装win11系统教程

    2023-01-19 13:27:27
  • EXCEL更改垂直轴的数据怎么改?

    2023-09-21 07:40:18
  • MAC如何关闭Finder文件预览

    2022-08-20 19:57:20
  • 在Mac电脑中轻松打开终端程序的快捷方法

    2023-03-28 11:26:29
  • Vscode向上拆分窗口的方法教程

    2023-09-21 23:14:38
  • Win10系统打不开计算器calc.exe怎么办?

    2022-07-02 04:02:44
  • Win10系统hyper-v虚拟机如何关闭?这三种方法麻烦

    2023-05-28 02:16:09
  • Win7系统在创建文件时提示“错误0×80070522”怎么破?

    2022-08-09 20:05:20
  • Calibre免费开源的一站式电子书转换工具

    2023-10-24 19:38:32
  • word设置左侧的索引目录的方法

    2022-07-09 06:38:37
  • 微软<Build 2017>特性曝光 Win10 RS3全场关注

    2022-08-17 09:56:20
  • asp之家 电脑教程 m.aspxhome.com