ubuntu 6.10 Edgy Eft でマルチディスプレイというかデュアルディスプレイ
Windows : Linux の私の自宅での利用比率を大きく変化させたubuntuでありましたが...
Windowsで3画面のマルチディスプレイを使用していたので1画面だけのubuntuが窮屈でどちらも使える場合はWindowsを使って作業することが多い状況です。
そこで、Linux は簡単にマルチディスプレイできないのかと調べたところ、比較的簡単に出来たのでメモ!
参考にさせてもらったリソースは、
Using Xinerama to MultiHead XFree86 V. 4.0+
Xinerama - Wikipedia, the free encyclopedia
NVIDIA Accelerated Linux Driver Set README and Installation Guide
マシン構成は、
- ビデオカード:NVIDIA Quadro NVS 280 AGP 数年前3000円位で購入。
- モニター :LG L1715SQ 昨年2万円強で2台購入。
- 本体 :Pentium4 2.4GHz 1.5GBメモリ のショップブランドPC。
です。(ビデオカードやモニタの価格の安さに感謝!)
設定後の /etc/X11/xorg.conf はこんな感じです。
でも、Berylが使えなくなった!この件は次に時間があるときに...
# /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section "Files" FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/cyrillic" FontPath "/usr/share/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/X11/fonts/Type1" FontPath "/usr/share/X11/fonts/100dpi" FontPath "/usr/share/X11/fonts/75dpi" FontPath "/usr/share/fonts/X11/misc" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" #Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "jp106" Option "XkbLayout" "jp,jp" Option "XkbOptions" "grp:alt_shift_toggle,lv3:ralt_switch,grp_led:scroll" Option "XkbVariant" "latin," EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "Device" Identifier "NVIDIA Corporation NV18GL [Quadro4 NVS AGP 8x]-0" Driver "nvidia" BusID "PCI:1:0:0" Option "AddARGBGLXVisuals""True" Screen 0 EndSection Section "Device" Identifier "NVIDIA Corporation NV18GL [Quadro4 NVS AGP 8x]-1" Driver "nvidia" BusID "PCI:1:0:0" Option "AddARGBGLXVisuals""True" Screen 1 EndSection Section "Monitor" Identifier "L1751SQ-0" Option "DPMS" EndSection Section "Monitor" Identifier "L1751SQ-1" Option "DPMS" EndSection Section "Screen" Identifier "Screen0" Device "NVIDIA Corporation NV18GL [Quadro4 NVS AGP 8x]-0" Monitor "L1751SQ-0" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "NVIDIA Corporation NV18GL [Quadro4 NVS AGP 8x]-1" Monitor "L1751SQ-1" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" Option "xinerama" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection Section "DRI" Mode 0666 EndSection Section "Extensions" Option "Composite""Enable" EndSection