使用者工具

網站工具


linux:xwindow

這是本文件的舊版!


雙螢幕(延伸桌面)

雙螢幕有兩種

  1. dual screen
  2. twinview

TwinView

如果使用 Nvidia 的卡,可以在雙螢幕下啟動3d加速以及不同的解析度,但加速只有 primary screen才有。

NVIDIA Accelerated Linux Driver Set README and Installation Guide

http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/index.html

I. Installation Instructions
  3. Configuring X for the NVIDIA Driver
    Editing the configuration file by hand
III. Appendices
  G. Configuring TwinView
  P. Configuring Multiple X Screens on One Card

Ubuntu Dual Monitors TwinView HowTo

nVidia TwinView

HOWTO Dual Monitors

HOWTO nVidia TwinView

xorg.conf

MetaModes 為兩個螢幕的解析度,可以有多組設定值。

Option "MetaModes" "<mode name 0>, <mode name 1>; <mode name 2>, <mode name 3>"
Option "MetaModes" "1024x768, 1280x1024"

若後面再接一個小老鼠的桌面解析度「Panning Domain」,當 Panning Domain 大於螢幕解析度時仍可正常顯示,空間不足無法顯示的部份,當滑鼠移動過去時,視窗會跟著移動。

Option "MetaModes" "1024x768 @1024x1024, 1280x1024"    # 第一個螢幕的桌面解析度為 1024x1024
Section "Device"
    Option         "NoLogo" "True"
    Identifier     "NVIDIA Corporation NV36.2 [GeForce FX 5700]"
    Driver         "nvidia"
    BusID          "AGP:1:0:0"
    Option         "ConnectedMonitor" "DFP-0, CRT-0"    # 想要使用哪些輸出
    Option         "TwinView" "true"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"    # 以哪個輸出為主(工具列所在)
    Option         "MetaModes" "1024x768 @1024x1024, 1280x1024"
    Option         "TwinViewOrientation" "CRT-0 LeftOf DFP-0"    # 螢幕的相對位置
    Option         "SecondMonitorHorizSync" "28.0 - 64.0"
    Option         "SecondMonitorVertRefresh" "43.0 - 60.0"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV36.2 [GeForce FX 5700]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option         "UseDisplayDevice" "DFP-0, CRT-0"
    Option         "UseEdidFreqs" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024"
    EndSubSection
EndSection

Clone Monitor

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "UseEdidFreqs" "true"
Option "RenderAccel" "false"
Option "TwinView"
Option "NoTwinViewXineramaInfo" "true"
Option "MetaModes" "1280x1024,1280x1024"
Option "TwinViewOrientation" "Clone"
Option "ConnectedMonitor" "DFP,CRT"
EndSection

IBM X60

外接螢幕或投影機

Section “Device”
Identifier “Intel Corporation 82852/855GM Integrated Graphics Device”
Driver “i810″
Option “MonitorLayout” “CRT,LFP”
Option “Clone” “true”
BusID “PCI:0:2:0″
EndSection 

Xinerama

新增字型

將字型檔放在

/usr/share/fonts/turetype

然後執行

# fc-cache -v -f
linux/xwindow.1179161598.txt.gz · 上一次變更: 2008/05/25 15:09 (外部編輯)