1. 用 window 的 powerstrip 抓出正確的 modeline
http://0rz.tw/3aqjy
記得要調正確的解析度。
powerstrip 是國產軟體,綜看 windows 和 linux,
好像沒有其它程式有類似的功能。
要好好謝謝作者。
2. 在終端機 (Terminal)內用 xrandr 找正確的接口名稱,
不同的顯示卡驅動程式有不同的名稱。
$xrandr
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 2048 x 1152
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1400x1050 60.2*+
1280x800 60.0
1280x768 60.0
1024x768 60.0 75.0
800x600 60.3
640x480 59.9
S-video disconnected (normal left inverted right x axis y axis)
以上例而言就是 LVDS (筆電螢幕) 和 DVI-0 (或 VGA-0) (外接)
3. 設定 root 的密碼
$sudo passwd root
4. 參考下面的附檔修改 xorg.conf
$sudo gedit /etc/X11/xorg.conf
(X11 的 X 要大寫)
有幾行要改
4.1 Virtual 2624 1200
我外接是 1600x1200,筆電是 1024x768
螢幕左右放置,所以 Virtual Display 的寬度是 1600+1024 = 2624,
高度是 1200
4.2 Section "Device"
如果你原來的 xorg.conf 的這部份有其它設定,
記得要保留下來只改下面兩行。
Option "Monitor-LVDS" "T42"
Option "Monitor-DVI-0" "2007FP"
把 LVDS 和 DVI-0 改成上面用 xrandr 找到的接口名稱,
T42 和 2007FP 可以改你喜歡的名稱。
4.3 Section "Monitor" (兩個都要改)
4.3.1 Identifier 的名稱要和 4.2 內改的一樣
4.3.2 Modeline 用 powerstrip 找出的參數
4.3.3 "PreferredMode" 要對上 Modeline
4.3.4 Option "RightOf" "2007FP"
看你螢幕的擺法
下面是我的 xorg.conf。
希望我花了一個月時間 RTFM 和看了不知多少的網頁總結出來的心得對你有幫助。
結論:RTFM 根本沒用,Manual 寫的不知是多久以前的東西。
================== xorg.conf =====================
Section "Screen"
Identifier "Configured Screen Device"
Device "Configured Video Device"
SubSection "Display"
Virtual 2624 1200
EndSubSection
EndSection
Section "Device"
Identifier "Configured Video Device"
Option "Monitor-LVDS" "T42"
Option "Monitor-DVI-0" "2007FP"
EndSection
Section "Monitor"
Identifier "2007FP"
Modeline "1600x1200_60.00" 139.800 1600 1640 1672 1864 1200 1201 1204 1250 +hsync +vsync
Option "dpms"
Option "PreferredMode" "1600x1200_60.00"
EndSection
Section "Monitor"
Identifier "T42"
Option "RightOf" "2007FP"
EndSection
--
http://0rz.tw/3aqjy
記得要調正確的解析度。
powerstrip 是國產軟體,綜看 windows 和 linux,
好像沒有其它程式有類似的功能。
要好好謝謝作者。
2. 在終端機 (Terminal)內用 xrandr 找正確的接口名稱,
不同的顯示卡驅動程式有不同的名稱。
$xrandr
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 2048 x 1152
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1400x1050 60.2*+
1280x800 60.0
1280x768 60.0
1024x768 60.0 75.0
800x600 60.3
640x480 59.9
S-video disconnected (normal left inverted right x axis y axis)
以上例而言就是 LVDS (筆電螢幕) 和 DVI-0 (或 VGA-0) (外接)
3. 設定 root 的密碼
$sudo passwd root
4. 參考下面的附檔修改 xorg.conf
$sudo gedit /etc/X11/xorg.conf
(X11 的 X 要大寫)
有幾行要改
4.1 Virtual 2624 1200
我外接是 1600x1200,筆電是 1024x768
螢幕左右放置,所以 Virtual Display 的寬度是 1600+1024 = 2624,
高度是 1200
4.2 Section "Device"
如果你原來的 xorg.conf 的這部份有其它設定,
記得要保留下來只改下面兩行。
Option "Monitor-LVDS" "T42"
Option "Monitor-DVI-0" "2007FP"
把 LVDS 和 DVI-0 改成上面用 xrandr 找到的接口名稱,
T42 和 2007FP 可以改你喜歡的名稱。
4.3 Section "Monitor" (兩個都要改)
4.3.1 Identifier 的名稱要和 4.2 內改的一樣
4.3.2 Modeline 用 powerstrip 找出的參數
4.3.3 "PreferredMode" 要對上 Modeline
4.3.4 Option "RightOf" "2007FP"
看你螢幕的擺法
下面是我的 xorg.conf。
希望我花了一個月時間 RTFM 和看了不知多少的網頁總結出來的心得對你有幫助。
結論:RTFM 根本沒用,Manual 寫的不知是多久以前的東西。
================== xorg.conf =====================
Section "Screen"
Identifier "Configured Screen Device"
Device "Configured Video Device"
SubSection "Display"
Virtual 2624 1200
EndSubSection
EndSection
Section "Device"
Identifier "Configured Video Device"
Option "Monitor-LVDS" "T42"
Option "Monitor-DVI-0" "2007FP"
EndSection
Section "Monitor"
Identifier "2007FP"
Modeline "1600x1200_60.00" 139.800 1600 1640 1672 1864 1200 1201 1204 1250 +hsync +vsync
Option "dpms"
Option "PreferredMode" "1600x1200_60.00"
EndSection
Section "Monitor"
Identifier "T42"
Option "RightOf" "2007FP"
EndSection
--
All Comments