デュアルディスプレイ設定

iMACを買って17インチのディスプレイが使われなくなったので、ノートにデュアルとして設定。
X40の小さな画面ひとつと比べると作業効率が全然違います。ワークスペース切替えではけっこう苦しい。。

設定はもろにこちらを参考にしました。
http://d.hatena.ne.jp/higepon/20060822/1156229563
http://d.hatena.ne.jp/higepon/20060823/1156346473


一応、/etc/X11/xorg.confを晒しておきます。
ThinkPad X40 に I-O DATA の LCD-AD174GW です。

# /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/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"jp106"
	Option		"XkbLayout"	"jp"
	Option		"XkbVariant"	"jp106"
	Option		"XkbOptions"	"jp"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"Intel0"
	Driver		"i810"
	Option		"VBERestore" "yes"
	Option		"MonitorLayout" "CRT,LFP"
	BusID		"PCI:0:2:0"
	Option		"AGPMode" "4"
	Screen		0
EndSection

Section "Device"
	Identifier	"Intel1"
	Driver		"i810"
	Option		"VBERestore" "no"
	Option		"MonitorLayout" "CRT,LFP"
	Option		"DevicePresence"	"yes"
	BusID		"PCI:0:2:0"
	Option		"AGPMode" "4"
	Screen		1
EndSection

Section "Monitor"
	Identifier	"LCD"
	HorizSync	28-49
	VertRefresh	43-72
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"External Monitor"
	HorizSync	60-75
	VertRefresh	64-80
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"LCD"
	Device		"intel0"
	Monitor		"LCD"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"VGA"
	Device		"Intel1"
	Monitor		"External Monitor"
	DefaultDepth	16
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		0 "LCD"
	Screen		1 "VGA" RightOf "LCD"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
	Option		"Xinerama" "true"
EndSection

Section "DRI"
	Mode	0666
EndSection

まだ完全に動きが読めてないんだけど、
ディスプレイコネクタを繋いだまま起動すると、接続先のモニターでブート表示されてしまいx起動が失敗する。
ひげぽんさんも言ってるけどコネクタ繋いでいないとあっち側にgターミナルが立ち上がる。
ノートを閉じて開いた時にノート側のモニターが表示されない。サスペンド関係かな。。
いくつか問題はあるけど、デュアルディスプレイにしてかなり作業しやすくなりました。