2009年2月13日 星期五

變更ubuntu 8.10 解析度

在thinkpad i series 1171-9xt 上安裝完ubuntu 8.10後,
解析度只有 800 x 600,
在【系統】==> 【偏好設定】==> 【螢幕解析度】這設定裡,
螢幕的解析度居然只有 800 x 600 以下可供選擇,
經google 一下,找到了解決方案

修改 /etc/X11/xorg.conf :
在終端機下輸入

gksudo gedit et/X11/xorg.conf

在跳出的密碼尋問視窗輸入root密碼


編輯 xorg.conf 的內容 :

將 xorg.conf 的內容全數刪除,
更改為以下內容後,儲存並重開機 ,即有 1024 x 768 的解析度可選擇


Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection

Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 150.0
VertRefresh 75-85
EndSection

Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024×768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152×864", "1280×1024", "1600×1200", and "1800×1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1024×768" "800×600" "640×480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024×768" "800×600" "640×480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024×768" "800×600" "640×480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024×768" "800×600" "640×480"
EndSubsection

EndSection

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

EndSection

沒有留言:

張貼留言