国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Ubuntu > 正文

修改VMware下Ubuntu界面分辨率過高問題

2024-07-26 00:37:29
字體:
來源:轉載
供稿:網友

在虛擬機中安裝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 24EndSection

被修改為:

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 untouchedDepth 4Modes "640x480"ViewPort 0 0EndSubsectionSubsection "Display"Depth 8Modes "1024x768"ViewPort 0 0EndSubsectionSubsection "Display"Depth 15Modes "1024x768"ViewPort 0 0EndSubsectionSubsection "Display"Depth 16Modes "1024x768"ViewPort 0 0EndSubsectionSubsection "Display"Depth 24Modes "1024x768"ViewPort 0 0EndSubsectionEndSection

在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"保存,重啟后即可。


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 德清县| 绥中县| 南昌市| 中超| 武功县| 梧州市| 永定县| 县级市| 如东县| 砚山县| 牙克石市| 小金县| 柯坪县| 屯门区| 布尔津县| 四平市| 明星| 临邑县| 启东市| 防城港市| 万盛区| 日照市| 化德县| 渝中区| 镇安县| 汶上县| 洛宁县| 罗江县| 岳阳市| 天津市| 轮台县| 清河县| 册亨县| 白玉县| 海阳市| 大化| 肃宁县| 马鞍山市| 曲水县| 耿马| 永年县|