当前位置:首页 >> 电脑使用指南 >> 操作系统应用心得 >> 其它操作系统 >>
修改VMware下Ubuntu界面分辨率过高问题来源:赛迪网 作者:sixth 编辑:帝国战猪 日期:03-12 点击次数: VMWare 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),需要注意的是:这几组中的分辨率应该为你要改成的分辨率,只是其颜色深度不同而已;修改完成后保存,然后重启即可。 |