2011年7月19日星期二

[Linux] VirtualBox里debian的分辨率修改

之前使用VirtualBox安装debian,发现没有办法改分辨率,很难受。
经过查找,找到了x-windows修改分辨率的方法: 

使用gtf 1280 800 60得到要修改的代码,修改/etc/X11/xorg.conf如下: 

Section "Monitor" 
Identifier "Configured Monitor"
Option "DPMS"
Modeline "1280x800_60.00" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
EndSection
 

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
SubSection   "Display"
Modes "1280x1024_60.00" "1024x768_60.00"
EndSubSection
EndSection