网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 操作系统 > Linux
本月文章推荐
.如何在Linux操作系统下更改文件使.
.如何配置linux与win2000/NT 双重.
.搭建基于Linux桌面环境的影音平台.
.学习busybox基本配置安装.
.将VC程序移植到Linux系统的几点经.
.红帽2008年第四季度财报及2008财.
.RedHat Linux操作系统配置技巧.
.在Linux桌面环境下运行Photoshop.
.Jaz-drive HOWTO -- 1. 导言.
.在Linux下发布程序需要注意版本的.
.用SecureCRT上传和下载Linux服务.
.Linux应用软件谈之远程桌面控制篇.
.Linux管理员手册(2)--目录树概述.
.Fedora和XP双系统中网卡Realtek冲.
.Linux终端模式下查看电脑的硬件配.
.Linux系统下如何破解PHP加密deze.
.Linux 常用命令(磁盘管理).
.在Linux系统下优化Oracle具体步骤.
.Linux 网管 123 --- 第5章. 组态.
.Ubuntu Linux携手诺基亚启动ARM移.

修改VMware下Ubuntu界面分辨率过高问题

发表日期:2008-3-12


在虚拟机中安装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下添加程序链接至菜单项的做法 人气:1208
下一篇:Ubuntu下NVIDIA驱动安装及3D桌面的设置 人气:3233
浏览全部Ubuntu的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐