在 lubuntu 下, 自定解析度方式

摘要:在 lubuntu 下, 自定解析度方式

a. create new modeline
	1. login in graphic mode
	2. open terminal
	3. cvt 1440 900 60
		#1440x900 59.89 Hz(CVT 1.30MA) hsync:55.93 kHz; pclk: 106.50 MHz
		Modeline "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
	4. sudo xrandr --newmode "1440x900" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
	5. sudo xrandr --addmode VBOX0 "1440x900"

b. menu -> Preferences -> Monitor Settings
	change to "1440x900" mode
	
c. create xorg.conf
	1. ctrl+alt+f1
		change to text mode and login
	2. sudo service lightdm stop
		stop xwindow service
	3. sudo Xorg -configure
		create xorg.conf.new
	4. sudo mv xorg.conf.new /etc/X11/xorg.conf
		move config file to /etc/X11 folder
	5. sudo nano xorg.conf
		edit xorg.conf
	========
	Section "Screen"
			Identifier "Screen0"
			Device     "Card0"
			Monitor    "Monitor0"
			DefaultDepth 24
			SubSection "Display"
					Viewport  0 0
					Depth     24
					Modes     "1440x900"
			EndSubSection
	========	
*** should be able in 1440x900 mode, if not, maybe need to do these
Section "Monitor"
    Identifier      "External DVI"
    Modeline        "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -Hsync +Vsync
    Option          "PreferredMode" "1440x900_60.00"
EndSection
Section "Device"
    Identifier      "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
    Driver          "ati"
    Option          "Monitor-DVI-0" "External DVI"
EndSection
Section "Screen"
    Identifier      "Primary Screen"
    Device          "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
    DefaultDepth    24
    SubSection "Display"
        Depth           24
        Modes   "1440x900" "1024x768" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Primary Screen"
EndSection

 

ctrl + alt + F7, back to graphic